Class : ThierryChain
ThierryChain :
prototype: ThierryChain ()
description:default constructor
ThierryChain :
prototype: ThierryChain (int , int , int , int memorySize )
description:constructor for complete Hilbert space with no restriction on total spin projection Sz
input parameters:
spin2ChainLength = number of spin 2
spin3_2ChainLength = number of spin 3/2
sz = twice the value of total Sz component
memorySize = memory size in bytes allowed for look-up table
ThierryChain :
prototype: ThierryChain (const ThierryChain& chain )
description:copy constructor (without duplicating datas)
input parameters:
chain = reference on chain to copy
~ThierryChain :
prototype: ~ThierryChain ()
description:destructor
operator = :
prototype: ThierryChain& operator = (const ThierryChain& chain )
description:assignement (without duplicating datas)
input parameters:
chain = reference on chain to copy
return value: reference on current chain
Reinitialize :
prototype: ThierryChain& Reinitialize (int sz )
description:re-initialize chain with another total Sz component
input parameters:
sz = twice the value of total Sz component
return value: reference on current chain
GetHilbertSpaceDimension :
prototype: int GetHilbertSpaceDimension ()
description:return Hilbert space dimension
input parameters:
return value: Hilbert space dimension
SmiSpj :
prototype: int SmiSpj (int , int , int , double* coefficient )
description:return index of resulting state from application of S-_i S+_j operator on a given state
input parameters:
i = position of S- operator
j = position of S+ operator
state = index of the state to be applied on S-_i S+_j operator
coefficient = pointer to double where numerical coefficient has to be stored
return value: index of resulting state
SziSzj :
prototype: double SziSzj (int , int , int state )
description:return eigenvalue of Sz_i Sz_j associated to a given state
input parameters:
i = position of left Sz operator
j = position of right Sz operator
state = index of the state to consider
return value: corresponding eigenvalue
FindStateIndex :
prototype: int FindStateIndex (unsigned long state )
description:find state index
input parameters:
state = state description
return value: corresponding index
PrintState :
prototype: ostream& PrintState (ostream& , int state )
description:print a given State
input parameters:
Str = reference on current output stream
state = ID of the state to print
return value: reference on current output stream
Back to index.