template<typename T >
PetscErrorCode RetrieveInfoFile ( const MPI_Comm &  mpi_comm,
const std::string &  filename,
std::map< std::string, T > &  infomap 
)

Utility to retrieve the contents of a key-value data file where the keys are strings and the values are of a given type T.

Template Parameters
Ttype which the value will be casted into
Parameters
mpi_commcommunicator
filenamepath to input file
infomapstores the key-value pairs

Definition at line 79 of file MiscTools.hpp.

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