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

Class implementing the trivial conversion. More...

#include <geometry.h>

Inheritance diagram for IdentityConversion:
CoordinateConversion

Public Member Functions

 IdentityConversion ()
 Constructor.
 
 ~IdentityConversion ()
 Destructor.
 
Point convertPoint (Point p)
 Conversion of a point. More...
 
double jacobian (int i, int j, Point)
 Jacobian of the conversion. More...
 
double inv_jacobian (int i, int j, Point)
 Inverse jacobian of the conversion. More...
 
- Public Member Functions inherited from CoordinateConversion
 CoordinateConversion ()
 Constructor.
 
virtual ~CoordinateConversion ()
 Destructor.
 

Detailed Description

Class implementing the trivial conversion.

This is the predefined class implementing the conversion given by: new_coord_i = old_coord_i

Member Function Documentation

Point IdentityConversion::convertPoint ( Point  p)
virtual

Conversion of a point.

This method converts a single point to a different coordinate system.

Parameters
pPoint to be converted
Returns
Converted point (the same as p)

Implements CoordinateConversion.

double IdentityConversion::inv_jacobian ( int  i,
int  j,
Point   
)
virtual

Inverse jacobian of the conversion.

This method returns the inverse jacobian (matrix of partial derivatives) of the transformation between coordinate systems (equal to the identity matrix)

Parameters
iThe number of the row
jThe number of the column
pThe point at which the jacobian is calculated
Returns
delta_ij (Kronecker delta)

Implements CoordinateConversion.

double IdentityConversion::jacobian ( int  i,
int  j,
Point   
)
virtual

Jacobian of the conversion.

This method returns the jacobian (matrix of partial derivatives) of the transformation between coordinate systems (equal to the identity matrix)

Parameters
iThe number of the row
jThe number of the column
pThe point at which the jacobian is calculated
Returns
delta_ij (Kronecker delta)

Implements CoordinateConversion.


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