88#ifndef Foam_functionObjects_columnAverage_H
89#define Foam_functionObjects_columnAverage_H
121 volFieldSelection fieldSet_;
124 mutable autoPtr<globalIndex> globalFaces_;
125 mutable autoPtr<globalIndex> globalEdges_;
126 mutable autoPtr<globalIndex> globalPoints_;
127 mutable autoPtr<meshStructure> meshStructurePtr_;
133 const word averageName(
const word& fieldName)
const;
136 const meshStructure& meshAddressing(
const polyMesh&)
const;
140 bool columnAverageField(
const word& fieldName);
179 virtual bool write();
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Computes the arithmetic average of given quantities along columns of cells in a given direction for s...
columnAverage(const word &name, const Time &runTime, const dictionary &dict)
Construct from name, Time and dictionary.
virtual ~columnAverage()=default
Destructor.
virtual bool read(const dictionary &dict)
Read the function-object dictionary.
columnAverage(const columnAverage &)=delete
No copy construct.
TypeName("columnAverage")
Runtime type information.
virtual bool execute()
Execute the function-object operations.
void operator=(const columnAverage &)=delete
No copy assignment.
virtual bool write()
Write the function-object results.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
fvMeshFunctionObject(const fvMeshFunctionObject &)=delete
No copy construct.
Helper class to manage solver field selections.
Calculates a non-overlapping list of offsets based on an input size (eg, number of cells) from differ...
Detect extruded mesh structure given a set of faces (uindirectPrimitivePatch).
Mesh consisting of general polyhedral cells.
A class for handling words, derived from Foam::string.
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
List< label > labelList
A List of labels.
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.
Forwards and collection of common volume field types.