FileOutput< VectorType, dim > Class Template Reference

Generic base-class for dumping a grid function into a file. More...

#include <FileOutput.h>

Inheritance diagram for FileOutput< VectorType, dim >:
AMRBase< VectorType, dim > controlable F77FileOutput< VectorType, dim > GFMFileOutput< VectorType, FixupType, FlagType, dim > GFMFileOutput< SchemeType::VectorType, FixupType, FlagType, dim > F77GFMFileOutput< VectorType, FixupType, FlagType, dim > SchemeGFMFileOutput< SchemeType, FixupType, FlagType, dim >

List of all members.

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

Detailed Description

template<class VectorType, int dim>
class FileOutput< VectorType, dim >

Generic base-class for dumping a grid function into a file.

Author:
Ralf Deiterding
Version:
1.0
Date:
Jul-2004

Member Typedef Documentation


Constructor & Destructor Documentation

template<class VectorType, int dim>
FileOutput< VectorType, dim >::FileOutput (  )  [inline]
template<class VectorType, int dim>
virtual FileOutput< VectorType, dim >::~FileOutput (  )  [inline, virtual]

Member Function Documentation

template<class VectorType, int dim>
virtual void FileOutput< VectorType, dim >::CloseIO (  )  [inline, virtual]
template<class VectorType, int dim>
virtual void FileOutput< VectorType, dim >::finish (  )  [inline, virtual]
template<class VectorType, int dim>
virtual void FileOutput< VectorType, dim >::init (  )  [inline, virtual]
template<class VectorType, int dim>
void FileOutput< VectorType, dim >::OutputFileName ( char *  ioname,
const char *  name,
const int &  Time 
) [inline]
template<class VectorType, int dim>
const std::string& FileOutput< VectorType, dim >::OutputName ( const int  cnt  )  const [inline]
template<class VectorType, int dim>
const int& FileOutput< VectorType, dim >::OutputType (  )  const [inline]
template<class VectorType, int dim>
virtual void FileOutput< VectorType, dim >::register_at ( ControlDevice Ctrl,
const std::string &  prefix 
) [inline, virtual]
template<class VectorType, int dim>
void FileOutput< VectorType, dim >::SetNcnt ( const int &  cnt  )  [inline]
template<class VectorType, int dim>
virtual void FileOutput< VectorType, dim >::SetupData ( GridHierarchy gh,
const int &  ghosts 
) [inline, virtual]
template<class VectorType, int dim>
virtual void FileOutput< VectorType, dim >::update (  )  [inline, virtual]
template<class VectorType, int dim>
virtual void FileOutput< VectorType, dim >::WriteOut ( grid_data_type IOdata,
const char *  name,
const int &  Time,
const int &  Level,
const double &  t 
) [inline, virtual]
template<class VectorType, int dim>
virtual void FileOutput< VectorType, dim >::WritePlain ( grid_data_type IOdata,
const char *  name,
const int &  Time,
const int &  Level,
const double &  t 
) [inline, virtual]
template<class VectorType, int dim>
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]

Member Data Documentation

template<class VectorType, int dim>
int FileOutput< VectorType, dim >::_Ncnt [protected]
template<class VectorType, int dim>
ControlDevice FileOutput< VectorType, dim >::WhereCtrl [protected]

The documentation for this class was generated from the following file:
Generated on Thu Jun 30 02:19:31 2016 for AMROC Fluid-solver Framework by  doxygen 1.6.3