Go to the documentation of this file.
45 cellSizeAndAlignmentControl,
58 Foam::fileControl::fileControl
62 const dictionary& controlFunctionDict,
63 const conformationSurfaces& geometryToConformTo,
64 const scalar& defaultCellSize
67 cellSizeAndAlignmentControl
75 pointsFile_(controlFunctionDict.get<fileName>(
"pointsFile")),
76 sizesFile_(controlFunctionDict.get<fileName>(
"sizesFile")),
77 alignmentsFile_(controlFunctionDict.get<fileName>(
"alignmentsFile")),
78 maxPriority_(controlFunctionDict.get<label>(
"priority"))
81 <<
indent <<
" priority : " << maxPriority_ <<
nl
82 <<
indent <<
" points : " << pointsFile_ <<
nl
83 <<
indent <<
" sizes : " << sizesFile_ <<
nl
84 <<
indent <<
" alignments : " << alignmentsFile_
166 DynamicList<Foam::point>& pts,
167 DynamicList<scalar>& sizes
181 Info<<
" Reading points from file : " << pointsFile_ <<
endl;
196 pts.transfer(pointsTmp);
198 Info<<
" Reading sizes from file : " << sizesFile_ <<
endl;
213 sizes.transfer(sizesTmp);
215 Info<<
" Reading alignments from file : " << alignmentsFile_ <<
endl;
230 alignments.transfer(alignmentsTmp);
232 if ((pts.size() != sizes.size()) || (pts.size() != alignments.size()))
235 <<
"Size of list of points, sizes and alignments do not match:"
237 <<
"Points size = " << pts.size() <<
nl
238 <<
"Sizes size = " << sizes.size() <<
nl
239 <<
"Alignments size = " << alignments.size()
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
vectorField pointField
pointField is a vectorField.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
IOField< scalar > scalarIOField
scalarField with IO.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Field< triad > triadField
Specialisation of Field<T> for triad.
virtual void cellSizeFunctionVertices(DynamicList< Foam::point > &pts, DynamicList< scalar > &sizes) const
vectorIOField pointIOField
pointIOField is a vectorIOField.
virtual void initialVertices(pointField &pts, scalarField &sizes, triadField &alignments) const
messageStream Info
Information stream (uses stdout - output is on the master only)
word name(const complex &c)
Return string representation of complex.
Macros for easy insertion into run-time selection tables.
errorManip< error > abort(error &err)
Ostream & indent(Ostream &os)
Indent stream.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
defineTypeNameAndDebug(combustionModel, 0)
IOField< triad > triadIOField
triadField with IO.