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