|
template<typename A0 , typename A1 , typename A2 , typename A3 , typename A4 > |
MoFEMErrorCode | operator() (A0 dofs_ptr, A1 array, A2 miit, A3 hi_miit, A4 &cpy_bit_number) |
|
template<int MODE>
struct MoFEM::SetOtherGlobalGhostVector< MODE >
Definition at line 519 of file VecManager.cpp.
◆ operator()()
template<int MODE>
template<typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Definition at line 521 of file VecManager.cpp.
524 for (; miit != hi_miit; miit++) {
527 cpy_bit_number, (*miit)->getEnt()));
528 auto diiiit = dofs_ptr->template get<Unique_mi_tag>().find(uid);
530 if (diiiit == dofs_ptr->template get<Unique_mi_tag>().end()) {
532 "Automatic creation of entity and dof not implemented");
535 if constexpr (MODE == INSERT_VALUES)
536 (*diiiit)->getFieldData() = array[(*miit)->getPetscGlobalDofIdx()];
537 else if constexpr (MODE == ADD_VALUES)
538 (*diiiit)->getFieldData() += array[(*miit)->getPetscGlobalDofIdx()];
The documentation for this struct was generated from the following file: