Class : FullTensorProductStructure
FullTensorProductStructure :
prototype: FullTensorProductStructure ()
description:default constructor
FullTensorProductStructure :
prototype: FullTensorProductStructure (int , int spaceDimension )
description:constructor from number of spaces
input parameters:
nbrSpace = number of spaces
spaceDimension = Total space dimension
FullTensorProductStructure :
prototype: FullTensorProductStructure (const FullTensorProductStructure& structure )
description:copy constructor
input parameters:
structure = reference on structure to copy
~FullTensorProductStructure :
prototype: ~FullTensorProductStructure ()
description:destructor
operator = :
prototype: FullTensorProductStructure& operator = (const FullTensorProductStructure& 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
operator :
prototype: int& operator ( )
description:get index of a given state on a given space
input parameters:
state = state index
space = space index
return value: reference on corresponding index
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 FullTensorProductStructure operator * (const FullTensorProductStructure& ,
const FullTensorProductStructure& 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 FullTensorProductStructure& ,
const FullTensorProductStructure& 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 FullTensorProductStructure& ,
const FullTensorProductStructure& 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 FullTensorProductStructure& 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.