graphics::DataDXCounts Class Referenceabstract
Graphics in OpenDX - point counter. More...
#include <dataDX.hh>
Public Member Functions | |
void | add (uint a) |
Increments the counter for the points by a . More... | |
uint | counts () const |
Returns the number of points. More... | |
DataDXCounts (VertexList *vtxList=0) | |
Constructor. More... | |
virtual void | operator() (const concepts::Cell &) |
Application operator. More... | |
virtual void | operator() (const concepts::Element< Real > &elm) |
virtual void | operator() (const Element< Real > &elm)=0 |
Application operator. More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Private Attributes | |
uint | counts_ |
Counter for the number of points. More... | |
VertexList * | vtxList_ |
List of the vertices. More... | |
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
Constructor & Destructor Documentation
◆ DataDXCounts()
graphics::DataDXCounts::DataDXCounts | ( | VertexList * | vtxList = 0 | ) |
Constructor.
- Parameters
-
vtxList List 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()
|
inline |
◆ counts()
uint graphics::DataDXCounts::counts | ( | ) | const |
Returns the number of points.
◆ info()
|
protectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in concepts::CellEdgeIntegral< F >, concepts::CellFaceIntegral< F >, concepts::CellIntegral< F >, hp3D::APrioriRefinement, hp2D::APrioriRefinement, graphics::VertexList, graphics::MatrixCounterCell, graphics::BaseMeshCell, graphics::BaseOutputCell< F >, and graphics::BaseOutputCell< Real >.
◆ operator()() [1/3]
|
inlinevirtual |
Application operator.
This application operator has to be overloaded to post process a mesh.
- Parameters
-
cell Current cell
Implements concepts::CellPostprocess< Real >.
◆ operator()() [2/3]
|
virtual |
◆ operator()() [3/3]
|
pure virtualinherited |
Application operator.
This application operator has to be overloaded to post process a space.
- Parameters
-
elm Current element
Implemented in concepts::CellEdgeIntegral< F >, and concepts::CellFaceIntegral< F >.
Member Data Documentation
◆ counts_
|
private |
◆ vtxList_
|
private |
The documentation for this class was generated from the following file:
- graphics/dataDX.hh