dune-fem 2.8.0
Loading...
Searching...
No Matches
Classes | Public Types | Static Public Member Functions | Static Public Attributes | List of all members
Dune::Fem::IOTuple< Tuple > Class Template Reference

#include <dune/fem/io/file/iotuple.hh>

Inheritance diagram for Dune::Fem::IOTuple< Tuple >:
Inheritance graph

Public Types

typedef Tuple ReturnType
 
typedef PersistenceManager::BackupStreamType OutStreamType
 
typedef PersistenceManager::RestoreStreamType InStreamType
 

Static Public Member Functions

template<class GridType >
static Tuple * input (GridType *&grid, double &time, const int rank, const int size, const std::string &path, const std::string &name)
 
template<class GridType >
static void restoreData (Tuple &data, const GridType &grid, const std::string &path, const std::string &name)
 restore all data in tupel
 
template<class GridType >
static void output (const GridType &grid, const double time, const std::string &path, const std::string &name, const Tuple &tuple)
 write grid and data to given directory
 
template<class Disp , class DINFO >
static void addToDisplay (Disp &disp, const DINFO *dinf, double time, Tuple &tuple)
 
template<class Disp , class DINFO >
static void addToDisplayOrRemove (Disp &disp, const DINFO *dinf, double time, Tuple &tuple)
 
template<class Disp >
static void addToDisplay (Disp &disp, Tuple &tuple)
 
static void removeData (Tuple &tuple)
 
static std::string pathAndName (const std::string &path, const std::string &name, const std::string &suffix)
 
static std::string gridName (const std::string &path, const std::string &name)
 
static std::string dataName (const std::string &path, const std::string &name)
 
static std::string rankName (const std::string &path, const std::string &name, const int rank, const int size)
 
template<class GridType >
static void restoreGrid (GridType *&grid, InStreamType &inStream, const std::string &filename)
 
template<class GridType >
static void restoreDofManager (const GridType &grid, InStreamType &inStream)
 
template<class GridType >
static void writeGrid (const GridType &grid, OutStreamType &outStream, const std::string &filename)
 write grid and data to given directory
 

Static Public Attributes

static const int length = std::tuple_size< Tuple >::value
 
static const bool singleBackupRestoreFile = PersistenceManager :: singleBackupRestoreFile
 

Member Typedef Documentation

◆ InStreamType

◆ OutStreamType

◆ ReturnType

template<class Tuple >
typedef Tuple Dune::Fem::IOTuple< Tuple >::ReturnType

Member Function Documentation

◆ addToDisplay() [1/2]

template<class Tuple >
template<class Disp , class DINFO >
static void Dune::Fem::IOTuple< Tuple >::addToDisplay ( Disp &  disp,
const DINFO *  dinf,
double  time,
Tuple &  tuple 
)
inlinestatic

◆ addToDisplay() [2/2]

template<class Tuple >
template<class Disp >
static void Dune::Fem::IOTuple< Tuple >::addToDisplay ( Disp &  disp,
Tuple &  tuple 
)
inlinestatic

◆ addToDisplayOrRemove()

template<class Tuple >
template<class Disp , class DINFO >
static void Dune::Fem::IOTuple< Tuple >::addToDisplayOrRemove ( Disp &  disp,
const DINFO *  dinf,
double  time,
Tuple &  tuple 
)
inlinestatic

◆ dataName()

static std::string Dune::Fem::IOTupleBase::dataName ( const std::string &  path,
const std::string &  name 
)
inlinestaticinherited

◆ gridName()

static std::string Dune::Fem::IOTupleBase::gridName ( const std::string &  path,
const std::string &  name 
)
inlinestaticinherited

◆ input()

template<class Tuple >
template<class GridType >
static Tuple * Dune::Fem::IOTuple< Tuple >::input ( GridType *&  grid,
double &  time,
const int  rank,
const int  size,
const std::string &  path,
const std::string &  name 
)
inlinestatic

◆ output()

template<class Tuple >
template<class GridType >
static void Dune::Fem::IOTuple< Tuple >::output ( const GridType &  grid,
const double  time,
const std::string &  path,
const std::string &  name,
const Tuple &  tuple 
)
inlinestatic

write grid and data to given directory

◆ pathAndName()

static std::string Dune::Fem::IOTupleBase::pathAndName ( const std::string &  path,
const std::string &  name,
const std::string &  suffix 
)
inlinestaticinherited

◆ rankName()

static std::string Dune::Fem::IOTupleBase::rankName ( const std::string &  path,
const std::string &  name,
const int  rank,
const int  size 
)
inlinestaticinherited

◆ removeData()

template<class Tuple >
static void Dune::Fem::IOTuple< Tuple >::removeData ( Tuple &  tuple)
inlinestatic

◆ restoreData()

template<class Tuple >
template<class GridType >
static void Dune::Fem::IOTuple< Tuple >::restoreData ( Tuple &  data,
const GridType &  grid,
const std::string &  path,
const std::string &  name 
)
inlinestatic

restore all data in tupel

◆ restoreDofManager()

template<class GridType >
static void Dune::Fem::IOTupleBase::restoreDofManager ( const GridType &  grid,
InStreamType inStream 
)
inlinestaticinherited

◆ restoreGrid()

template<class GridType >
static void Dune::Fem::IOTupleBase::restoreGrid ( GridType *&  grid,
InStreamType inStream,
const std::string &  filename 
)
inlinestaticinherited

◆ writeGrid()

template<class GridType >
static void Dune::Fem::IOTupleBase::writeGrid ( const GridType &  grid,
OutStreamType outStream,
const std::string &  filename 
)
inlinestaticinherited

write grid and data to given directory

Member Data Documentation

◆ length

template<class Tuple >
const int Dune::Fem::IOTuple< Tuple >::length = std::tuple_size< Tuple >::value
static

◆ singleBackupRestoreFile

const bool Dune::Fem::IOTupleBase::singleBackupRestoreFile = PersistenceManager :: singleBackupRestoreFile
staticinherited

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