|
|
| Constant (double value) |
| |
|
| Constant (const Constant &)=default |
| |
|
Constant & | operator= (const Constant &)=default |
| |
|
| Constant (Constant &&)=default |
| |
|
Constant & | operator= (Constant &&)=default |
| |
|
void | operator() (gsl::not_null< Scalar< double > * > value_at_x, const tnsr::I< double, VolumeDim, Fr > &x, double time, const std::unordered_map< std::string, std::unique_ptr<::domain::FunctionsOfTime::FunctionOfTime > > &functions_of_time) const override |
| |
|
void | operator() (gsl::not_null< Scalar< DataVector > * > value_at_x, const tnsr::I< DataVector, VolumeDim, Fr > &x, double time, const std::unordered_map< std::string, std::unique_ptr<::domain::FunctionsOfTime::FunctionOfTime > > &functions_of_time) const override |
| |
| auto | get_clone () const -> std::unique_ptr< DampingFunction< VolumeDim, Fr > > override |
| |
|
void | pup (PUP::er &p) override |
| |
|
| WRAPPED_PUPable_abstract (DampingFunction) |
| |
|
| DampingFunction (const DampingFunction &)=default |
| |
|
DampingFunction & | operator= (const DampingFunction &)=default |
| |
|
| DampingFunction (DampingFunction &&)=default |
| |
|
DampingFunction & | operator= (DampingFunction &&)=default |
| |
|
| DampingFunction (CkMigrateMessage *msg) |
| |
|
virtual auto | get_clone () const -> std::unique_ptr< DampingFunction< VolumeDim, Fr > >=0 |
| |
|
virtual void | operator() (const gsl::not_null< Scalar< double > * > value_at_x, const tnsr::I< double, VolumeDim, Fr > &x, double time, const std::unordered_map< std::string, std::unique_ptr<::domain::FunctionsOfTime::FunctionOfTime > > &functions_of_time) const =0 |
| | Returns the value of the function at the coordinate 'x'.
|
| |
|
virtual void | operator() (const gsl::not_null< Scalar< DataVector > * > value_at_x, const tnsr::I< DataVector, VolumeDim, Fr > &x, double time, const std::unordered_map< std::string, std::unique_ptr<::domain::FunctionsOfTime::FunctionOfTime > > &functions_of_time) const =0 |
| | Returns the value of the function at the coordinate 'x'.
|
| |
template<size_t VolumeDim, typename Fr>
class ConstraintDamping::Constant< VolumeDim, Fr >
A constant function: \(f = C\).
Details
Input file options are: Value \(C\). The function takes input coordinates of type tnsr::I<T, VolumeDim, Fr>, where T is e.g. double or DataVector, Fr is a frame (e.g. Frame::Inertial), and VolumeDim is the dimension of the spatial volume.