|
SpECTRE
2021.08.02
|
#include <MathFunction.hpp>
Public Types | |
| using | frame = Fr |
Public Member Functions | |
| WRAPPED_PUPable_abstract (MathFunction) | |
| MathFunction (const MathFunction &)=delete | |
| MathFunction & | operator= (const MathFunction &)=delete |
| MathFunction (MathFunction &&) noexcept=default | |
| MathFunction & | operator= (MathFunction &&) noexcept=default |
| virtual Scalar< double > | operator() (const tnsr::I< double, VolumeDim, Fr > &x) const noexcept=0 |
| Returns the value of the function at the coordinate 'x'. More... | |
| virtual Scalar< DataVector > | operator() (const tnsr::I< DataVector, VolumeDim, Fr > &x) const noexcept=0 |
| Returns the value of the function at the coordinate 'x'. More... | |
| virtual tnsr::i< double, VolumeDim, Fr > | first_deriv (const tnsr::I< double, VolumeDim, Fr > &x) const noexcept=0 |
| Returns the first partial derivatives of the function at 'x'. More... | |
| virtual tnsr::i< DataVector, VolumeDim, Fr > | first_deriv (const tnsr::I< DataVector, VolumeDim, Fr > &x) const noexcept=0 |
| Returns the first partial derivatives of the function at 'x'. More... | |
| virtual tnsr::ii< double, VolumeDim, Fr > | second_deriv (const tnsr::I< double, VolumeDim, Fr > &x) const noexcept=0 |
| Returns the second partial derivatives of the function at 'x'. More... | |
| virtual tnsr::ii< DataVector, VolumeDim, Fr > | second_deriv (const tnsr::I< DataVector, VolumeDim, Fr > &x) const noexcept=0 |
| Returns the second partial derivatives of the function at 'x'. More... | |
| virtual tnsr::iii< double, VolumeDim, Fr > | third_deriv (const tnsr::I< double, VolumeDim, Fr > &x) const noexcept=0 |
| Returns the third partial derivatives of the function at 'x'. More... | |
| virtual tnsr::iii< DataVector, VolumeDim, Fr > | third_deriv (const tnsr::I< DataVector, VolumeDim, Fr > &x) const noexcept=0 |
| Returns the third partial derivatives of the function at 'x'. More... | |
Static Public Attributes | |
| constexpr static size_t | volume_dim = VolumeDim |
Encodes a function \(R^n \to R\) where n is VolumeDim.
Encodes a function \(R^n \to R\) where n is VolumeDim and where the function input (i.e., the spatial coordinates) is given as a rank-1 tensor.
|
pure virtualnoexcept |
Returns the first partial derivatives of the function at 'x'.
Implemented in MathFunctions::Gaussian< VolumeDim, Fr >.
|
pure virtualnoexcept |
Returns the first partial derivatives of the function at 'x'.
Implemented in MathFunctions::Gaussian< VolumeDim, Fr >.
|
pure virtualnoexcept |
Returns the value of the function at the coordinate 'x'.
Implemented in MathFunctions::Gaussian< VolumeDim, Fr >.
|
pure virtualnoexcept |
Returns the value of the function at the coordinate 'x'.
Implemented in MathFunctions::Gaussian< VolumeDim, Fr >.
|
pure virtualnoexcept |
Returns the second partial derivatives of the function at 'x'.
Implemented in MathFunctions::Gaussian< VolumeDim, Fr >.
|
pure virtualnoexcept |
Returns the second partial derivatives of the function at 'x'.
Implemented in MathFunctions::Gaussian< VolumeDim, Fr >.
|
pure virtualnoexcept |
Returns the third partial derivatives of the function at 'x'.
Implemented in MathFunctions::Gaussian< VolumeDim, Fr >.
|
pure virtualnoexcept |
Returns the third partial derivatives of the function at 'x'.
Implemented in MathFunctions::Gaussian< VolumeDim, Fr >.