DUNE-FEM (unstable)

IOInterface to write data to hard disk. More...

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

Public Member Functions

virtual ~IOInterface ()
 destructor
 
virtual void writeData (double sequenceStamp) const =0
 write data with a given sequence stamp More...
 
virtual void write (const TimeProviderBase &tp) const =0
 write given data to disc, evaluates parameter savecount and savestep More...
 
virtual void write () const =0
 write given data to disc, evaluates parameter savecount
 

Static Public Member Functions

static std::string defaultGridKey (int dimension, bool check=true)
 return FEM key for macro grid reading
 
static std::string defaultGridKey (std::string base, int dimension, const ParameterReader &parameter, bool check=true)
 return FEM key for macro grid reading
 
static void createPath (const std::string &path)
 create given path in combination with rank
 
static std::string createPathName (const std::string &pathPref, int rank)
 create given path in combination with rank
 
static std::string readPath ()
 
template<class CommunicatorType >
static void createGlobalPath (const CommunicatorType &comm, const std::string &path)
 create global path for data output
 

Protected Member Functions

 IOInterface ()
 default constructor
 

Detailed Description

IOInterface to write data to hard disk.

An interface class:

Member Function Documentation

◆ readPath()

static std::string Dune::Fem::IOInterface::readPath ( )
inlinestatic

standard path reading and creation method rank is added to output path

References Dune::Fem::Parameter::commonOutputPath().

Referenced by Dune::Fem::CheckPointer< GridImp >::restoreGrid().

◆ write()

virtual void Dune::Fem::IOInterface::write ( const TimeProviderBase tp) const
pure virtual

write given data to disc, evaluates parameter savecount and savestep

Parameters
tptime provider for time and step

Implemented in Dune::Fem::DataOutput< GridImp, DataImp >.

◆ writeData()

virtual void Dune::Fem::IOInterface::writeData ( double  sequenceStamp) const
pure virtual

write data with a given sequence stamp

Parameters
sequenceStampstamp for the data set

Implemented in Dune::Fem::DataOutput< GridImp, DataImp >.


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (May 3, 22:32, 2024)