Class documentation of Concepts

Loading...
Searching...
No Matches
hp2D::BaseQuadGraphics< F > Class Template Reference

#include <baseQuadGraphics.hh>

Inheritance diagram for hp2D::BaseQuadGraphics< F >:
concepts::ElementGraphics< F > concepts::ElementGraphicsBase concepts::OutputOperator hp2D::QuadGraphics< F > hp2Dedge::QuadGraphics< F >

Public Types

enum  graphicsType {
  DATA_DX_COUNTS , DATA_DX_COORDINATES , DATA_DX_CONNECTIONS , DATA_DX_DATA ,
  MESH_GNUPLOT , DATA_GNUPLOT , MESH_EPS , MESH_EPS_INIT ,
  MESH_MATLAB , MESH_DX , VERTEX_LIST , TOPOLOGY_DOTTY ,
  DATA_MATLAB , MATLAB , TECPLOT , DENSEMATRIX ,
  MESH_DENSEMATRIX
}
 

Public Member Functions

 BaseQuadGraphics ()
 Constructor.
 
virtual void operator() (const concepts::Element< F > &elm, enum concepts::ElementGraphicsBase::graphicsType type, concepts::CellPostprocess< F > &post) const
 
void setValue (const concepts::ElementFunction< Real, F > *value)
 Gives the appropiate element function.
 
void setValue (const concepts::ElementFunction< Cmplx, F > *value)
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Detailed Description

template<class F>
class hp2D::BaseQuadGraphics< F >

Base class for handling graphics for 2D hp quadrilateral FEM elements.

Author
Kersten Schmidt, 2005

Definition at line 32 of file baseQuadGraphics.hh.

Member Enumeration Documentation

◆ graphicsType

enum concepts::ElementGraphicsBase::graphicsType
inherited

Definition at line 27 of file elementGraphics.hh.

Member Function Documentation

◆ info()

template<class F >
virtual std::ostream & hp2D::BaseQuadGraphics< F >::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Reimplemented in hp2D::QuadGraphics< F >, and hp2Dedge::QuadGraphics< F >.

◆ operator()()

template<class F >
virtual void hp2D::BaseQuadGraphics< F >::operator() ( const concepts::Element< F > &  elm,
enum concepts::ElementGraphicsBase::graphicsType  type,
concepts::CellPostprocess< F > &  post 
) const
virtual

Writes necessary data to a file for graphics. This method is called by the application operator of the object which should create the graphics file. Such an object is a specialization of CellPostprocess. It is best if an element returns an object of this type.

Parameters
elmElement which should be depicted
typeType of graphics
postCalling CellPostprocess specialization, might be necessary to get some data
See also
CellPostprocess
Element

Implements concepts::ElementGraphics< F >.

Reimplemented in hp2D::QuadGraphics< F >, and hp2Dedge::QuadGraphics< F >.


The documentation for this class was generated from the following file: