83 #ifndef cutLayerAverage_H
84 #define cutLayerAverage_H
98 namespace functionObjects
105 class cutLayerAverage
107 public fvMeshFunctionObject
112 generatedCellZone zone_;
133 autoPtr<setWriter> formatter_;
136 label nOptimiseIter_;
139 autoPtr<List<cutPlot::weight>> weights_;
144 autoPtr<scalarField> layerDistances_;
148 autoPtr<scalarField> layerThicknesses_;
151 autoPtr<pointField> layerPositions_;
199 virtual bool write();
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
axisType
Enumeration defining the output format for coordinates.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
A class for handling file names.
const word & name() const
Return the name of this functionObject.
TypeName("cutLayerAverage")
Runtime type information.
virtual wordList fields() const
Return the list of fields required.
virtual void topoChange(const polyTopoChangeMap &)
Update topology using the given map.
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
virtual void movePoints(const polyMesh &)
Update for mesh point-motion.
cutLayerAverage(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
virtual bool execute()
Execute, currently does nothing.
virtual bool write()
Write the cutLayerAverage.
virtual ~cutLayerAverage()
Destructor.
virtual bool read(const dictionary &)
Read the cutLayerAverage data.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Class containing mesh-to-mesh mapping information.
Mesh consisting of general polyhedral cells.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
A class for handling words, derived from string.
List< word > wordList
A List of words.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Vector< scalar > vector
A scalar version of the templated Vector.