Karamelo  714599e9
Parallel Material Point Method Simulator
Output Class Reference

Detailed Description

This class generates all the code's outputs: logs, dumps, ...

+ Inheritance diagram for Output:

Public Member Functions

void add_dump (vector< string >)
 add a Dump to Dump list
 
void add_plot (vector< string >)
 add a Plot to Plot list
 
void delete_dump (string)
 delete a Dump from Dump list
 
void delete_plot (string)
 delete a Plot from Plot list
 
int find_dump (string)
 find a Dump in Dump list
 
int find_plot (string)
 find a Plot in Plot list
 
void modify_dump (vector< string >)
 modify a Dump
 
void modify_plot (vector< string >)
 modify a Plot
 
void set_log (vector< string >)
 set log output frequency
 
void show_plot ()
 show plot
 
void write (bigint)
 output for current timestep
 

Public Attributes

vector< class Dump * > dumps
 list of defined Dumps
 
vector< int > every_dump
 write freq for each Dump, 0 if var
 
int every_log
 freq for log output
 
vector< int > every_plot
 write freq for each Plot, 0 if var
 
vector< bigint > last_dump
 last timestep each snapshot was output
 
vector< bigint > last_plot
 last timestep each snapshot was output
 
int ndumps
 number of defined Dumps, should always be equal to dumps.size()
 
bigint next
 next timestep for any kind of output
 
vector< bigint > next_dump
 next timestep to do each Dump
 
bigint next_dump_any
 next timestep for any Dump
 
bigint next_log
 next timestep for log output
 
vector< bigint > next_plot
 next timestep for plot output
 
bigint next_plot_any
 next timestep for any Plot
 
int nplots
 number of defined Plots, should always be equal to plots.size()
 
string ofile_plot
 filename to save the plot to
 
vector< class Plot * > plots
 list of defined Plots
 
bool save_plot
 true to save plot in file
 

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