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

Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
hp2D::BaseQuadGraphics< F > Class Template Reference

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

#include <baseQuadGraphics.hh>

Inheritance diagram for hp2D::BaseQuadGraphics< F >:
Inheritance graph
[legend]
Collaboration diagram for hp2D::BaseQuadGraphics< F >:
Collaboration graph
[legend]

List of all members.

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
 Writes necessary data to a file for graphics.
void setValue (const concepts::ElementFunction< Real, F > *value)
 Gives the appropiate element function.
void setValue (const concepts::ElementFunction< Cmplx, F > *value)
 ~BaseQuadGraphics ()

Protected Member Functions

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

Private Member Functions

bool countDenseMatrix_ (const BaseQuad< F > &quad, graphics::MatrixBaseOutputCell< F > *bdc) const
bool handleDenseMatrix_ (const BaseQuad< F > &quad, concepts::CellPostprocess< F > &post) const
void value_ (const concepts::ElementFunction< Real, F > *&fun) const
 Returns a pointer to the appropiate element function of the value.
void value_ (const concepts::ElementFunction< Cmplx, F > *&fun) const
template<class G >
bool writeDenseMatrix_ (const BaseQuad< F > &quad, graphics::MatrixSolutionEvaluationCell< G, F > *bdc) const
template<class G >
bool writeDenseMatrix_ (const BaseQuad< F > &quad, graphics::MatrixBaseDataCell< G, F > *bdc) const
template<class G >
bool writeDenseMatrix_ (const BaseQuad< F > &quad, graphics::MatrixBaseElementFormulaCell< G, F > *bdc) const
void writeGnuplot_ (const BaseQuad< F > &quad, concepts::CellPostprocess< F > &post) const
 Gnuplot output of data.
template<typename G >
bool writeMatlab_ (const BaseQuad< F > &quad, graphics::BaseElementFormulaCell< G, F > *stream) const
 Matlab output of an element formula.
void writeMatlab_ (const BaseQuad< F > &quad, concepts::CellPostprocess< F > &post) const
 Matlab output, calls the right method dependent from cell post process.
template<typename G >
bool writeMatlab_ (const BaseQuad< F > &quad, graphics::BaseDataCell< G, F > *stream) const
 Matlab output of FEM solution.
template<typename G >
bool writeTecplot_ (const BaseQuad< F > &quad, graphics::BaseElementFormulaCell< G, F > *stream) const
 Tecplot output of an element formula.
void writeTecplot_ (const BaseQuad< F > &quad, concepts::CellPostprocess< F > &post) const
 Tecplot output, calls the right method dependent from cell post process.
template<typename G >
bool writeTecplot_ (const BaseQuad< F > &quad, graphics::BaseDataCell< G, F > *stream) const
 Tecplot output of FEM solution.

Private Attributes

concepts::Real2d p_
 Local coordinates in [0,1]^2 (intermediate data)
const
concepts::ElementFunction
< Cmplx, F > * 
valueC_
 Complex element function of the value itself.
const
concepts::ElementFunction
< Real, F > * 
valueR_
 Real element function of the value itself.
concepts::Real2d x_
 Actual coordinates (intermediate data)

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 28 of file baseQuadGraphics.hh.


Member Enumeration Documentation

Enumerator:
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 

Definition at line 25 of file elementGraphics.hh.


Constructor & Destructor Documentation

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

Constructor.

template<class F >
hp2D::BaseQuadGraphics< F >::~BaseQuadGraphics ( )

Member Function Documentation

template<class F >
bool hp2D::BaseQuadGraphics< F >::countDenseMatrix_ ( const BaseQuad< F > &  quad,
graphics::MatrixBaseOutputCell< F > *  bdc 
) const [private]
template<class F >
bool hp2D::BaseQuadGraphics< F >::handleDenseMatrix_ ( const BaseQuad< F > &  quad,
concepts::CellPostprocess< F > &  post 
) const [private]
template<class F >
virtual std::ostream& hp2D::BaseQuadGraphics< F >::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

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

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 >.

