34 namespace functionObjects
45 bool Foam::functionObjects::reconstruct::calcReconstruction()
63 bool Foam::functionObjects::reconstruct::calc()
65 bool processed =
false;
67 processed = processed || calcReconstruction<scalar>();
68 processed = processed || calcReconstruction<vector>();
72 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 keyword definitions, which are a keyword followed by any number of values (e....
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.
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 ObjectType & lookupObject(const word &fieldName) const
Lookup object from the objectRegistry.
bool foundObject(const word &fieldName) const
Find field in the objectRegistry.
bool store(const tmp< ObjectType > &tfield)
Store the given field in the objectRegistry.
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 bool)
Return a word representation of a bool.