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

Output using VTK. More...

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

Inheritance diagram for Dune::Fem::VTKIOBase< GridPart, subsampling >:
Inheritance graph

Classes

class  PartitioningData
 
class  SubsamplingVTKWriter
 
class  VolumeData
 
class  VTKWriter
 

Public Types

typedef GridPart GridPartType
 
typedef GridPartType::GridType GridType
 
typedef GridPartType::IndexSetType IndexSetType
 

Public Member Functions

 ~VTKIOBase ()
 
const GridPartTypegridPart () const
 return grid part
 
template<class DF >
void addCellData (DF &df, const std::string &dataName="")
 
template<class DF >
void addVectorCellData (DF &df, const std::string &dataName="", int startPoint=0)
 
template<class DF >
void addVertexData (DF &df, const std::string &dataName="")
 
template<class DF >
void addVectorVertexData (DF &df, const std::string &dataName="", int startPoint=0)
 
void clear ()
 
std::string write (const std::string &name, VTK::OutputType type)
 
std::string write (const std::string &name)
 
std::string pwrite (const std::string &name, const std::string &path, const std::string &extendpath, VTK::OutputType type)
 
std::string pwrite (const std::string &name, const std::string &path, const std::string &extendpath)
 
std::string write (const std::string &name, VTK::OutputType type, const int rank, const int size)
 
std::string write (const std::string &name, const int rank, const int size)
 

Protected Types

typedef GridPart::GridViewType GridViewType
 
typedef std::conditional< subsampling, SubsamplingVTKWriter, VTKWriter >::type VTKWriterType
 

Protected Member Functions

int getPartitionParameter (const ParameterReader &parameter=Parameter::container()) const
 
 VTKIOBase (const GridPartType &gridPart, VTKWriterType *vtkWriter, const ParameterReader &parameter=Parameter::container())
 
void addPartitionData (const int myRank=-1)
 

Static Protected Member Functions

template<class DF >
static bool notComplex ()
 

Protected Attributes

const GridPartTypegridPart_
 
VTKWriterTypevtkWriter_
 
int addPartition_
 
VTK::OutputType type_
 

Detailed Description

template<class GridPart, bool subsampling>
class Dune::Fem::VTKIOBase< GridPart, subsampling >

Output using VTK.

Member Typedef Documentation

◆ GridPartType

template<class GridPart , bool subsampling>
typedef GridPart Dune::Fem::VTKIOBase< GridPart, subsampling >::GridPartType

◆ GridType

template<class GridPart , bool subsampling>
typedef GridPartType::GridType Dune::Fem::VTKIOBase< GridPart, subsampling >::GridType

◆ GridViewType

template<class GridPart , bool subsampling>
typedef GridPart::GridViewType Dune::Fem::VTKIOBase< GridPart, subsampling >::GridViewType
protected

◆ IndexSetType

template<class GridPart , bool subsampling>
typedef GridPartType::IndexSetType Dune::Fem::VTKIOBase< GridPart, subsampling >::IndexSetType

◆ VTKWriterType

template<class GridPart , bool subsampling>
typedef std::conditional<subsampling,SubsamplingVTKWriter,VTKWriter>::type Dune::Fem::VTKIOBase< GridPart, subsampling >::VTKWriterType
protected

Constructor & Destructor Documentation

◆ VTKIOBase()

template<class GridPart , bool subsampling>
Dune::Fem::VTKIOBase< GridPart, subsampling >::VTKIOBase ( const GridPartType gridPart,
VTKWriterType vtkWriter,
const ParameterReader parameter = Parameter::container() 
)
inlineprotected

◆ ~VTKIOBase()

template<class GridPart , bool subsampling>
Dune::Fem::VTKIOBase< GridPart, subsampling >::~VTKIOBase ( )
inline

Member Function Documentation

◆ addCellData()

template<class GridPart , bool subsampling>
template<class DF >
void Dune::Fem::VTKIOBase< GridPart, subsampling >::addCellData ( DF &  df,
const std::string &  dataName = "" 
)
inline

