MADNESS 0.10.1
Namespaces | Functions
misc.h File Reference

Header to declare stuff which has not yet found a home. More...

#include <madness/world/madness_exception.h>
#include <iostream>
#include <string>
Include dependency graph for misc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  madness
 Namespace for all elements and tools of MADNESS.
 

Functions

unsigned long madness::checksum_file (const char *filename)
 Simple checksum for ASCII characters in file.
 
void madness::gprofexit (int id, int nproc)
 Rename gmon.out for each process by ordering process termination.
 
std::string madness::lowercase (const std::string &s)
 
std::istream & madness::position_stream (std::istream &f, const std::string &tag, bool rewind=true)
 
std::istream & madness::position_stream_to_word (std::istream &f, const std::string &tag, const char comment, bool rewind, bool silent)
 position the input stream to tag, which must be a word (not part of a word)
 
std::string madness::unique_fileid ()
 creates a unique filename, using PBS ID if available
 

Detailed Description

Header to declare stuff which has not yet found a home.