AMDiS 2.10
The Adaptive Multi-Dimensional Simulation Toolbox
GmshWriter< GV > Class Template Reference

The GmshWriter just writes the grid of a given gridView to a gmsh compatible .msh file. More...

#include <GmshWriter.hpp>

Inherits FileWriterBase.

Public Member Functions

 GmshWriter (std::string const &name, GridView const &gridView, std::vector< int > const &physicalEntities=std::vector< int >(), std::vector< int > const &physicalBoundaries=std::vector< int >())
 Constructor.
 
void write (AdaptInfo &adaptInfo, bool force) override
 Implements FileWriterBase::write. More...
 
- Public Member Functions inherited from FileWriterBase
 FileWriterBase (std::string const &base)
 Constructor. Reads common parameters.
 
bool doWrite (AdaptInfo &adaptInfo) const
 Return whether to write the current timestep or not.
 
std::string const & filename () const
 
std::string const & dir () const
 
std::string const & name () const
 
- Public Member Functions inherited from FileWriterInterface
virtual ~FileWriterInterface ()=default
 Virtual destructor.
 
virtual void write (AdaptInfo &adaptInfo, bool force)=0
 Pure virtual method to be implemented by derived classes. More...
 

Additional Inherited Members

- Protected Attributes inherited from FileWriterBase
std::string filename_ = "solution"
 Base part of output filename.
 
std::string dir_ = "."
 Output directory.
 
std::string name_ = "solution"
 Name of the data.
 
int tsModulo_ = 0
 Write every i'th timestep.
 
double timeModulo_ = 0.0
 Write after every time interval.
 

Detailed Description

template<class GV>
class AMDiS::GmshWriter< GV >

The GmshWriter just writes the grid of a given gridView to a gmsh compatible .msh file.

Template Parameters
GVGridView describing the grid to write

Member Function Documentation

◆ write()

void write ( AdaptInfo adaptInfo,
bool  force 
)
inlineoverridevirtual

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