#include <hdf5Initializer.hpp>
|
| Hdf5MathFunction (std::shared_ptr< Hdf5Mesh > baseMesh, std::string field) |
|
| ~Hdf5MathFunction () override |
|
virtual PetscErrorCode | Eval (PetscInt dim, const PetscReal x[], PetscScalar *u) const |
|
double | Eval (const double &x, const double &y, const double &z, const double &t) const override |
|
double | Eval (const double *xyz, const int &ndims, const double &t) const override |
|
void | Eval (const double &x, const double &y, const double &z, const double &t, std::vector< double > &result) const override |
|
void | Eval (const double *xyz, const int &ndims, const double &t, std::vector< double > &result) const override |
|
ablate::mathFunctions::PetscFunction | GetPetscFunction () override |
|
void * | GetContext () override |
|
virtual | ~MathFunction ()=default |
|
|
const std::string | field |
|
DM | fieldDm = nullptr |
|
Vec | fieldVec = nullptr |
|
std::shared_ptr< Hdf5Mesh > | baseMesh |
|
PetscInt | components = -1 |
|
PetscInt | dim = -1 |
|
PetscInt | resultSize = -1 |
|
◆ Hdf5MathFunction()
ablate::domain::Hdf5Initializer::Hdf5MathFunction::Hdf5MathFunction |
( |
std::shared_ptr< Hdf5Mesh > |
baseMesh, |
|
|
std::string |
field |
|
) |
| |
Load the hdf5 vector
- Parameters
-
◆ ~Hdf5MathFunction()
ablate::domain::Hdf5Initializer::Hdf5MathFunction::~Hdf5MathFunction |
( |
| ) |
|
|
override |
cleanup/destroy the mesh, interpolant, vec
◆ Eval() [1/5]
double ablate::domain::Hdf5Initializer::Hdf5MathFunction::Eval |
( |
const double & |
x, |
|
|
const double & |
y, |
|
|
const double & |
z, |
|
|
const double & |
t |
|
) |
| const |
|
overridevirtual |
◆ Eval() [2/5]
void ablate::domain::Hdf5Initializer::Hdf5MathFunction::Eval |
( |
const double & |
x, |
|
|
const double & |
y, |
|
|
const double & |
z, |
|
|
const double & |
t, |
|
|
std::vector< double > & |
result |
|
) |
| const |
|
overridevirtual |
◆ Eval() [3/5]
double ablate::domain::Hdf5Initializer::Hdf5MathFunction::Eval |
( |
const double * |
xyz, |
|
|
const int & |
ndims, |
|
|
const double & |
t |
|
) |
| const |
|
overridevirtual |
◆ Eval() [4/5]
void ablate::domain::Hdf5Initializer::Hdf5MathFunction::Eval |
( |
const double * |
xyz, |
|
|
const int & |
ndims, |
|
|
const double & |
t, |
|
|
std::vector< double > & |
result |
|
) |
| const |
|
overridevirtual |
◆ Eval() [5/5]
PetscErrorCode ablate::domain::Hdf5Initializer::Hdf5MathFunction::Eval |
( |
PetscInt |
dim, |
|
|
const PetscReal |
x[], |
|
|
PetscScalar * |
u |
|
) |
| const |
|
virtual |
method that does the interpolation for the provided point
- Parameters
-
- Returns
◆ GetContext()
void* ablate::domain::Hdf5Initializer::Hdf5MathFunction::GetContext |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GetPetscFunction()
ablate::mathFunctions::PetscFunction ablate::domain::Hdf5Initializer::Hdf5MathFunction::GetPetscFunction |
( |
| ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following files: