Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Protected Member Functions | Private Attributes
graphics::DataDXCounts Class Reference

Graphics in OpenDX - point counter. More...

#include <dataDX.hh>

Inheritance diagram for graphics::DataDXCounts:
Inheritance graph
[legend]
Collaboration diagram for graphics::DataDXCounts:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void add (uint a)
 Increments the counter for the points by a.
uint counts () const
 Returns the number of points.
 DataDXCounts (VertexList *vtxList=0)
 Constructor.
virtual void operator() (const concepts::Element< Real > &elm)
virtual void operator() (const Element< Real > &elm)=0
 Application operator.
virtual void operator() (const concepts::Cell &)
 Application operator.

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.

Private Attributes

uint counts_
 Counter for the number of points.
VertexListvtxList_
 List of the vertices.

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 221 of file dataDX.hh.


Constructor & Destructor Documentation

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

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

Increments the counter for the points by a.

Definition at line 235 of file dataDX.hh.

uint graphics::DataDXCounts::counts ( ) const

Returns the number of points.

virtual std::ostream& concepts::CellPostprocess< Real >::info ( std::ostream &  os) const [protected, virtual, inherited]
virtual void graphics::DataDXCounts::operator() ( const concepts::Cell cell) [inline, virtual]

Application operator.

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

Parameters:
cellCurrent cell

Implements concepts::CellPostprocess< Real >.

Definition at line 241 of file dataDX.hh.

virtual void concepts::CellPostprocess< Real >::operator() ( const Element< Real > &  elm) [pure virtual, inherited]

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 >.

virtual void graphics::DataDXCounts::operator() ( const concepts::Element< Real > &  elm) [virtual]

Member Data Documentation

Counter for the number of points.

Definition at line 244 of file dataDX.hh.

List of the vertices.

Definition at line 247 of file dataDX.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)