Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

hp1D/lineGraphics.hh
Go to the documentation of this file.
00001 /* Graphics for 1D hp FEM
00002  */
00003 
00004 #ifndef lineGraphics_hh
00005 #define lineGraphics_hh
00006 
00007 #include "basics/typedefs.hh"
00008 #include "toolbox/elementGraphics.hh"
00009 
00010 namespace graphics {
00011 
00012   // forward declaration
00013   template<class F, class G>
00014   class BaseElementFormulaCell;
00015 }
00016 
00017 namespace hp1D {
00018 
00019   // forward declaration
00020   template<class F>
00021   class Element;
00022 
00023   using concepts::Real;
00024 
00025   // ********************************************************** LineGraphics **
00026 
00030   class LineGraphics : public concepts::ElementGraphics<Real> {
00031   public:
00032     virtual void operator()(const concepts::Element<Real>& elm,
00033                             enum graphicsType type,
00034                             concepts::CellPostprocess<Real>& post) const;
00035   protected:
00036     virtual std::ostream& info(std::ostream& os) const;
00037   private:
00038     template<class G>
00039     bool writeMatlab_
00040     (const Element<Real>& elm,
00041      graphics::BaseElementFormulaCell<G,Real>* stream) const;
00042   };
00043 
00044 } // namespace hp1D
00045 
00046 #endif // lineGraphics_hh

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)