Tells where to read from and save the operators and data about the block.
The blocks are going to be read from the read_dir_in
directory during the first retrieval and then save_dir_in
for succeeding reads. This comes in useful for the sweep stage of the DMRG algorithm, when we want to read the resulting operators of the previous sweep and write the files back into a different subdirectory for the current sweep. The switch is done by Retrieve_NoChecks().
This function also resets the counter in the number of reads performed in the PetscInt Block::SpinBase::num_reads parameter
- Parameters
-
read_dir_in | Directory to initially read-in block object's data |
write_dir_in | Directory to store block object's data |
Definition at line 857 of file DMRGBlock.cpp.
Referenced by loc_qn_size().