Class : TensorProductStructure
TensorProductStructure :
prototype: TensorProductStructure ()
description:default constructor
TensorProductStructure :
prototype: TensorProductStructure (int nbrSpace )
description:constructor from number of spaces
input parameters:
nbrSpace = number of spaces
TensorProductStructure :
prototype: TensorProductStructure (const TensorProductStructure& structure )
description:copy constructor
input parameters:
structure = reference on structure to copy
~TensorProductStructure :
prototype: ~TensorProductStructure ()
description:destructor
operator = :
prototype: TensorProductStructure& operator = (const TensorProductStructure& structure )
description:assignement
input parameters:
structure = reference on structure to assign
return value: reference on current structure
GetDimension :
prototype: int GetDimension (int space )
description:return dimension of a given space
input parameters:
space = space index
return value: space dimension
SetDimension :
prototype: void SetDimension (int , int dimension )
description:set dimension of a given space
input parameters:
space = space index
dimension = new dimension
GetIncrement :
prototype: int GetIncrement (int space )
description:return increment to go to the following component for a given space
input parameters:
space = space index
return value: increment
GetTotalDimension :
prototype: int GetTotalDimension ()
description:return total space dimension
input parameters:
return value: dimension
GetNbrSpace :
prototype: int GetNbrSpace ()
description:return number of spaces
input parameters:
return value: number of spaces
operator * :
prototype: friend TensorProductStructure operator * (const TensorProductStructure& ,
const TensorProductStructure& structure2 )
description:return tensor product structure of a space obtained by tensor product of two tensor spaces
input parameters:
structure1 = first structure
structure2 = second structure
return value: structure corresponding to the new tensor space
operator == :
prototype: friend bool operator == (const TensorProductStructure& ,
const TensorProductStructure& structure2 )
description:test if two tensor product structures are equivalent
input parameters:
structure1 = first structure
structure2 = second structure
return value: true if structures are equivalent
operator != :
prototype: friend bool operator != (const TensorProductStructure& ,
const TensorProductStructure& structure2 )
description:test if two tensor product structures are different
input parameters:
structure1 = first structure
structure2 = second structure
return value: true if structures are different
operator << :
prototype: friend ostream& operator << (ostream& , const TensorProductStructure& structure )
description:print information on current tensor product structure
input parameters:
str = output stream
structure = structure to print
return value: reference on output stream
Back to index.