#include <Metric.h>
Public Types | |
enum | eval_t { rderiv, metric, metricderiv, all } |
Flag which restricts which quantities to evaluate. More... | |
Public Member Functions | |
Metric (const Metric &other) | |
Metric (const GReal_t RhoMin, const GReal_t RhoMax, const bool IsLeftInfty, const bool IsRightInfty, const std::string &Name) | |
virtual void | eval (MetricValues &metricvalues, const GReal_t tau, const GReal_t rho, const eval_t ev=all) const =0 |
Evaluate metric quantities. | |
GReal_t | getRhoMin () const |
Return minimal and maximal allowed value of rho coordinate. | |
GReal_t | getRhoMax () const |
bool | isLeftInfty () const |
Return the flag, which determines if left or right rho bound is infinity. | |
bool | isRightInfty () const |
std::string | getName () const |
Get the metric name. | |
Protected Attributes | |
const GReal_t | rhomin |
Spatial coordinate boundaries. | |
const GReal_t | rhomax |
const bool | isleftinfty |
Flags, which determine if left or right bound is infinity. | |
const bool | isrightinfty |
const std::string | name |
Name of the metric. |
Flag which restricts which quantities to evaluate.
virtual void gridripper::metric::Metric::eval | ( | MetricValues & | metricvalues, | |
const GReal_t | tau, | |||
const GReal_t | rho, | |||
const eval_t | ev = all | |||
) | const [pure virtual] |
Evaluate metric quantities.
Implemented in gridripper::metric::MInert, gridripper::metric::MHyper, and gridripper::metric::Sch.
std::string gridripper::metric::Metric::getName | ( | ) | const [inline] |
Get the metric name.
const GReal_t gridripper::metric::Metric::rhomin [protected] |
Spatial coordinate boundaries.
const bool gridripper::metric::Metric::isleftinfty [protected] |
Flags, which determine if left or right bound is infinity.
const std::string gridripper::metric::Metric::name [protected] |
Name of the metric.