lineGraphics.hh

Go to the documentation of this file.
1 
6 #ifndef lineGraphics_hh
7 #define lineGraphics_hh
8 
9 #include "basics/typedefs.hh"
11 
12 namespace graphics {
13 
14  // forward declaration
15  template<class F, class G>
16  class BaseElementFormulaCell;
17 
18  template<class F, class G> // defined in graphics/matrixBasis.hh
19  class MatrixBaseElementFormulaCell;
20 
21  template<class F>
22  class MatrixSpaceOutputCell; // defined in graphics/matrixBasis.hh
23 
24  class MatrixCounterCell; // defined in graphics/matrixBasis.hh
25 }
26 
27 namespace hp1D {
28 
29  // forward declaration
30  template<class F>
31  class BaseElement; // defined in hp1D/element.hh
32 
33  using concepts::Real;
34 
35  // ********************************************************** LineGraphics **
36 
40  class LineGraphics : public concepts::ElementGraphics<Real> {
41  public:
42  virtual void operator()(const concepts::Element<Real>& elm,
43  enum graphicsType type,
45  protected:
46  virtual std::ostream& info(std::ostream& os) const;
47  private:
48  template<class G>
50  (const BaseElement<Real>& elm,
52 
58 
64 
68  template<class G>
71 
74  graphics::MatrixCounterCell* bdc) const;
75  };
76 
77 } // namespace hp1D
78 
79 #endif // lineGraphics_hh
Handles graphics output (to a file) of a specific element.
Definition: element.hh:16
virtual std::ostream & info(std::ostream &os) const
bool countDenseMatrix_(const BaseElement< Real > &elm, graphics::MatrixCounterCell *bdc) const
Count the number of nodes, edges and quads in the mesh.
Handles graphics for 1D hp FEM elements.
Definition: lineGraphics.hh:40
bool writeDenseMatrix_(const BaseElement< Real > &elm, graphics::MatrixBaseElementFormulaCell< G, Real > *bdc) const
Writes values from an ElementFormula on the quadrature points of the quad into an ElementMatrix.
bool writeDenseMatrix_(const BaseElement< Real > &elm, graphics::MatrixSpaceOutputCell< Real > *bdc) const
Writes geometric informations, attributes and quadrature weights of the element into an ElementMatrix...
bool handleDenseMatrix_(const BaseElement< Real > &elm, concepts::CellPostprocess< Real > &post) const
Handle and casts different CellPostProcesses to Cell post processes that store element informations i...
Class that collects information about the mesh/space it iterates over, that are used for MatrixBasisO...
Definition: matrixBasis.hh:33
Graphics.
Definition: basis.hh:33
Writes element formula for a cell to the given streams.
Definition: basis.hh:186
Class for writing the graphical output of an element formula to ElementMatrices.
Definition: matrixBasis.hh:259
virtual void operator()(const concepts::Element< Real > &elm, enum graphicsType type, concepts::CellPostprocess< Real > &post) const
bool writeMatlab_(const BaseElement< Real > &elm, graphics::BaseElementFormulaCell< G, Real > *stream) const
double Real
Type normally used for a floating point number.
Definition: typedefs.hh:36
1D hp-FEM
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich