| 458 | } // setDiffusionCoefficient |
| 459 | |
| 460 | double |
| 461 | AdvDiffHierarchyIntegrator::getDiffusionCoefficient(Pointer<CellVariable<NDIM, double>> Q_var) const |
| 462 | { |
| 463 | #if !defined(NDEBUG) |
| 464 | TBOX_ASSERT(std::find(d_Q_var.begin(), d_Q_var.end(), Q_var) != d_Q_var.end()); |
| 465 | #endif |
| 466 | return d_Q_diffusion_coef.find(Q_var)->second; |
| 467 | } // getDiffusionCoefficient |
| 468 | |
| 469 | void |
| 470 | AdvDiffHierarchyIntegrator::registerDiffusionCoefficientVariable(Pointer<SideVariable<NDIM, double>> D_var) |
no test coverage detected