1.4.0
CCC
 
ASpaceObject.hpp File Reference
#include "gstlearn_export.hpp"
#include "Enum/ESpaceType.hpp"
#include "Basic/AStringable.hpp"
#include "Basic/VectorNumT.hpp"

Classes

class  ASpaceObject
 

Functions

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

Function Documentation

◆ cloneDefaultSpace()

GSTLEARN_EXPORT const ASpace* cloneDefaultSpace ( )

Return a clone of the unique default global space.

◆ defineDefaultSpace()

GSTLEARN_EXPORT void defineDefaultSpace ( const ESpaceType &  type,
unsigned int  ndim,
double  param,
bool  addtime 
)

(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 dimensions
paramOptional space parameter (ex: radius of the sphere)
addtimeOptional add time dimension (composit space)

◆ getDefaultSpace()

GSTLEARN_EXPORT const ASpace* getDefaultSpace ( )

◆ getDefaultSpaceDimension()

GSTLEARN_EXPORT int getDefaultSpaceDimension ( )

◆ getDefaultSpaceType()

GSTLEARN_EXPORT ESpaceType getDefaultSpaceType ( )

◆ isDefaultSpaceSphere()

GSTLEARN_EXPORT bool isDefaultSpaceSphere ( )