Generic base-class for dumping a grid function into a file. More...
#include <FileOutput.h>
Public Types | |
typedef base::vec_grid_fct_type | vec_grid_fct_type |
typedef base::vec_grid_data_type | vec_grid_data_type |
typedef GridFunction< DataType, dim > | grid_fct_type |
typedef GridData< DataType, dim > | grid_data_type |
Public Member Functions | |
FileOutput () | |
virtual | ~FileOutput () |
virtual void | register_at (ControlDevice &Ctrl) |
virtual void | register_at (ControlDevice &Ctrl, const std::string &prefix) |
virtual void | init () |
virtual void | update () |
virtual void | finish () |
virtual void | SetupData (GridHierarchy *gh, const int &ghosts) |
virtual void | WriteOut (vec_grid_fct_type &u, grid_fct_type &IOfunc) |
virtual void | WriteOut (grid_fct_type &IOfunc, const char *name) |
virtual void | WriteOut (grid_fct_type &IOfunc, const char *name, const int &Time, const int &Level, const double &t) |
void | WritePlain (grid_fct_type &IOfunc, const char *name, const int &Time, const int &Level, const double &t, const BBox &where=BBox::_empty_bbox, const bool erasefile=true, const bool delayedflush=true) |
virtual void | WriteOut (grid_data_type &IOdata, const char *name, const int &Time, const int &Level, const double &t) |
virtual void | WritePlain (grid_data_type &IOdata, const char *name, const int &Time, const int &Level, const double &t) |
void | OutputFileName (char *ioname, const char *name, const int &Time) |
virtual void | CloseIO () |
void | SetNcnt (const int &cnt) |
const int & | Ncnt () const |
const int & | OutputType () const |
const std::string & | OutputName (const int cnt) const |
Protected Attributes | |
int | _Ncnt |
int | _OutputType |
int | StepFormat |
int | StepDirectories |
std::string * | CompName |
std::string | CompDir |
ControlDevice | LocCtrl |
ControlDevice | WhereCtrl |
BBox | _where |
Generic base-class for dumping a grid function into a file.
typedef GridData<DataType,dim> FileOutput< VectorType, dim >::grid_data_type |
Reimplemented in WENOF77FileOutput< class, dim >, WENOF77GFMFileOutput< class, class, class, dim >, GFMFileOutput< VectorType, FixupType, FlagType, dim >, F77FileOutput< VectorType, dim >, F77GFMFileOutput< VectorType, FixupType, FlagType, dim >, SchemeFileOutput< SchemeType, dim >, SchemeGFMFileOutput< SchemeType, FixupType, FlagType, dim >, and GFMFileOutput< SchemeType::VectorType, FixupType, FlagType, dim >.
typedef GridFunction<DataType,dim> FileOutput< VectorType, dim >::grid_fct_type |
Reimplemented in WENOF77FileOutput< class, dim >, WENOF77GFMFileOutput< class, class, class, dim >, GFMFileOutput< VectorType, FixupType, FlagType, dim >, F77FileOutput< VectorType, dim >, F77GFMFileOutput< VectorType, FixupType, FlagType, dim >, SchemeFileOutput< SchemeType, dim >, SchemeGFMFileOutput< SchemeType, FixupType, FlagType, dim >, and GFMFileOutput< SchemeType::VectorType, FixupType, FlagType, dim >.
typedef base::vec_grid_data_type FileOutput< VectorType, dim >::vec_grid_data_type |
Reimplemented from AMRBase< VectorType, dim >.
Reimplemented in WENOF77FileOutput< class, dim >, and WENOF77GFMFileOutput< class, class, class, dim >.
typedef base::vec_grid_fct_type FileOutput< VectorType, dim >::vec_grid_fct_type |
Reimplemented from AMRBase< VectorType, dim >.
Reimplemented in WENOF77FileOutput< class, dim >, WENOF77GFMFileOutput< class, class, class, dim >, GFMFileOutput< VectorType, FixupType, FlagType, dim >, F77FileOutput< VectorType, dim >, F77GFMFileOutput< VectorType, FixupType, FlagType, dim >, SchemeFileOutput< SchemeType, dim >, SchemeGFMFileOutput< SchemeType, FixupType, FlagType, dim >, and GFMFileOutput< SchemeType::VectorType, FixupType, FlagType, dim >.
FileOutput< VectorType, dim >::FileOutput | ( | ) | [inline] |
virtual FileOutput< VectorType, dim >::~FileOutput | ( | ) | [inline, virtual] |
virtual void FileOutput< VectorType, dim >::CloseIO | ( | ) | [inline, virtual] |
virtual void FileOutput< VectorType, dim >::finish | ( | ) | [inline, virtual] |
Reimplemented from AMRBase< VectorType, dim >.
Referenced by AMRSolverBase< MicroType, FixupType, FlagType, dim >::finish().
virtual void FileOutput< VectorType, dim >::init | ( | ) | [inline, virtual] |
Reimplemented from AMRBase< VectorType, dim >.
Referenced by AMRSolverBase< MicroType, FixupType, FlagType, dim >::init().
const int& FileOutput< VectorType, dim >::Ncnt | ( | ) | const [inline] |
void FileOutput< VectorType, dim >::OutputFileName | ( | char * | ioname, | |
const char * | name, | |||
const int & | Time | |||
) | [inline] |
Referenced by FileOutput< SchemeType::VectorType, dim >::WritePlain().
const std::string& FileOutput< VectorType, dim >::OutputName | ( | const int | cnt | ) | const [inline] |
const int& FileOutput< VectorType, dim >::OutputType | ( | ) | const [inline] |
virtual void FileOutput< VectorType, dim >::register_at | ( | ControlDevice & | Ctrl, | |
const std::string & | prefix | |||
) | [inline, virtual] |
Reimplemented from AMRBase< VectorType, dim >.
Reimplemented in GFMFileOutput< VectorType, FixupType, FlagType, dim >, and GFMFileOutput< SchemeType::VectorType, FixupType, FlagType, dim >.
virtual void FileOutput< VectorType, dim >::register_at | ( | ControlDevice & | Ctrl | ) | [inline, virtual] |
Reimplemented from AMRBase< VectorType, dim >.
Reimplemented in GFMFileOutput< VectorType, FixupType, FlagType, dim >, and GFMFileOutput< SchemeType::VectorType, FixupType, FlagType, dim >.
Referenced by GFMFileOutput< SchemeType::VectorType, FixupType, FlagType, dim >::register_at(), FileOutput< SchemeType::VectorType, dim >::register_at(), and AMRSolverBase< MicroType, FixupType, FlagType, dim >::register_at().
void FileOutput< VectorType, dim >::SetNcnt | ( | const int & | cnt | ) | [inline] |
Referenced by FileOutput< SchemeType::VectorType, dim >::update().
virtual void FileOutput< VectorType, dim >::SetupData | ( | GridHierarchy * | gh, | |
const int & | ghosts | |||
) | [inline, virtual] |
Reimplemented from AMRBase< VectorType, dim >.
Referenced by AMRSolverBase< MicroType, FixupType, FlagType, dim >::SetupGridHierarchy().
virtual void FileOutput< VectorType, dim >::update | ( | ) | [inline, virtual] |
Reimplemented from AMRBase< VectorType, dim >.
Referenced by AMRSolverBase< MicroType, FixupType, FlagType, dim >::update().
virtual void FileOutput< VectorType, dim >::WriteOut | ( | grid_data_type & | IOdata, | |
const char * | name, | |||
const int & | Time, | |||
const int & | Level, | |||
const double & | t | |||
) | [inline, virtual] |
virtual void FileOutput< VectorType, dim >::WriteOut | ( | grid_fct_type & | IOfunc, | |
const char * | name, | |||
const int & | Time, | |||
const int & | Level, | |||
const double & | t | |||
) | [inline, virtual] |
Reimplemented in GFMFileOutput< VectorType, FixupType, FlagType, dim >, F77FileOutput< VectorType, dim >, F77GFMFileOutput< VectorType, FixupType, FlagType, dim >, SchemeFileOutput< SchemeType, dim >, SchemeGFMFileOutput< SchemeType, FixupType, FlagType, dim >, and GFMFileOutput< SchemeType::VectorType, FixupType, FlagType, dim >.
virtual void FileOutput< VectorType, dim >::WriteOut | ( | grid_fct_type & | IOfunc, | |
const char * | name | |||
) | [inline, virtual] |
Reimplemented in GFMFileOutput< VectorType, FixupType, FlagType, dim >, F77FileOutput< VectorType, dim >, F77GFMFileOutput< VectorType, FixupType, FlagType, dim >, SchemeFileOutput< SchemeType, dim >, SchemeGFMFileOutput< SchemeType, FixupType, FlagType, dim >, and GFMFileOutput< SchemeType::VectorType, FixupType, FlagType, dim >.
virtual void FileOutput< VectorType, dim >::WriteOut | ( | vec_grid_fct_type & | u, | |
grid_fct_type & | IOfunc | |||
) | [inline, virtual] |
Reimplemented in GFMFileOutput< VectorType, FixupType, FlagType, dim >, F77FileOutput< VectorType, dim >, F77GFMFileOutput< VectorType, FixupType, FlagType, dim >, SchemeFileOutput< SchemeType, dim >, SchemeGFMFileOutput< SchemeType, FixupType, FlagType, dim >, and GFMFileOutput< SchemeType::VectorType, FixupType, FlagType, dim >.
Referenced by AMRSolverBase< MicroType, FixupType, FlagType, dim >::Output(), SchemeFileOutput< SchemeType, dim >::WriteOut(), GFMFileOutput< SchemeType::VectorType, FixupType, FlagType, dim >::WriteOut(), FileOutput< SchemeType::VectorType, dim >::WriteOut(), and F77FileOutput< VectorType, dim >::WriteOut().
virtual void FileOutput< VectorType, dim >::WritePlain | ( | grid_data_type & | IOdata, | |
const char * | name, | |||
const int & | Time, | |||
const int & | Level, | |||
const double & | t | |||
) | [inline, virtual] |
void FileOutput< VectorType, dim >::WritePlain | ( | grid_fct_type & | IOfunc, | |
const char * | name, | |||
const int & | Time, | |||
const int & | Level, | |||
const double & | t, | |||
const BBox & | where = BBox::_empty_bbox , |
|||
const bool | erasefile = true , |
|||
const bool | delayedflush = true | |||
) | [inline] |
int FileOutput< VectorType, dim >::_Ncnt [protected] |
int FileOutput< VectorType, dim >::_OutputType [protected] |
BBox FileOutput< VectorType, dim >::_where [protected] |
std::string FileOutput< VectorType, dim >::CompDir [protected] |
std::string* FileOutput< VectorType, dim >::CompName [protected] |
Referenced by FileOutput< SchemeType::VectorType, dim >::FileOutput(), FileOutput< SchemeType::VectorType, dim >::finish(), FileOutput< SchemeType::VectorType, dim >::OutputName(), FileOutput< SchemeType::VectorType, dim >::register_at(), FileOutput< SchemeType::VectorType, dim >::update(), SchemeGFMFileOutput< SchemeType, FixupType, FlagType, dim >::WriteOut(), SchemeFileOutput< SchemeType, dim >::WriteOut(), FileOutput< SchemeType::VectorType, dim >::WriteOut(), F77FileOutput< VectorType, dim >::WriteOut(), and FileOutput< SchemeType::VectorType, dim >::~FileOutput().
ControlDevice FileOutput< VectorType, dim >::LocCtrl [protected] |
Reimplemented from AMRBase< VectorType, dim >.
Referenced by GFMFileOutput< SchemeType::VectorType, FixupType, FlagType, dim >::register_at(), and FileOutput< SchemeType::VectorType, dim >::register_at().
int FileOutput< VectorType, dim >::StepDirectories [protected] |
int FileOutput< VectorType, dim >::StepFormat [protected] |
ControlDevice FileOutput< VectorType, dim >::WhereCtrl [protected] |
Referenced by FileOutput< SchemeType::VectorType, dim >::register_at().