1.2.2
CCC
 
ASpaceObject.cpp File Reference
#include "geoslib_define.h"
#include "Space/ASpaceObject.hpp"
#include "Space/ASpace.hpp"
#include "Space/SpaceRN.hpp"
#include "Space/SpaceSN.hpp"
#include "Basic/Tensor.hpp"
#include "Basic/AException.hpp"
#include <iostream>

Functions

void defineDefaultSpace (ESpaceType type, unsigned int ndim, double param)
 (Re)Defining the unique default global space More...
 
const ASpacecloneDefaultSpace ()
 Return a clone of the unique default global space. More...
 
ESpaceType getDefaultSpaceType ()
 
int getDefaultSpaceDimension ()
 
const ASpacegetDefaultSpace ()
 
bool isDefaultSpaceSphere ()
 

Function Documentation

const ASpace* cloneDefaultSpace ( )

Return a clone of the unique default global space.

void defineDefaultSpace ( ESpaceType  type,
unsigned int  ndim,
double  param 
)

(Re)Defining the unique default global space

Factory for defining the unique default global space (optional parameter can be used for sphere radius for example)

Parameters
typeSpace type (RN, SN, ...)
ndimNumber of dimension
paramOptional space parameter
const ASpace* getDefaultSpace ( )
int getDefaultSpaceDimension ( )
ESpaceType getDefaultSpaceType ( )
bool isDefaultSpaceSphere ( )