hexahedronGraphics.hh

Go to the documentation of this file.
1 
6 #ifndef hexGraphics_hh
7 #define hexGraphics_hh
8 
9 #include "function.hh"
10 #include "basics/typedefs.hh"
12 #include "graphics/matrixBasis.hh"
13 
14 namespace hp3D {
15 
16  using concepts::Real;
17 
18  // Forward declaration
19  class Hexahedron;
20  template<class F, class G>
21  class Value;
22  // **************************************************** HexahedronGraphics **
23 
28  public:
29 
32 
33  virtual void operator()(const concepts::Element<Real>& elm,
34  enum graphicsType type, concepts::CellPostprocess<Real>& post) const;
35 
36  protected:
37 
43  bool handleDenseMatrix_(const Hexahedron& hexa,
45 
51  bool writeDenseMatrix_(const Hexahedron & quad,
53 
61  bool countDenseMatrix_(const Hexahedron& hexa,
62  graphics::MatrixCounterCell* bdc) const;
63 
69  template<class G>
70  bool writeDenseMatrix_(const Hexahedron & hexa,
72 
78  template<class G>
79  bool writeDenseMatrix_(const Hexahedron& quad,
81 
82  virtual std::ostream& info(std::ostream& os) const;
83 
84  private:
85 
86  //Returns a pointer to the ElementFunction hp3d::Value<Real, Real>
88 
89  //Returns a pointer to the ElementFunction hp3d::Value<Real, Cmplx>
90  void value_(
92 
95 
98 
99  };
100 
101 } // namespace hp3D
102 
103 #endif // hexGraphics_hh
Handles graphics output (to a file) of a specific element.
Definition: element.hh:16
Class for writing the values of the solution of a PDE on the quadrature points of the space in a Dens...
Definition: matrixBasis.hh:331
bool countDenseMatrix_(const Hexahedron &hexa, graphics::MatrixCounterCell *bdc) const
Counts the nuber of integration points, the number of sub-hexahedrons builded by the integration poin...
A 3D FEM element: a hexahedron.
Definition: hexahedron.hh:37
const hp3D::Value< Real, Real > valueR_
Real element function of the value.
Handles graphics for hexahedral 3D hp FEM elements.
bool writeDenseMatrix_(const Hexahedron &quad, graphics::MatrixSpaceOutputCell< Real > *bdc) const
Writes geometry informations of an hp3d::Space into matrices hold by the CellPostProcess MatrixSpaceO...
const hp3D::Value< concepts::Cmplx, Real > valueC_
Complex element function of the value.
bool writeDenseMatrix_(const Hexahedron &hexa, graphics::MatrixSolutionEvaluationCell< G, Real > *bdc) const
Writes values from a FEM Solution on the quadrature points of the hexaedron into an ElementMatrix.
bool handleDenseMatrix_(const Hexahedron &hexa, concepts::CellPostprocess< Real > &post) const
Handles a concepts::CellPostProcess with graphicsType DENSEMATRIX.
Class that collects information about the mesh/space it iterates over, that are used for MatrixBasisO...
Definition: matrixBasis.hh:33
void value_(const concepts::ElementFunction< Real, Real > *&fun) const
virtual void operator()(const concepts::Element< Real > &elm, enum graphicsType type, concepts::CellPostprocess< Real > &post) const
virtual std::ostream & info(std::ostream &os) const
bool writeDenseMatrix_(const Hexahedron &quad, graphics::MatrixBaseElementFormulaCell< G, Real > *bdc) const
Writes values from an ElementFormula on the quadrature points of the quad into an ElementMatrix.
Class for writing the graphical output of an element formula to ElementMatrices.
Definition: matrixBasis.hh:259
void value_(const concepts::ElementFunction< concepts::Cmplx, Real > *&fun) const
3D hp-FEM for H1-conforming elements.
Definition: meshDX.hh:23
double Real
Type normally used for a floating point number.
Definition: typedefs.hh:36
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich