Class documentation of Concepts

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

#include <dataDX.hh>

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

Public Member Functions

 DataDXCounts (VertexList *vtxList=0)
 
void add (uint a)
 Increments the counter for the points by a.
 
uint counts () const
 Returns the number of points.
 
virtual void operator() (const concepts::Element< Real > &elm)
 
virtual void operator() (const concepts::Cell &)
 
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 - point counter. This class is responsible of counting the number of points to write 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 208 of file dataDX.hh.

Constructor & Destructor Documentation

◆ DataDXCounts()

graphics::DataDXCounts::DataDXCounts ( VertexList vtxList = 0)

Constructor.

Parameters
vtxListList of the vertices and their coordinates. This is only needed if the solution should also be plotted in the corners of the elements. Therefore, they are also counted. Give a 0 pointer if you don't want the corners to be counted.

Member Function Documentation

◆ add()

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

Increments the counter for the points by a.

Definition at line 222 of file dataDX.hh.

◆ info()

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

◆ operator()() [1/2]

virtual void graphics::DataDXCounts::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 228 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: