94#ifndef functionObjects_AMIWeights_H
95#define functionObjects_AMIWeights_H
105namespace functionObjects
114 public fvMeshFunctionObject,
134 virtual void reportPatch(
const cyclicAMIPolyPatch& pp);
139 const cyclicAMIPolyPatch& cpp,
184 virtual bool write();
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,...
const word & name() const noexcept
Return the name of this functionObject.
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 ~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, currently does nothing.
virtual bool write()
Write the AMIWeights.
labelList patchIDs_
List of AMI patch IDs.
virtual bool read(const dictionary &)
Read the field min/max data.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
Base class for writing single files from the function objects.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
List< label > labelList
A List of labels.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.