47 #ifndef Foam_geomDecomp_H 48 #define Foam_geomDecomp_H 64 public decompositionMethod
73 coordSystem::cartesian csys_;
119 const word& derivedType,
121 int select = selectionType::DEFAULT
128 const word& derivedType,
131 int select = selectionType::DEFAULT
138 virtual bool geometric()
const {
return true; }
A list of keyword definitions, which are a keyword followed by a number of values (eg...
List< bool > select(const label n, const labelUList &locations)
Construct a selection list of bools (all false) with the given pre-size, subsequently add specified l...
Vector< label > n_
The divisions.
Vector< direction > order_
Decomposition order in terms of components (optional)
void checkDecompositionDirections(const Vector< label > &) const
Check that mesh directions are compatible with decomposition.
A class for handling words, derived from Foam::string.
virtual labelList decompose(const pointField &points, const scalarField &pointWeights=scalarField::null()) const =0
Return for every coordinate the wanted processor number.
tmp< pointField > adjustPoints(const pointField &) const
Apply delta (jitter) or rotation to coordinates.
Foam::word regionName(args.getOrDefault< word >("region", Foam::polyMesh::defaultRegion))
static const Field< scalar > & null()
Return nullObject reference Field.
virtual bool geometric() const
Purely geometric methods.
geomDecomp(const Vector< label > &divisions)
Construct with number of x/y/z division (no coefficients or constraints)
const dictionary & coeffsDict_
Coefficients for all derived methods.
A class for managing temporary objects.