96#ifndef functionObjects_columnAverage_H
97#define functionObjects_columnAverage_H
111namespace functionObjects
120 public fvMeshFunctionObject
128 volFieldSelection fieldSet_;
130 mutable autoPtr<globalIndex> globalFaces_;
131 mutable autoPtr<globalIndex> globalEdges_;
132 mutable autoPtr<globalIndex> globalPoints_;
133 mutable autoPtr<meshStructure> meshStructurePtr_;
139 const word averageName(
const word& fieldName)
const;
142 const meshStructure& meshAddressing(
const polyMesh&)
const;
146 bool columnAverageField(
const word& fieldName);
162 const dictionary&
dict
185 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,...
const word & name() const noexcept
Return the name of this functionObject.
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 Time and dictionary.
virtual ~columnAverage()=default
Destructor.
virtual bool read(const dictionary &dict)
Read the settings.
columnAverage(const columnAverage &)=delete
No copy construct.
TypeName("columnAverage")
Runtime type information.
virtual bool execute()
Execute, currently does nothing.
void operator=(const columnAverage &)=delete
No copy assignment.
virtual bool write()
Write the results.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
Helper class to manage solver field selections.
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.
List< label > labelList
A List of labels.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.