MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / isActive

Function isActive

src/fvOptions/cellSetOption/cellSetOption.C:218–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
217
218bool Foam::fv::cellSetOption::isActive()
219{
220 if (option::isActive() && inTimeLimits(mesh_.time().value()))
221 {
222 // Update the cell set if the mesh is changing
223 if (mesh_.changing())
224 {
225 setCellSet();
226 }
227
228 return true;
229 }
230 else
231 {
232 return false;
233 }
234}
235
236
237// ************************************************************************* //

Callers

nothing calls this directly

Calls 4

setCellSetFunction · 0.85
timeMethod · 0.80
changingMethod · 0.80
valueMethod · 0.45

Tested by

no test coverage detected