◆ addPartitionData()

template<class GridPart , bool subsampling>
void Dune::Fem::VTKIOBase< GridPart, subsampling >::addPartitionData ( const int  myRank = -1)
inlineprotected

◆ addVectorCellData()

template<class GridPart , bool subsampling>
template<class DF >
void Dune::Fem::VTKIOBase< GridPart, subsampling >::addVectorCellData ( DF &  df,
const std::string &  dataName = "",
int  startPoint = 0 
)
inline

◆ addVectorVertexData()

template<class GridPart , bool subsampling>
template<class DF >
void Dune::Fem::VTKIOBase< GridPart, subsampling >::addVectorVertexData ( DF &  df,
const std::string &  dataName = "",
int  startPoint = 0 
)
inline

◆ addVertexData()

template<class GridPart , bool subsampling>
template<class DF >
void Dune::Fem::VTKIOBase< GridPart, subsampling >::addVertexData ( DF &  df,
const std::string &  dataName = "" 
)
inline

◆ clear()

template<class GridPart , bool subsampling>
void Dune::Fem::VTKIOBase< GridPart, subsampling >::clear ( )
inline

◆ getPartitionParameter()

template<class GridPart , bool subsampling>
int Dune::Fem::VTKIOBase< GridPart, subsampling >::getPartitionParameter ( const ParameterReader parameter = Parameter::container()) const
inlineprotected

◆ gridPart()

template<class GridPart , bool subsampling>
const GridPartType & Dune::Fem::VTKIOBase< GridPart, subsampling >::gridPart ( ) const
inline

return grid part

◆ notComplex()

template<class GridPart , bool subsampling>
template<class DF >
static bool Dune::Fem::VTKIOBase< GridPart, subsampling >::notComplex ( )
inlinestaticprotected

◆ pwrite() [1/2]

template<class GridPart , bool subsampling>
std::string Dune::Fem::VTKIOBase< GridPart, subsampling >::pwrite ( const std::string &  name,
const std::string &  path,
const std::string &  extendpath 
)
inline

◆ pwrite() [2/2]

template<class GridPart , bool subsampling>
std::string Dune::Fem::VTKIOBase< GridPart, subsampling >::pwrite ( const std::string &  name,
const std::string &  path,
const std::string &  extendpath,
VTK::OutputType  type 
)
inline

◆ write() [1/4]

template<class GridPart , bool subsampling>
std::string Dune::Fem::VTKIOBase< GridPart, subsampling >::write ( const std::string &  name)
inline

◆ write() [2/4]

template<class GridPart , bool subsampling>
std::string Dune::Fem::VTKIOBase< GridPart, subsampling >::write ( const std::string &  name,
const int  rank,
const int  size 
)
inline

◆ write() [3/4]

template<class GridPart , bool subsampling>
std::string Dune::Fem::VTKIOBase< GridPart, subsampling >::write ( const std::string &  name,
VTK::OutputType  type 
)
inline

◆ write() [4/4]

template<class GridPart , bool subsampling>
std::string Dune::Fem::VTKIOBase< GridPart, subsampling >::write ( const std::string &  name,
VTK::OutputType  type,
const int  rank,
const int  size 
)
inline

Member Data Documentation

◆ addPartition_

template<class GridPart , bool subsampling>
int Dune::Fem::VTKIOBase< GridPart, subsampling >::addPartition_
protected

◆ gridPart_

template<class GridPart , bool subsampling>
const GridPartType& Dune::Fem::VTKIOBase< GridPart, subsampling >::gridPart_
protected

◆ type_

template<class GridPart , bool subsampling>
VTK::OutputType Dune::Fem::VTKIOBase< GridPart, subsampling >::type_
protected

◆ vtkWriter_

template<class GridPart , bool subsampling>
VTKWriterType* Dune::Fem::VTKIOBase< GridPart, subsampling >::vtkWriter_
protected

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