#include <linear.hpp>
|
| Linear (const Linear &)=delete |
|
void | operator= (const Linear &)=delete |
|
| Linear (std::vector< double > startValue, std::vector< double > endValue, 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
◆ Linear()
ablate::mathFunctions::Linear::Linear |
( |
std::vector< double > |
startValue, |
|
|
std::vector< double > |
endValue, |
|
|
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::Linear::Eval |
( |
const double & |
x, |
|
|
const double & |
y, |
|
|
const double & |
z, |
|
|
const double & |
t |
|
) |
| const |
|
overridevirtual |
◆ Eval() [2/4]
void ablate::mathFunctions::Linear::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::Linear::Eval |
( |
const double * |
xyz, |
|
|
const int & |
ndims, |
|
|
const double & |
t |
|
) |
| const |
|
overridevirtual |
◆ Eval() [4/4]
void ablate::mathFunctions::Linear::Eval |
( |
const double * |
xyz, |
|
|
const int & |
ndims, |
|
|
const double & |
t, |
|
|
std::vector< double > & |
result |
|
) |
| const |
|
overridevirtual |
◆ GetContext()
void* ablate::mathFunctions::Linear::GetContext |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GetPetscFunction()
PetscFunction ablate::mathFunctions::Linear::GetPetscFunction |
( |
| ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following files:
- src/mathFunctions/linear.hpp
- src/mathFunctions/linear.cpp