| 877 | } // preprocessIntegrateHierarchy |
| 878 | |
| 879 | void |
| 880 | AdvDiffHierarchyIntegrator::registerResetFunction(Pointer<CellVariable<NDIM, double>> Q_var, |
| 881 | ResetPropertiesFcnPtr callback, |
| 882 | void* ctx) |
| 883 | { |
| 884 | #if !defined(NDEBUG) |
| 885 | TBOX_ASSERT(std::find(d_Q_var.begin(), d_Q_var.end(), Q_var) != d_Q_var.end()); |
| 886 | #endif |
| 887 | d_Q_reset_fcns[Q_var].push_back(callback); |
| 888 | d_Q_reset_fcns_ctx[Q_var].push_back(ctx); |
| 889 | return; |
| 890 | } // registerResetFunction |
| 891 | |
| 892 | void |
| 893 | AdvDiffHierarchyIntegrator::setResetPriority(Pointer<CellVariable<NDIM, double>> Q_var, int reset_priority) |