template<class Block, class Hamiltonian>
PetscErrorCode DMRGBlockContainer< Block, Hamiltonian >::SingleSweep ( const PetscInt &  MStates,
const PetscInt &  MinBlock = PETSC_DEFAULT 
)
inline

Performs a single sweep from center to right, and back to center.

Todo:
Ensure that all operator data have been dumped to file efficiently. This might require writing a new function that dumps operators without explicitly destroying the block object.
Parameters
MStatesthe maximum number of states to keep after each truncation
MinBlockthe minimum block length when performing sweeps. Defaults to 1

Definition at line 996 of file DMRGBlockContainer.hpp.

This site was generated by Sphinx using Doxygen with a customized theme from doxygen-bootstrapped.