SpECTRE
v2024.12.16
|
#include <MathFunction.hpp>
Public Types | |
using | frame = Fr |
Public Member Functions | |
WRAPPED_PUPable_abstract (MathFunction) | |
virtual std::unique_ptr< MathFunction > | get_clone () const =0 |
virtual bool | operator== (const MathFunction< VolumeDim, Fr > &other) const =0 |
virtual bool | operator!= (const MathFunction< VolumeDim, Fr > &other) const =0 |
virtual Scalar< double > | operator() (const tnsr::I< double, VolumeDim, Fr > &x) const =0 |
Returns the value of the function at the coordinate 'x'. More... | |
virtual Scalar< DataVector > | operator() (const tnsr::I< DataVector, VolumeDim, Fr > &x) const =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 =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 =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 =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 =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 =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 =0 |
Returns the third partial derivatives of the function at 'x'. More... | |
Static Public Attributes | |
static constexpr size_t | volume_dim = VolumeDim |
Encodes a function VolumeDim
.
Encodes a function VolumeDim
and where the function input (i.e., the spatial coordinates) is given as a rank-1 tensor.
|
pure virtual |
Returns the first partial derivatives of the function at 'x'.
Implemented in MathFunctions::Gaussian< VolumeDim, Fr >.
|
pure virtual |
Returns the first partial derivatives of the function at 'x'.
Implemented in MathFunctions::Gaussian< VolumeDim, Fr >.
|
pure virtual |
Returns the value of the function at the coordinate 'x'.
Implemented in MathFunctions::Gaussian< VolumeDim, Fr >.
|
pure virtual |
Returns the value of the function at the coordinate 'x'.
Implemented in MathFunctions::Gaussian< VolumeDim, Fr >.
|
pure virtual |
Returns the second partial derivatives of the function at 'x'.
Implemented in MathFunctions::Gaussian< VolumeDim, Fr >.
|
pure virtual |
Returns the second partial derivatives of the function at 'x'.
Implemented in MathFunctions::Gaussian< VolumeDim, Fr >.
|
pure virtual |
Returns the third partial derivatives of the function at 'x'.
Implemented in MathFunctions::Gaussian< VolumeDim, Fr >.
|
pure virtual |
Returns the third partial derivatives of the function at 'x'.
Implemented in MathFunctions::Gaussian< VolumeDim, Fr >.