#include <linearFunction.hpp>
|
| LinearFunction (const LinearFunction &)=delete |
|
void | operator= (const LinearFunction &)=delete |
|
| LinearFunction (std::shared_ptr< MathFunction > startFunction, std::shared_ptr< MathFunction > endFunction, double start, double end, int dir) |
|
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 |
|
void * | GetContext () override |
|
PetscFunction | GetPetscFunction () override |
|
virtual | ~MathFunction ()=default |
|
Linear functions in x, y, or z
◆ LinearFunction()
ablate::mathFunctions::LinearFunction::LinearFunction |
( |
std::shared_ptr< MathFunction > |
startFunction, |
|
|
std::shared_ptr< MathFunction > |
endFunction, |
|
|
double |
start, |
|
|
double |
end, |
|
|
int |
dir |
|
) |
| |
|
explicit |
Linear function from start to end with the specified start and end values
- Parameters
-
startValue | |
endValue | |
start | |
end | |
dir | 0, 1, 2 |
◆ Eval() [1/4]
double ablate::mathFunctions::LinearFunction::Eval |
( |
const double & |
x, |
|
|
const double & |
y, |
|
|
const double & |
z, |
|
|
const double & |
t |
|
) |
| const |
|
overridevirtual |
◆ Eval() [2/4]
void ablate::mathFunctions::LinearFunction::Eval |
( |
const double & |
x, |
|
|
const double & |
y, |
|
|
const double & |
z, |
|
|
const double & |
t, |
|
|
std::vector< double > & |
result |
|
) |
| const |
|
overridevirtual |
◆ Eval() [3/4]
double ablate::mathFunctions::LinearFunction::Eval |
( |
const double * |
xyz, |
|
|
const int & |
ndims, |
|
|
const double & |
t |
|
) |
| const |
|
overridevirtual |
◆ Eval() [4/4]
void ablate::mathFunctions::LinearFunction::Eval |
( |
const double * |
xyz, |
|
|
const int & |
ndims, |
|
|
const double & |
t, |
|
|
std::vector< double > & |
result |
|
) |
| const |
|
overridevirtual |
◆ GetContext()
void* ablate::mathFunctions::LinearFunction::GetContext |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GetPetscFunction()
PetscFunction ablate::mathFunctions::LinearFunction::GetPetscFunction |
( |
| ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following files: