quadGraphics.hh

Go to the documentation of this file.
1 
6 #ifndef quadGraphics_hh
7 #define quadGraphics_hh
8 
9 #include "baseQuadGraphics.hh"
10 
11 namespace hp2D {
12 
13  // forward declaration
14  class InfiniteQuad;
15 
16  // ********************************************************** QuadGraphics **
17 
21  template<class F>
22  class QuadGraphics : public BaseQuadGraphics<F> {
23  public:
25  virtual void operator()
26  (const concepts::Element<F>& elm,
28  concepts::CellPostprocess<F>& post) const;
29  protected:
30  virtual std::ostream& info(std::ostream& os) const;
31  };
32 
33  // ************************************************** InfiniteQuadGraphics **
34 
40  public:
42  virtual void operator()
43  (const concepts::Element<Real>& elm,
46  protected:
47  virtual std::ostream& info(std::ostream& os) const;
48  private:
49  template<class F>
51  (const InfiniteQuad& quad, graphics::BaseDataCell<F>* stream) const;
52  };
53 
54  namespace l2 {
55 
56  // ******************************************************** QuadGraphics **
57 
62  template<class F>
63  class QuadGraphics : public BaseQuadGraphics<F> {
64  public:
66  virtual void operator()
67  (const concepts::Element<F>& elm,
69  concepts::CellPostprocess<F>& post) const;
70  protected:
71  virtual std::ostream& info(std::ostream& os) const;
72  };
73 
74 
75  } // namespace hp2D::l2
76 
77 } // namespace hp2D
78 
79 #endif // quadGraphics_hh
Handles graphics output (to a file) of a specific element.
Definition: element.hh:16
An abstract class for an element of a space.
Definition: exceptions.hh:15
virtual std::ostream & info(std::ostream &os) const
Handles graphics for 2D hp quadrilateral FEM elements.
Definition: quadGraphics.hh:22
virtual std::ostream & info(std::ostream &os) const
virtual std::ostream & info(std::ostream &os) const
A 2D FEM element: an infinite quad.
Definition: quad.hh:317
Handles graphics for 2D hp quadrilateral FEM elements.
Definition: quadGraphics.hh:63
2D hp-FEM for H1-conforming elements.
Class for writing the graphical output of a FE solution represented by a coefficient vector (and poss...
Definition: basis.hh:140
bool writeMatlab_(const InfiniteQuad &quad, graphics::BaseDataCell< F > *stream) const
Handles graphics for 2D hp quadrilateral infinite FEM elements.
Definition: quadGraphics.hh:39
Base class for handling graphics for 2D hp quadrilateral FEM elements.
Abstract class for per cell postprocessing.
Definition: postProcess.hh:38
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich