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

Function checkFld

src/dynamicMesh/motionSmoother/motionSmootherAlgo.C:75–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73
74
75void Foam::motionSmootherAlgo::checkFld(const pointScalarField& fld)
76{
77 forAll(fld, pointi)
78 {
79 const scalar val = fld[pointi];
80
81 if ((val > -GREAT) && (val < GREAT))
82 {}
83 else
84 {
85 FatalErrorInFunction
86 << "Problem : point:" << pointi << " value:" << val
87 << abort(FatalError);
88 }
89 }
90}
91
92
93Foam::labelHashSet Foam::motionSmootherAlgo::getPoints

Callers 1

scaleMeshFunction · 0.85

Calls 2

forAllFunction · 0.50
abortFunction · 0.50

Tested by

no test coverage detected