gridripper::metric::Metric Class Reference

Class to store metric (time coordinate: tau, space coordinate: rho, theta,phi: polar azimuths). More...

#include <Metric.h>

Inheritance diagram for gridripper::metric::Metric:

gridripper::metric::MHyper gridripper::metric::MInert gridripper::metric::Sch

List of all members.

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.


Detailed Description

Class to store metric (time coordinate: tau, space coordinate: rho, theta,phi: polar azimuths).

Version:
0.5, 01/31/2007
Since:
GridRipper 0.5
Author:
Andras Laszlo

Member Enumeration Documentation

Flag which restricts which quantities to evaluate.


Member Function Documentation

virtual void gridripper::metric::Metric::eval ( MetricValues metricvalues,
const GReal_t  tau,
const GReal_t  rho,
const eval_t  ev = all 
) const [pure virtual]

std::string gridripper::metric::Metric::getName (  )  const [inline]

Get the metric name.


Member Data Documentation

Spatial coordinate boundaries.

Flags, which determine if left or right bound is infinity.

const std::string gridripper::metric::Metric::name [protected]

Name of the metric.


The documentation for this class was generated from the following file:

Generated on Wed Jun 17 18:46:56 2009 for GridRipper by  doxygen 1.5.6