GR Engine
A physics engine in curved space-time
 All Classes Files Functions Variables
Public Types | Public Member Functions | Protected Member Functions | List of all members
KerrEFMetric Class Reference

The Schwarzschild metric in Eddington-Finkelstein coordinates. More...

#include <kerr.h>

Inheritance diagram for KerrEFMetric:
Metric

Public Types

enum  { coordU = 0, coordR = 1, coordTheta = 2, coordPhi = 3 }
 

Public Member Functions

 KerrEFMetric (int cS, KerrManifold *_m)
 
- Public Member Functions inherited from Metric
 Metric (int cS)
 Constructor. More...
 
virtual ~Metric ()
 Destructor.
 
double g (int i, int j, Point p)
 Component of the metric. More...
 
double invg (int i, int j, Point p)
 Component of the inverse metric. More...
 
double christoffel (int i, int j, int k, Point p)
 Component of the Christoffel symbol. More...
 
double g (vector4 u, vector4 v, Point p)
 Dot product. More...
 
vector4 christoffel (vector4 u, vector4 v, Point p)
 Christoffel symbol acting on two vectors. More...
 

Protected Member Functions

double _g (int, int, Point)
 Component of the metric. More...
 
double _invg (int, int, Point)
 Component of the inverse metric. More...
 
double _christoffel (int, int, int, Point)
 Component of the Christoffel symbol. More...
 
- Protected Member Functions inherited from Metric
double dg (int i, int j, int k, Point p)
 Partial derivative of the metric. More...
 

Additional Inherited Members

- Protected Attributes inherited from Metric
int coordSystem
 

Detailed Description

The Schwarzschild metric in Eddington-Finkelstein coordinates.

Member Function Documentation

double KerrEFMetric::_christoffel ( int  i,
int  j,
int  k,
Point  p 
)
protectedvirtual

Component of the Christoffel symbol.

Function calculating a component of the Christoffel symbol.

Parameters
iFirst index of the component
jSecond index of the component
kThird index of the component
pThe point at which the component is evaluated
Returns
Gamma^i_jk(p)

Implements Metric.

double KerrEFMetric::_g ( int  i,
int  j,
Point  p 
)
protectedvirtual

Component of the metric.

Function calculating a component of the metric.

Parameters
iFirst index of the component
jSecond index of the component
pThe point at which the component is evaluated
Returns
g_ij(p)

Implements Metric.

double KerrEFMetric::_invg ( int  i,
int  j,
Point  p 
)
protectedvirtual

Component of the inverse metric.

Function calculating a component of the inverse metric.

Parameters
iFirst index of the component
jSecond index of the component
pThe point at which the component is evaluated
Returns
g^ij(p)

Implements Metric.


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