CosmoGRaPH v0.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
cosmo::IOData Class Reference

#include <IOData.h>

Collaboration diagram for cosmo::IOData:
Collaboration graph
[legend]

Public Member Functions

 IOData (std::string output_dir_in)
 
 IOData (std::string output_dir_in, int verbosity_in)
 
void log (std::string message)
 Write message to log file; console out if desired.
 
void debug (std::string message)
 Only write if in debug mode.
 
void backupFile (std::string file)
 Copy a file to the output dir.
 
std::string dir ()
 Return output directory.
 

Private Member Functions

void _init (std::string output_dir_in, int verbosity_in)
 

Private Attributes

int verbosity
 
std::string output_dir
 
std::ofstream logfile
 
idx_t slice_output_interval
 
idx_t grid_output_interval
 
idx_t meta_output_interval
 
idx_t spec_output_interval
 

Detailed Description

I/O class


The documentation for this class was generated from the following file: