PTEMS  0.1.0-dev+git.81fd0e4
PolyTopic Element Method Solver
ptems::WritableVariable< DIM > Struct Template Referenceabstract

Interface for defining a variable type which can be written to a data file. More...

#include <ptems/io/datafilewriter.hpp>

Inheritance diagram for ptems::WritableVariable< DIM >:

Public Member Functions

virtual void WriteVariable (DataFileWriter< DIM > &writer, const std::string &name) const =0
 Output the variable to the data file. More...
 

Detailed Description

template<std::size_t DIM>
struct ptems::WritableVariable< DIM >

Interface for defining a variable type which can be written to a data file.

Template Parameters
DIMThe dimension of the underlying mesh

Member Function Documentation

◆ WriteVariable()

template<std::size_t DIM>
virtual void ptems::WritableVariable< DIM >::WriteVariable ( DataFileWriter< DIM > &  writer,
const std::string name 
) const
pure virtual

Output the variable to the data file.

Parameters
writerThe writer for the data file
nameThe name for the variable

Implemented in ptems::DiscreteFunctionSpace< DIM, X, N >::SpacePolynomialDegree, ptems::DiscreteFunction< DIM, X, N, 1 >, and ptems::DiscreteFunction< DIM, X, N, LEN >.


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