valSPH
 All Classes Files Functions Variables
Spacetime Class Reference

#include <Spacetime.h>

Collaboration diagram for Spacetime:
Collaboration graph

Public Member Functions

 Spacetime ()
 It creates a new empty spacetime.
 
 Spacetime (int numberOfInterpolationPoints, string pdeSolver, string typeEquation)
 It creates a new spacetime. Its PdeSolver is indicated by the string passed as argument.
 
vector< PositiongetInterpolationPoints ()
 It returns the set of interpolation points forming the spacetime.
 
void yieldSpacetimeCurvature (double h, double ti)
 It updates the position of the spacetime interpolation points.
 
 ~Spacetime ()
 It destroys the Spacetime.
 

Constructor & Destructor Documentation

Spacetime::Spacetime ( )

It creates a new empty spacetime.

Spacetime::Spacetime ( int  numberOfInterpolationPoints,
string  pdeSolver,
string  typeEquation 
)

It creates a new spacetime. Its PdeSolver is indicated by the string passed as argument.

Parameters
numberOfInterpolationPointsthe number of particles
pdeSolvera string containing the type of the OdeSolver
typeEquationa string containing the type of the equations
Spacetime::~Spacetime ( )

It destroys the Spacetime.

Member Function Documentation

vector< Position > Spacetime::getInterpolationPoints ( )

It returns the set of interpolation points forming the spacetime.

Returns
vector that contains the interpolation points
void Spacetime::yieldSpacetimeCurvature ( double  h,
double  ti 
)

It updates the position of the spacetime interpolation points.


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