79#ifndef Foam_functionObjects_AMIWeights_H
80#define Foam_functionObjects_AMIWeights_H
124 const cyclicAMIPolyPatch& cpp,
169 virtual bool write();
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Cyclic patch for Arbitrary Mesh Interface (AMI).
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Computes the min/max/average weights of arbitrary mesh interface (AMI) patches, and optionally report...
void writeWeightFields(const cyclicAMIPolyPatch &cpp) const
Write weight fields if writeFields=true.
void writeWeightField(const cyclicAMIPolyPatch &cpp, const scalarField &weightSum, const word &side) const
Write weight field.
void operator=(const AMIWeights &)=delete
No copy assignment.
virtual void reportPatch(const cyclicAMIPolyPatch &pp)
Helper function to report patch information.
virtual bool read(const dictionary &dict)
Read the function-object dictionary.
AMIWeights(const word &name, const Time &runTime, const dictionary &dict)
Construct from name, Time and dictionary.
virtual ~AMIWeights()=default
Destructor.
bool writeFields_
Flag to write AMI fields (as VTK files).
virtual void writeFileHeader(Ostream &os)
Output file header information.
AMIWeights(const AMIWeights &)=delete
No copy construct.
TypeName("AMIWeights")
Runtime type information.
virtual bool execute()
Execute the function-object operations (no-op).
virtual bool write()
Write the function-object results.
labelList patchIDs_
List of AMI patch IDs.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
fvMeshFunctionObject(const fvMeshFunctionObject &)=delete
No copy construct.
Base class for writing single files from the function objects.
writeFile(const objectRegistry &obr, const fileName &prefix, const word &name="undefined", const bool writeToFile=true, const string &ext=".dat")
Construct from objectRegistry, prefix, fileName.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
List< label > labelList
A List of labels.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.