Base class for field functions derived from a scalar field.
More...
#include <FieldFunctions.h>
|
| | FieldFuncScalarBase (const std::string &fileName, const std::string &basisName, const std::string &fieldName, int level=0) |
| | The constructor creates a field from the provided HDF5-file.
|
| |
|
virtual | ~FieldFuncScalarBase () |
| | The destructor deletes the scalar fields.
|
| |
|
|
| FieldFuncScalarBase () |
| | Default constructor.
|
| |
| virtual void | addPatchField (ASMbase *pch, const std::vector< Real > &coefs, int, int) |
| | Adds a patch-wise field with the given coefficient values.
|
| |
| virtual void | clearField () |
| | Clears the field container.
|
| |
|
void | clearFieldInt () |
| | Non-virtual actual implementation of clearField()
|
| |
|
| FieldFuncHDF5 () |
| | Default constructor.
|
| |
| | FieldFuncHDF5 (const std::string &fileName) |
| | The constructor opens the provided HDF5-file.
|
| |
|
| FieldFuncHDF5 (const FieldFuncHDF5 &)=delete |
| | No copying of this class.
|
| |
|
virtual | ~FieldFuncHDF5 () |
| | The destructor closes the HDF5-file.
|
| |
| bool | load (const std::vector< std::string > &fieldNames, const std::string &basisName, int level, bool isScalar=false) |
| | Loads field values for the specified time level.
|
| |
|
int | findClosestLevel (double time) const |
| | Finds the level whose time is closest to the specified time.
|
| |
|
| FieldFuncBase () |
| | Default constructor.
|
| |
|
| FieldFuncBase (const FieldFuncBase &)=delete |
| | No copying of this class.
|
| |
|
virtual | ~FieldFuncBase () |
| | The destructor deletes the patches.
|
| |
|
bool | setPatch (size_t pIdx) |
| | Sets the active patch.
|
| |
|
|
int | currentLevel |
| | Current time level to evaluate at.
|
| |
|
std::string | fName |
| | Name of field.
|
| |
|
std::string | bName |
| | Name of basis.
|
| |
|
std::vector< Field * > | field |
| | The scalar field to be evaluated.
|
| |
|
bool | hasMultipleLevels |
| | True if we have multiple time levels.
|
| |
|
int | lastLevel |
| | The last time level read from.
|
| |
|
std::vector< ASMbase * > | patch |
| | The patches on which the field is defined.
|
| |
|
size_t | pidx |
| | Current patch index.
|
| |
|
size_t | npch |
| | Number of patches in the field.
|
| |
Base class for field functions derived from a scalar field.
◆ FieldFuncScalarBase()
| FieldFuncScalarBase::FieldFuncScalarBase |
( |
const std::string & |
fileName, |
|
|
const std::string & |
basisName, |
|
|
const std::string & |
fieldName, |
|
|
int |
level = 0 |
|
) |
| |
◆ addPatchField()
| void FieldFuncScalarBase::addPatchField |
( |
ASMbase * |
pch, |
|
|
const std::vector< Real > & |
coefs, |
|
|
int |
, |
|
|
int |
|
|
) |
| |
|
protectedvirtual |
◆ clearField()
| virtual void FieldFuncScalarBase::clearField |
( |
| ) |
|
|
inlineprotectedvirtual |
The documentation for this class was generated from the following files: