| 138 | |
| 139 | |
| 140 | void NumberFESpace :: GetGlobalDofNrs (int gnr, Array<int> & dnums) const |
| 141 | { |
| 142 | /** If parallel, there is one global DOF shared by all ranks except rank 0. |
| 143 | If not parallel, there is also one DOF. **/ |
| 144 | if ( IsParallel() && (GetParallelDofs()->GetCommunicator().Size() > 1) && (GetParallelDofs()->GetCommunicator().Rank() == 0) ) |
| 145 | { dnums.SetSize0(); } |
| 146 | else |
| 147 | { dnums.SetSize(1); dnums[0] = 0; } |
| 148 | } |
| 149 | |
| 150 | |
| 151 | static RegisterFESpace<NumberFESpace> init ("number"); |
nothing calls this directly
no test coverage detected