32 #ifndef MADNESS_MISC_MISC_H__INCLUDED
33 #define MADNESS_MISC_MISC_H__INCLUDED
44 std::istream&
position_stream(std::istream&
f,
const std::string& tag,
bool rewind=
true);
46 const char comment=
'#',
bool rewind=
true,
bool silent=
false);
47 std::string
lowercase(
const std::string& s);
Defines madness::MadnessException for exception handling.
File holds all helper structures necessary for the CC_Operator and CC2 class.
Definition: DFParameters.h:10
static const char * filename
Definition: legendre.cc:96
std::istream & position_stream(std::istream &f, const std::string &tag, bool rewind=true)
Definition: position_stream.cc:37
unsigned long checksum_file(const char *filename)
Simple checksum for ASCII characters in file.
Definition: checksum_file.cc:47
void gprofexit(int id, int nproc)
Rename gmon.out for each process by ordering process termination.
Definition: gprofexit.cc:41
NDIM & f
Definition: mra.h:2416
std::string lowercase(const std::string &s)
Definition: position_stream.cc:86
std::string unique_fileid()
creates a unique filename, using PBS ID if available
Definition: unique_filename.cc:10
std::istream & position_stream_to_word(std::istream &f, const std::string &tag, const char comment='#', bool rewind=true, bool silent=false)
position the input stream to tag, which must be a word (not part of a word)
Definition: position_stream.cc:56