Go to the documentation of this file.
55 if( omp_in_parallel() )
58 "const meshOctreeAddressing& meshOctreeAutomaticRefinement"
59 "::octreeAddressing() const"
79 if( omp_in_parallel() )
82 "const triSurfacePartitioner& meshOctreeAutomaticRefinement"
83 "::partitioner() const"
104 if( omp_in_parallel() )
107 "const triSurfaceCurvatureEstimator& "
108 "meshOctreeAutomaticRefinement::curvature() const"
121 const scalar size = rootBox.
max().
x() - rootBox.
min().
x();
148 }
while( !finished );
152 Info <<
"Requested min cell size corresponds to octree level "
169 useDATABoxes_(useDATABoxes),
170 hexRefinement_(
false),
171 octreeAddressingPtr_(NULL),
172 partitionerPtr_(NULL),
176 if( !useDATABoxes_ &&
dict.
found(
"keepCellsIntersectingBoundary") )
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
meshOctreeAddressing * octreeAddressingPtr_
meshOctreeAddressing pointer
meshOctreeAutomaticRefinement(const meshOctreeAutomaticRefinement &)
Disallow default bitwise copy construct.
const triSurfaceCurvatureEstimator & curvature() const
~meshOctreeAutomaticRefinement()
const point & max() const
Maximum describing the bounding box.
const IOdictionary & meshDict_
const reference to mesh dictionary
Template functions to aid in the implementation of demand driven data.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Ostream & endl(Ostream &os)
Add newline and flush stream.
meshOctree & octree_
reference to meshOctree
const meshOctreeAddressing & octreeAddressing() const
void createOctreeAddressing() const
calculate octree addresing
direction maxRefLevel_
maximum allowed refinement level
void createCurvatureEstimator() const
calculate curvaturePtr_
bool useDATABoxes_
use DATA boxes
void deleteDemandDrivenData(DataPtr &dataPtr)
void setMaxRefLevel()
set maxRefLevel_
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
const point & min() const
Minimum describing the bounding box.
triSurfacePartitioner * partitionerPtr_
surface partitioner pointer
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
triSurfaceCurvatureEstimator * curvaturePtr_
curvature estimator pointer
errorManip< error > abort(error &err)
const boundBox & rootBox() const
return rootBox
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
const triSurfacePartitioner & partitioner() const
A bounding box defined in terms of the points at its extremities.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
void createSurfacePartitioner() const
calculate partitionerPtr_
const triSurf & surface() const
return a reference to the surface