43 cellSizeAndAlignmentControl,
60 const dictionary& controlFunctionDict,
61 const conformationSurfaces& geometryToConformTo,
62 const scalar& defaultCellSize
65 cellSizeAndAlignmentControl
73 pointsFile_(controlFunctionDict.
lookup(
"pointsFile")),
74 sizesFile_(controlFunctionDict.
lookup(
"sizesFile")),
75 alignmentsFile_(controlFunctionDict.
lookup(
"alignmentsFile")),
76 maxPriority_(controlFunctionDict.
lookup<
label>(
"priority"))
78 Info<<
indent <<
"Loading " << name <<
" from file:" <<
nl 79 <<
indent <<
" priority : " << maxPriority_ <<
nl 80 <<
indent <<
" points : " << pointsFile_ <<
nl 81 <<
indent <<
" sizes : " << sizesFile_ <<
nl 82 <<
indent <<
" alignments : " << alignmentsFile_
170 DynamicList<Foam::point>& pts,
171 DynamicList<scalar>& sizes
185 Info<<
" Reading points from file : " << pointsFile_ <<
endl;
200 pts.transfer(pointsTmp);
202 Info<<
" Reading sizes from file : " << sizesFile_ <<
endl;
217 sizes.transfer(sizesTmp);
219 Info<<
" Reading alignments from file : " << alignmentsFile_ <<
endl;
234 alignments.transfer(alignmentsTmp);
236 if ((pts.size() != sizes.size()) || (pts.size() != alignments.size()))
239 <<
"Size of list of points, sizes and alignments do not match:" 241 <<
"Points size = " << pts.size() <<
nl 242 <<
"Sizes size = " << sizes.size() <<
nl 243 <<
"Alignments size = " << alignments.size()
FvWallInfoData< WallInfo, label > label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual void initialVertices(pointField &pts, scalarField &sizes, triadField &alignments) const
Ostream & indent(Ostream &os)
Indent stream.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
vectorIOField pointIOField
pointIOField is a vectorIOField.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual void cellSizeFunctionVertices(DynamicList< Foam::point > &pts, DynamicList< scalar > &sizes) const
Macros for easy insertion into run-time selection tables.
vectorField pointField
pointField is a vectorField.
stressControl lookup("compactNormalStress") >> compactNormalStress
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
~fileControl()
Destructor.
fileControl(const Time &runTime, const word &name, const dictionary &controlFunctionDict, const conformationSurfaces &geometryToConformTo, const scalar &defaultCellSize)
Construct from dictionary and references to conformalVoronoiMesh and.
IOField< scalar > scalarIOField
scalarField with IO.
errorManip< error > abort(error &err)
Field< triad > triadField
Specialisation of Field<T> for triad.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
word name(const complex &)
Return a string representation of a complex.
IOField< triad > triadIOField
triadField with IO.