Initializes block object with input attributes and array of matrix operators.
If num_states_in is PETSC_DEFAULT, the number of states is calculated exactly from the number of sites When creating a block for one site, the single-site operators are initialized using the default values and matrix operators for spin-1/2 defined in Block::SpinBase::loc_dim, Block::SpinBase::loc_qn_list and Block::SpinBase::loc_qn_size When more than one site is requested, all operator matrices are created with the correct sizes based on the number of states
Definition at line 44 of file DMRGBlock.cpp. |