elementGraphics.hh

Go to the documentation of this file.
1 
6 #ifndef elGraphics_hh
7 #define elGraphics_hh
8 
10 
11 namespace concepts {
12 
13  // forward declarations
14  template<class F>
15  class Element;
16 
17  template<class F>
18  class CellPostprocess;
19 
20  // *************************************************** ElementGraphicsBase **
21 
25  class ElementGraphicsBase : public virtual OutputOperator {
26  public:
44  };
45  };
46 
47  // ******************************************************* ElementGraphics **
48 
64  template<typename F = int>
65  class ElementGraphics : public ElementGraphicsBase {
66  public:
80  virtual void operator()(const Element<F>& elm,
81  enum graphicsType type,
82  CellPostprocess<F>& post) const = 0;
83  };
84 
146 } // namespace concepts
147 
148 #endif // elGraphics_hh
An abstract class for an element of a space.
Definition: exceptions.hh:15
virtual void operator()(const Element< F > &elm, enum graphicsType type, CellPostprocess< F > &post) const =0
Writes necessary data to a file for graphics.
GenericElement< KarniadakisMixin< F > > Element
template aliases for backwards compatibility
Definition: element.hh:270
Base class for graphics output, which holds graphics types.
Class providing an output operator.
Abstract class for per cell postprocessing.
Definition: postProcess.hh:38
Basic namespace for Concepts-2.
Definition: pml_formula.h:16
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich