Alsvinn
0.5.3
The fast FVM simulator with UQ support
|
#include <alsfvm/functional/StructureBase.hpp>
Public Member Functions | |
StructureBase (const Functional::Parameters ¶meters) | |
virtual void | operator() (volume::Volume &conservedVolumeOut, const volume::Volume &conservedVolumeIn, const real weight, const grid::Grid &grid) override |
virtual ivec3 | getFunctionalSize (const grid::Grid &grid) const override |
![]() | |
virtual | ~Functional () |
virtual ivec3 | getGhostCellSizes (const grid::Grid &grid, const volume::Volume &volume) const |
virtual std::string | getPlatformToAllocateOn (const std::string &platform) const |
Additional Inherited Members | |
![]() | |
typedef alsutils::parameters::Parameters | Parameters |
To be used to pass parameters to the constructors. More... | |
This is basically the functional version of stats/StructureBase.
alsfvm::functional::StructureBase::StructureBase | ( | const Functional::Parameters & | parameters | ) |
|
overridevirtual |
Returns the number of elements needed to represent the functional
Returns {numberOfH, 1,1}
Implements alsfvm::functional::Functional.
|
overridevirtual |
Computes the operator value on the givne input data
[out] | conservedVolumeOut | at the end, should have the contribution of the functional for the conservedVariables |
[in] | conservedVolumeIn | the state of the conserved variables |
[in] | weight | the current weight to be applied to the functional. Ie, the functional should compute conservedVolumeOut += weight + f(conservedVolumeIn) |
[in] | grid | the grid to use |
Implements alsfvm::functional::Functional.