71 const keyType& cellZoneName = dEntry.keyword();
81 <<
"No matching cellZones: " << cellZoneName <<
nl
106 for (
const label facei :
mesh.
cells()[celli])
120 Info<<
"Applying solid body motion " << SBMFs_[zonei].type()
123 <<
" points of cellZone " << cellZoneName <<
endl;
129 SBMFs_.resize(zonei);
139 auto& transformedPts = ttransformedPts.ref();
143 const labelList& zonePoints = pointIDs_[zonei];
147 SBMFs_[zonei].transformation(),
152 return ttransformedPts;
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
void resize(const label len)
Adjust allocated size of list.
void resize(const label numElem, const unsigned int val=0u)
Reset addressable list size, does not shrink the allocated size.
void reset()
Clear all bits but do not adjust the addressable size.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
A List with indirect addressing. Like IndirectList but does not store addressing.
bool empty() const noexcept
True if the UList is empty (ie, size() is zero)
wordList groupNames() const
A list of the zone group names (if any)
wordList names() const
A list of the zone names.
labelList indices(const wordRe &matcher, const bool useGroups=true) const
Return (sorted) zone indices for all matches.
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
labelList sortedToc() const
The indices of the on bits as a sorted labelList.
void set(const bitSet &bitset)
Set specified bits from another bitset.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
A keyword and a list of tokens is an 'entry'.
A class for handling keywords in dictionaries.
Virtual base class for mesh motion solver.
const polyMesh & mesh() const
Return reference to mesh.
const dictionary & coeffDict() const
Const access to the coefficients dictionary.
Solid-body motion of the mesh specified by a run-time selectable motion function.
virtual tmp< pointField > curPoints() const
Return point location obtained from the current motion field.
const Time & time() const noexcept
Return time registry.
Virtual base class for displacement motion solvers, where the point motion is relative to a set of fi...
Mesh consisting of general polyhedral cells.
virtual const faceList & faces() const
Return raw faces.
const cellZoneMesh & cellZones() const noexcept
Return cell zone mesh.
label nPoints() const noexcept
Number of mesh points.
const cellList & cells() const
A class for managing temporary objects.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
const labelIOList & zoneIDs
const labelIOList & zoneID
messageStream Info
Information stream (stdout output on master, null elsewhere)
vectorField pointField
pointField is a vectorField.
Ostream & endl(Ostream &os)
Add newline and flush stream.
FlatOutput::OutputAdaptor< Container, Delimiters > flatOutput(const Container &obj, Delimiters delim)
Global flatOutput() function with specified output delimiters.
T returnReduce(const T &value, const BinaryOp &bop, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm)
Reduce (copy) and return value.
void transformPoints(vectorField &, const septernion &, const vectorField &)
Transform given vectorField of coordinates with the given septernion.
errorManipArg< error, int > exit(error &err, const int errNo=1)
constexpr char nl
The newline '\n' character (0x0a)
#define forAll(list, i)
Loop across all elements in list.