Classes | |
struct | MetricValues |
Structure to store evaluated metric and Killing values. More... | |
class | MetricParam |
Structure to store metric parameters. More... | |
class | Metric |
Class to store metric (time coordinate: tau, space coordinate: rho, theta,phi: polar azimuths). More... | |
class | MInert |
Minkowski metric with inertial time and compactified space. More... | |
class | MHyper |
Minkowski metric with hyperbolic time and compactified space. More... | |
class | Sch |
Schwarzschild metric with Istvan Racz's coordinates. More... | |
Functions | |
Metric * | createMetric (const std::string &name, const MetricParam ¶ms) |
Create a metric. |
Metric* gridripper::metric::createMetric | ( | const std::string & | name, | |
const MetricParam & | params | |||
) |
Create a metric.
The name "MInert" will index Minkowski metric in (inertial time), (compactified radius) coordinates, where is an inertial time, and is an inertial radius, and is a compactification parameter.
The name "MHyper" will index Minkowski metric in (hyperbolic time), (compactified radius) coordinates, where is an inertial time, and is an inertial radius, and is a compactification parameter.
The name "Sch" will index Schwarzschild metric in , coordinates, where and are the Kruskal-Szekeres coordinates, and is a compactification parameter. is Schwarschild mass.
name | : string | |
parameters | : MetricParam |