PetscErrorCode SetOptionsFromFile ( MPI_Comm &  mpi_comm,
const std::string &  filename 
)

Reads a file containing keys and values and sets them as command line arguments.

The contents of the file must take the form:

-key1   <value1>
-key2   <value2>
...
Parameters
mpi_commcommunicator
filenamepath to input file

Definition at line 329 of file MiscTools.cpp.

Referenced by DMRGBlockContainer< Block, Hamiltonian >::Initialize(), and RetrieveInfoFile().

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