MCPcopy Create free account
hub / github.com/IBAMR/IBAMR / getDiffusionCoefficient

Method getDiffusionCoefficient

src/adv_diff/AdvDiffHierarchyIntegrator.cpp:460–467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

458} // setDiffusionCoefficient
459
460double
461AdvDiffHierarchyIntegrator::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
469void
470AdvDiffHierarchyIntegrator::registerDiffusionCoefficientVariable(Pointer<SideVariable<NDIM, double>> D_var)

Callers 1

setDataOnPatchMethod · 0.80

Calls 3

findMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected