#include <Spacetime.h>
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
-
numberOfInterpolationPoints | the number of particles |
pdeSolver | a string containing the type of the OdeSolver |
typeEquation | a string containing the type of the equations |
Spacetime::~Spacetime |
( |
| ) |
|
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: