Go to the documentation of this file.
96 #ifndef functionObjects_columnAverage_H
97 #define functionObjects_columnAverage_H
111 namespace 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);
185 virtual bool write();
List< label > labelList
A List of labels.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
Mesh consisting of general polyhedral cells.
Computes the arithmetic average of given quantities along columns of cells in a given direction for s...
Helper class to manage solver field selections.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
TypeName("columnAverage")
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Detect extruded mesh structure given a set of faces (uindirectPrimitivePatch).
const word & name() const noexcept
void operator=(const columnAverage &)=delete
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual ~columnAverage()=default
virtual bool read(const dictionary &dict)
columnAverage(const word &name, const Time &runTime, const dictionary &dict)