chombo-discharge
Namespaces | Functions
CD_DataParser.H File Reference

Declaration of various routines for simple parsing of input data. More...

#include <List.H>
#include <CD_PointParticle.H>
#include <CD_LookupTable.H>
#include <CD_NamespaceHeader.H>
#include <CD_NamespaceFooter.H>
Include dependency graph for CD_DataParser.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 DataParser
 Class for simple data parsing from IO files.
 

Functions

LookupTable1D< Real, 1 > DataParser::simpleFileReadASCII (const std::string a_fileName, const int a_xColumn=0, const int a_yColumn=1, const std::vector< char > a_ignoreChars={'#', '/'})
 Simple file parser which reads a file and puts the data into two columns (a lookup table). More...
 
LookupTable1D< Real, 1 > DataParser::fractionalFileReadASCII (const std::string a_fileName, const std::string a_startRead, const std::string a_stopRead, const int a_xColumn=0, const int a_yColumn=1, const std::vector< char > a_ignoreChars={'#', '/'})
 Simple ASCII file parser which reads a file and puts the data into two columns (a lookup table) More...
 
List< PointParticleDataParser::readPointParticlesASCII (const std::string a_fileName, const unsigned int a_xColumn=0, const unsigned int a_yColumn=1, const unsigned int a_zColumn=2, const unsigned int a_wColumn=3, const std::vector< char > a_ignoreChars={'#', '/'})
 Simple file parser which will read particles (position/weight) from an ASCII file. More...
 

Detailed Description

Declaration of various routines for simple parsing of input data.

Author
Robert Marskar