215 inline scalar
span()
const;
218 inline scalar
span2()
const;
239 inline scalar
ppDist()
const;
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
A bounding box defined in terms of min/max extrema points.
Controls for the 2D CV mesh generator.
Switch meshedSurfaceOutput_
scalar span2() const
Return the span squared.
Switch objOutput() const
Return the objOutput Switch.
Switch insertSurfaceNearPointPairs() const
Return insertSurfaceNearPointPairs Switch.
scalar minEdgeLen2_
Square of minEdgeLen.
Switch mirrorPoints_
Mirror near-boundary points rather than insert point-pairs.
scalar minCellSize2_
Square of minCellSize.
Switch randomiseInitialGrid_
scalar maxNotchLen2_
Square of maxNotchLen.
Switch mirrorPoints() const
Return mirrorPoints Switch.
scalar span_
Maximum cartesian span of the geometry.
scalar minEdgeLen() const
Return the minEdgeLen.
~cv2DControls()=default
Destructor.
scalar span2_
Square of span.
scalar nearWallAlignedDist2() const
Return square of nearWallAlignedDist.
scalar ppDist() const
Return the ppDist.
scalar nearWallAlignedDist() const
Return number of layers to align with the nearest wall.
Switch insertSurfaceNearestPointPairs() const
Return insertSurfaceNearestPointPairs Switch.
label maxBoundaryConformingIter() const
Return the maximum number of boundary conformation iterations.
scalar minCellSize2() const
Return the square of the minimum cell size.
scalar minNearPointDist2_
Square of minNearPoint.
scalar maxNotchLen2() const
Return the maxNotchLen squared.
scalar maxNotchLen() const
Return the maxNotchLen.
label maxBoundaryConformingIter_
scalar minNearPointDist() const
Return the minNearPointDist.
scalar randomPerturbation() const
Return the random perturbation factor.
void write(Ostream &os) const
Write controls to output stream.
scalar nearWallAlignedDist2_
Square of nearWallAlignedDist.
scalar randomPerturbation_
Switch randomiseInitialGrid() const
Return the randomise initial point layout Switch.
scalar ppDist_
Distance between boundary conforming point-pairs.
scalar ppDist2_
Square of ppDist.
scalar maxQuadAngle() const
Return the maximum quadrant angle.
scalar nearWallAlignedDist_
Near-wall region where cells are aligned with the wall.
scalar minCellSize() const
Return the minimum cell size.
scalar span() const
Return the span.
cv2DControls(const dictionary &controlDict, const boundBox &bb)
scalar minNearPointDist2() const
Return the minNearPointDist squared.
Switch meshedSurfaceOutput() const
Return the meshedSurfaceOutput Switch.
scalar minEdgeLen2() const
Return the minEdgeLen squared.
Switch insertSurfaceNearestPointPairs_
Insert near-boundary point mirror or point-pairs.
Switch insertSurfaceNearPointPairs_
Insert point-pairs vor dual-cell vertices very near the surface.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
runTime controlDict().readEntry("adjustTimeStep"
OBJstream os(runTime.globalPath()/outputName)
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)