template<class Block, class Hamiltonian>
PetscErrorCode DMRGBlockContainer< Block, Hamiltonian >::Initialize ( )
inline

Initializes the container object with blocks of one site on each of the system and environment.

Note
This function also enforces some restrictions on command line inputs:
  • either -mstates or -mwarmup has to be specified
  • -mstates and -mwarmup are redundant and the value of the latter takes precedence over the other
  • -nsweeps and -msweeps are incompatible and only one of them can be specified at a time
  • -nsweeps and -maxnsweeps are incompatible and only one of them can be specified at a time
  • -nsweeps and -maxnsweeps are incompatible and only one of them can be specified at a time
Note
The following criteria is used to decide the kind of sweeps to be performed:
  • if -nsweeps is specified use SWEEP_MODE_NSWEEPS
  • if -msweeps and -maxnsweeps is specified use SWEEP_MODE_TOLERANCE_TEST
  • if -msweeps is specified, and not -maxnsweeps, use SWEEP_MODE_MSWEEPS

Definition at line 272 of file DMRGBlockContainer.hpp.

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