Class documentation of Concepts

Loading...
Searching...
No Matches
graphics::DataDXCoordinates Class Referenceabstract

#include <dataDX.hh>

Inheritance diagram for graphics::DataDXCoordinates:
concepts::CellPostprocess< Real > concepts::OutputOperator

Public Member Functions

 DataDXCoordinates (std::ostream &os, const uint count, VertexList *vtxList=0, const uint dim=2)
 
void add (uint a)
 Increments the counter for the quads or cubes by a.
 
void inc ()
 Increments cntCoords_ by 1.
 
uint counts () const
 
virtual void operator() (const concepts::Element< Real > &elm)
 
virtual void operator() (const concepts::Cell &)
 
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.
 

Detailed Description

Graphics in OpenDX - coordinates. This class writes the coordinates of the points 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).

See also
DataDX the executor class
drawDataDX the trampoline function of DataDX
Author
Philipp Frauenfelder, 2000

Definition at line 251 of file dataDX.hh.

Constructor & Destructor Documentation

◆ DataDXCoordinates()

graphics::DataDXCoordinates::DataDXCoordinates ( std::ostream &  os,
const uint  count,
VertexList vtxList = 0,
const uint  dim = 2 
)

Constructor.

Parameters
osOutput stream where the OpenDX data should be written to
countNumber of points
vtxListList of the vertices and their coordinates. This is only needed if the solution should also be plotted in the corners of the elements. Give a 0 pointer if you don't want the corners to be written to the file.
dimSpatial dimension of the problem

Member Function Documentation

◆ add()

void graphics::DataDXCoordinates::add ( uint  a)
inline

Increments the counter for the quads or cubes by a.

Definition at line 269 of file dataDX.hh.

◆ counts()

uint graphics::DataDXCoordinates::counts ( ) const

Returns the number of quads or cubes which have to be built with connections.

◆ inc()

void graphics::DataDXCoordinates::inc ( )
inline

Increments cntCoords_ by 1.

Definition at line 272 of file dataDX.hh.

◆ info()

virtual std::ostream & concepts::CellPostprocess< Real >::info ( std::ostream &  os) const
protectedvirtualinherited

◆ operator()() [1/2]

virtual void graphics::DataDXCoordinates::operator() ( const concepts::Cell cell)
inlinevirtual

Application operator. This application operator has to be overloaded to post process a mesh.

Parameters
cellCurrent cell

Implements concepts::CellPostprocess< Real >.

Definition at line 280 of file dataDX.hh.

◆ operator()() [2/2]

virtual void concepts::CellPostprocess< Real >::operator() ( const Element< Real > &  elm)
pure virtualinherited

Application operator. This application operator has to be overloaded to post process a space.

Parameters
elmCurrent element

Implemented in concepts::CellFaceIntegral< F >, and concepts::CellEdgeIntegral< F >.


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