Implementation of the Dune::Fem::IOInterface. This class manages data output. Available output formats are GRAPE, VTK and VTK Vertex projected using the VtxProjection operator. Details can be found in DiscFuncIO.
More...
#include <dune/fem/io/file/dataoutput.hh>
|
| DataOutput (const GridType &grid, OutPutDataType &data, std::unique_ptr< const DataOutputParameters > parameters) |
| Constructor creating data output class. More...
|
|
| DataOutput (const GridType &grid, OutPutDataType &data, const DataOutputParameters ¶meter) |
| Constructor creating data output class. More...
|
|
| DataOutput (const GridType &grid, OutPutDataType &data, const TimeProviderBase &tp, std::unique_ptr< const DataOutputParameters > parameters) |
| Constructor creating data writer. More...
|
|
| DataOutput (const GridType &grid, OutPutDataType &data, const TimeProviderBase &tp, const DataOutputParameters ¶meter) |
| Constructor creating data writer. More...
|
|
virtual bool | willWrite (const TimeProviderBase &tp) const |
| returns true if data will be written on next write call
|
|
virtual bool | willWrite () const |
| returns true if data will be written on next write call
|
|
void | write (const std::string &outstring) const |
| write given data to disc, evaluates parameter savecount More...
|
|
void | write () const |
| write given data to disc, evaluates parameter savecount
|
|
void | write (const TimeProviderBase &tp, const std::string &outstring) const |
| write given data to disc, evaluates parameter savecount and savestep More...
|
|
void | write (const TimeProviderBase &tp) const |
| write given data to disc, evaluates parameter savecount and savestep More...
|
|
void | writeData (double sequenceStamp, const std::string &outstring) const |
| write data with a given sequence stamp and outstring More...
|
|
void | writeData (double sequenceStamp) const |
| write data with a given sequence stamp More...
|
|
virtual const char * | myClassName () const |
| print class name
|
|
const std::string & | path () const |
| return output path name
|
|
int | writeStep () const |
| return write step
|
|
int | writeCalls () const |
| return write calls
|
|
double | saveTime () const |
| return save time
|
|
|
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 ¶meter, 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
|
|
|
virtual void | writeBinaryData (const double) const |
| write binary data
|
|
virtual void | display () const |
| display data with grape
|
|
template<class OutputTupleType > |
void | grapeDisplay (OutputTupleType &data) const |
| display data with grape
|
|
template<class GridImp, class DataImp>
class Dune::Fem::DataOutput< GridImp, DataImp >
Implementation of the Dune::Fem::IOInterface. This class manages data output. Available output formats are GRAPE, VTK and VTK Vertex projected using the VtxProjection operator. Details can be found in DiscFuncIO.
◆ DataOutput() [1/4]
template<class GridImp , class DataImp >
Constructor creating data output class.
- Parameters
-
grid | corresponding grid |
data | Tuple containing discrete functions to write |
parameters | structure for tuning the behavior of the Dune::DataOutput defaults to Dune::DataOutputParameters |
◆ DataOutput() [2/4]
template<class GridImp , class DataImp >
Constructor creating data output class.
- Parameters
-
grid | corresponding grid |
data | Tuple containing discrete functions to write |
parameter | structure for tuning the behavior of the Dune::DataOutput defaults to Dune::DataOutputParameters |
◆ DataOutput() [3/4]
template<class GridImp , class DataImp >
Constructor creating data writer.
- Parameters
-
grid | corresponding grid |
data | Tuple containing discrete functions to write |
tp | a time provider to set time (e.g. for restart) |
parameters | structure for tuning the behavior of the Dune::DataOutput defaults to Dune::DataOutputParameters |
◆ DataOutput() [4/4]
template<class GridImp , class DataImp >
Constructor creating data writer.
- Parameters
-
grid | corresponding grid |
data | Tuple containing discrete functions to write |
tp | a time provider to set time (e.g. for restart) |
parameter | structure for tuning the behavior of the Dune::DataOutput defaults to Dune::DataOutputParameters |
◆ readPath()
static std::string Dune::Fem::IOInterface::readPath |
( |
| ) |
|
|
inlinestaticinherited |
◆ write() [1/3]
template<class GridImp , class DataImp >
◆ write() [2/3]
template<class GridImp , class DataImp >
◆ write() [3/3]
template<class GridImp , class DataImp >
◆ writeData() [1/2]
template<class GridImp , class DataImp >
◆ writeData() [2/2]
template<class GridImp , class DataImp >
void Dune::Fem::DataOutput< GridImp, DataImp >::writeData |
( |
double |
sequenceStamp, |
|
|
const std::string & |
outstring |
|
) |
| const |
|
inline |
The documentation for this class was generated from the following file: