Graphics in OpenDX - point counter. More...
#include <dataDX.hh>


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. | |
| VertexList * | vtxList_ |
| List of the vertices. | |
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).
| graphics::DataDXCounts::DataDXCounts | ( | VertexList * | vtxList = 0 | ) |
Constructor.
| 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. |
| void graphics::DataDXCounts::add | ( | uint | a | ) | [inline] |
| uint graphics::DataDXCounts::counts | ( | ) | const |
Returns the number of points.
| virtual std::ostream& concepts::CellPostprocess< Real >::info | ( | std::ostream & | os | ) | const [protected, virtual, inherited] |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in EvaluateEa_of_x, CellA_M_alpha_of_x, CellA_M_of_x_MC, graphics::BaseMeshCell, graphics::VertexList, hp2D::APrioriRefinement, hp3D::APrioriRefinement, concepts::CellIntegral< F >, concepts::CellFaceIntegral< F >, concepts::CellEdgeIntegral< F >, and graphics::BaseOutputCell< Real >.
| 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.
| cell | Current cell |
Implements concepts::CellPostprocess< Real >.
| 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.
| elm | Current element |
Implemented in concepts::CellFaceIntegral< F >, and concepts::CellEdgeIntegral< F >.
| virtual void graphics::DataDXCounts::operator() | ( | const concepts::Element< Real > & | elm | ) | [virtual] |
uint graphics::DataDXCounts::counts_ [private] |
VertexList* graphics::DataDXCounts::vtxList_ [private] |