34 namespace functionObjects
45 bool Foam::functionObjects::reconstruct::calcReconstruction()
65 bool Foam::functionObjects::reconstruct::calc()
67 bool processed =
false;
69 processed = processed || calcReconstruction<scalar>();
70 processed = processed || calcReconstruction<vector>();
74 cannotFindObject(fieldName_);
Macros for easy insertion into run-time selection tables.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Abstract base-class for Time/database functionObjects.
word resultName_
Name of result field.
const word fieldName_
Name of field to process.
const fvMesh & mesh_
Reference to the fvMesh.
const ObjectType & lookupObject(const word &fieldName) const
Lookup object from the objectRegistry.
bool foundObject(const word &fieldName) const
Find field in the objectRegistry.
ObjectType & store(const tmp< ObjectType > &tfield)
Store the given field in the objectRegistry.
Calculates the reconstruction of a field; e.g., to construct a cell-centred velocity,...
reconstruct(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
virtual ~reconstruct()
Destructor.
const fvSolution & solution() const
Return the fvSolution.
bool changing() const
Is mesh changing.
bool cache(const word &name) const
Return true if the given field should be cached.
A class for handling words, derived from string.
Reconstruct volField from a face flux field.
defineTypeNameAndDebug(adjustTimeStepToCombustion, 0)
addToRunTimeSelectionTable(functionObject, adjustTimeStepToCombustion, dictionary)
tmp< VolField< typename outerProduct< vector, Type >::type > > reconstruct(const SurfaceField< Type > &ssf)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.