#include <dataDX.hh>
Public Member Functions | |
DataDXData (std::ostream &os, const concepts::Vector< Real > &solution, const uint count, const std::string &name, VertexList *vtxList=0) | |
DataDXData (std::ostream &os, const concepts::Formula< Real > &frm, const uint count, const std::string &name, VertexList *vtxList=0) | |
DataDXData (std::ostream &os, const concepts::ElementFormula< Real > &frm, const uint count, const std::string &name, VertexList *vtxList=0) | |
virtual void | operator() (const concepts::Element< Real > &elm) |
virtual void | operator() (const concepts::Cell &) |
const concepts::Formula< Real > * | formula () const |
const concepts::Array< Real > & | coeff () const |
const concepts::ElementFormula< Real > * | elementFormula () const |
void | write (const float x) const |
Writes a float in binary format to the output stream. | |
virtual void | operator() (const Element< Real > &elm)=0 |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Graphics in OpenDX - data. This class writes the solution to the file.
You should not use this class directly, Instead, use the executor class DataDX or (even simpler) its trampoline function drawDataDX (which hides the template parameter of DataDX).
graphics::DataDXData::DataDXData | ( | std::ostream & | os, |
const concepts::Vector< Real > & | solution, | ||
const uint | count, | ||
const std::string & | name, | ||
VertexList * | vtxList = 0 |
||
) |
Constructor. Prepares to plot the given solution.
os | Output stream where the OpenDX data should be written to |
solution | The vector containing the variable which should be plotted |
count | Number of points |
name | Name of the solution |
vtxList | List of the vertices and their coordinates |
graphics::DataDXData::DataDXData | ( | std::ostream & | os, |
const concepts::Formula< Real > & | frm, | ||
const uint | count, | ||
const std::string & | name, | ||
VertexList * | vtxList = 0 |
||
) |
Constructor. Prepares to plot the given formula.
os | Output stream where the DX data should be written to |
frm | Formula to be plotted |
count | Number of points |
name | Name of the solution |
vtxList | List of the vertices and their coordinates |
graphics::DataDXData::DataDXData | ( | std::ostream & | os, |
const concepts::ElementFormula< Real > & | frm, | ||
const uint | count, | ||
const std::string & | name, | ||
VertexList * | vtxList = 0 |
||
) |
Constructor. Prepares to plot the given formula.
os | Output stream where the DX data should be written to |
frm | Formula to be plotted (given elementwise) |
count | Number of points |
name | Name of the solution |
vtxList | List of the vertices and their coordinates |
|
inline |
|
inline |
|
inline |
|
protectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in graphics::MatrixCounterCell, graphics::VertexList, hp2D::APrioriRefinement, hp3D::APrioriRefinement, concepts::CellIntegral< F >, concepts::CellFaceIntegral< F >, and concepts::CellEdgeIntegral< F >.
|
inlinevirtual |
Application operator. This application operator has to be overloaded to post process a mesh.
cell | Current cell |
Implements concepts::CellPostprocess< Real >.
|
pure virtualinherited |
Application operator. This application operator has to be overloaded to post process a space.
elm | Current element |
Implemented in concepts::CellFaceIntegral< F >, and concepts::CellEdgeIntegral< F >.