1.2.1
CCC
 
SpaceSN Class Reference

#include <SpaceSN.hpp>

Inheritance diagram for SpaceSN:
ASpace AStringable ICloneable

Public Member Functions

 SpaceSN (unsigned int ndim, double radius)
 
 SpaceSN (const SpaceSN &r)
 
SpaceSNoperator= (const SpaceSN &r)
 
virtual ~SpaceSN ()
 
virtual String toString (const AStringFormat *strfmt=nullptr) const override
 ICloneable interface. More...
 
virtual bool isEqual (const ASpace *space) const override
 Return true if the given space is equal to me. More...
 
ESpaceType getType () const override
 Return the concrete space type. More...
 
void move (SpacePoint &p1, const VectorDouble &vec) const override
 Move the given space point by the given vector. More...
 
double getDistance (const SpacePoint &p1, const SpacePoint &p2) const override
 Return the distance between two space points. More...
 
double getDistance (const SpacePoint &p1, const SpacePoint &p2, const Tensor &tensor) const override
 Return the distance between two space points with the given tensor. More...
 
double getDistance1D (const SpacePoint &p1, const SpacePoint &p2, int idim=0) const override
 Return the distance along one direction between two space points. More...
 
double getFrequentialDistance (const SpacePoint &p1, const SpacePoint &p2, const Tensor &tensor) const override
 Return the distance in frequential domain between two space points with the given tensor. More...
 
VectorDouble getIncrement (const SpacePoint &p1, const SpacePoint &p2) const override
 Return the increment vector between two space points for the current space context. More...
 
double getRadius () const
 
- Public Member Functions inherited from ASpace
 ASpace (unsigned int ndim)
 
 ASpace (const ASpace &r)
 
ASpaceoperator= (const ASpace &r)
 
virtual ~ASpace ()
 
void setOrigin (const VectorDouble &origin)
 Update the origin coordinates. More...
 
unsigned int getNDim () const
 Get the number of dimensions. More...
 
const VectorDoublegetOrigin () const
 Return the space origin coordinates. More...
 
virtual void _getIncrementInPlace (const SpacePoint &p1, const SpacePoint &p2, VectorDouble &ptemp) const
 
void _getIncrementInPlaceVect (const SpacePoint &p1, const std::vector< SpacePoint > &pv, VectorVectorDouble &res) const
 
- Public Member Functions inherited from AStringable
 AStringable ()
 
 AStringable (const AStringable &r)
 
AStringableoperator= (const AStringable &r)
 
virtual ~AStringable ()
 
virtual void display (const AStringFormat *strfmt=nullptr) const final
 
virtual void display (int level) const final
 
- Public Member Functions inherited from ICloneable
 ICloneable ()
 
virtual ~ICloneable ()
 
virtual ICloneableclone () const =0
 

Constructor & Destructor Documentation

SpaceSN::SpaceSN ( unsigned int  ndim,
double  radius 
)
SpaceSN::SpaceSN ( const SpaceSN r)
SpaceSN::~SpaceSN ( )
virtual

Member Function Documentation

double SpaceSN::getDistance ( const SpacePoint p1,
const SpacePoint p2 
) const
overridevirtual

Return the distance between two space points.

Implements ASpace.

double SpaceSN::getDistance ( const SpacePoint p1,
const SpacePoint p2,
const Tensor tensor 
) const
overridevirtual

Return the distance between two space points with the given tensor.

Implements ASpace.

double SpaceSN::getDistance1D ( const SpacePoint p1,
const SpacePoint p2,
int  idim = 0 
) const
overridevirtual

Return the distance along one direction between two space points.

Implements ASpace.

double SpaceSN::getFrequentialDistance ( const SpacePoint p1,
const SpacePoint p2,
const Tensor tensor 
) const
overridevirtual

Return the distance in frequential domain between two space points with the given tensor.

Implements ASpace.

VectorDouble SpaceSN::getIncrement ( const SpacePoint p1,
const SpacePoint p2 
) const
overridevirtual

Return the increment vector between two space points for the current space context.

TODO : SpaceSN::getIncrement

Implements ASpace.

double SpaceSN::getRadius ( ) const
inline
ESpaceType SpaceSN::getType ( ) const
inlineoverridevirtual

Return the concrete space type.

Implements ASpace.

bool SpaceSN::isEqual ( const ASpace space) const
overridevirtual

Return true if the given space is equal to me.

Reimplemented from ASpace.

void SpaceSN::move ( SpacePoint p1,
const VectorDouble vec 
) const
overridevirtual

Move the given space point by the given vector.

TODO : SpaceSN::move

Implements ASpace.

SpaceSN & SpaceSN::operator= ( const SpaceSN r)
String SpaceSN::toString ( const AStringFormat strfmt = nullptr) const
overridevirtual

ICloneable interface.

Reimplemented from ASpace.


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