| 946 | } // apply_gradient_detector_callback |
| 947 | |
| 948 | void |
| 949 | CFINSForcing::apply_project_tensor_callback(const double current_time, |
| 950 | const double /*new_time*/, |
| 951 | const int /*cycle_num*/, |
| 952 | void* ctx) |
| 953 | { |
| 954 | auto object = static_cast<CFINSForcing*>(ctx); |
| 955 | auto var_db = VariableDatabase<NDIM>::getDatabase(); |
| 956 | const int C_idx = var_db->mapVariableAndContextToIndex(object->getVariable(), |
| 957 | object->getAdvDiffHierarchyIntegrator()->getNewContext()); |
| 958 | object->projectTensor(C_idx, object->getVariable(), current_time, false /*initial_time*/, false /*extended_box*/); |
| 959 | return; |
| 960 | } // apply_project_tensor_callback |
| 961 | } // namespace IBAMR |
nothing calls this directly
no test coverage detected