template<class F >
void hp2D::BaseQuadGraphics< F >::setValue ( const concepts::ElementFunction< Real, F > *  value)

Gives the appropiate element function.

template<class F >
void hp2D::BaseQuadGraphics< F >::setValue ( const concepts::ElementFunction< Cmplx, F > *  value)
template<class F >
void hp2D::BaseQuadGraphics< F >::value_ ( const concepts::ElementFunction< Real, F > *&  fun) const [private]

Returns a pointer to the appropiate element function of the value.

template<class F >
void hp2D::BaseQuadGraphics< F >::value_ ( const concepts::ElementFunction< Cmplx, F > *&  fun) const [private]
template<class F >
template<class G >
bool hp2D::BaseQuadGraphics< F >::writeDenseMatrix_ ( const BaseQuad< F > &  quad,
graphics::MatrixSolutionEvaluationCell< G, F > *  bdc 
) const [private]
template<class F >
template<class G >
bool hp2D::BaseQuadGraphics< F >::writeDenseMatrix_ ( const BaseQuad< F > &  quad,
graphics::MatrixBaseDataCell< G, F > *  bdc 
) const [private]
template<class F >
template<class G >
bool hp2D::BaseQuadGraphics< F >::writeDenseMatrix_ ( const BaseQuad< F > &  quad,
graphics::MatrixBaseElementFormulaCell< G, F > *  bdc 
) const [private]
template<class F >
void hp2D::BaseQuadGraphics< F >::writeGnuplot_ ( const BaseQuad< F > &  quad,
concepts::CellPostprocess< F > &  post 
) const [private]

Gnuplot output of data.

template<class F >
template<typename G >
bool hp2D::BaseQuadGraphics< F >::writeMatlab_ ( const BaseQuad< F > &  quad,
graphics::BaseElementFormulaCell< G, F > *  stream 
) const [private]

Matlab output of an element formula.

template<class F >
void hp2D::BaseQuadGraphics< F >::writeMatlab_ ( const BaseQuad< F > &  quad,
concepts::CellPostprocess< F > &  post 
) const [private]

Matlab output, calls the right method dependent from cell post process.

template<class F >
template<typename G >
bool hp2D::BaseQuadGraphics< F >::writeMatlab_ ( const BaseQuad< F > &  quad,
graphics::BaseDataCell< G, F > *  stream 
) const [private]

Matlab output of FEM solution.

template<class F >
template<typename G >
bool hp2D::BaseQuadGraphics< F >::writeTecplot_ ( const BaseQuad< F > &  quad,
graphics::BaseDataCell< G, F > *  stream 
) const [private]

Tecplot output of FEM solution.

template<class F >
template<typename G >
bool hp2D::BaseQuadGraphics< F >::writeTecplot_ ( const BaseQuad< F > &  quad,
graphics::BaseElementFormulaCell< G, F > *  stream 
) const [private]

Tecplot output of an element formula.

template<class F >
void hp2D::BaseQuadGraphics< F >::writeTecplot_ ( const BaseQuad< F > &  quad,
concepts::CellPostprocess< F > &  post 
) const [private]

Tecplot output, calls the right method dependent from cell post process.


Member Data Documentation

template<class F >
concepts::Real2d hp2D::BaseQuadGraphics< F >::p_ [mutable, private]

Local coordinates in [0,1]^2 (intermediate data)

Definition at line 102 of file baseQuadGraphics.hh.

template<class F >
const concepts::ElementFunction<Cmplx, F>* hp2D::BaseQuadGraphics< F >::valueC_ [private]

Complex element function of the value itself.

Definition at line 99 of file baseQuadGraphics.hh.

template<class F >
const concepts::ElementFunction<Real, F>* hp2D::BaseQuadGraphics< F >::valueR_ [private]

Real element function of the value itself.

Definition at line 97 of file baseQuadGraphics.hh.

template<class F >
concepts::Real2d hp2D::BaseQuadGraphics< F >::x_ [mutable, private]

Actual coordinates (intermediate data)

Definition at line 104 of file baseQuadGraphics.hh.


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

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