Base class for handling graphics for 2D hp quadrilateral FEM elements. More...
#include <baseQuadGraphics.hh>


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) | |
Base class for handling graphics for 2D hp quadrilateral FEM elements.
Definition at line 28 of file baseQuadGraphics.hh.
enum concepts::ElementGraphicsBase::graphicsType [inherited] |
Definition at line 25 of file elementGraphics.hh.
| hp2D::BaseQuadGraphics< F >::BaseQuadGraphics | ( | ) |
Constructor.
| hp2D::BaseQuadGraphics< F >::~BaseQuadGraphics | ( | ) |
| bool hp2D::BaseQuadGraphics< F >::countDenseMatrix_ | ( | const BaseQuad< F > & | quad, |
| graphics::MatrixBaseOutputCell< F > * | bdc | ||
| ) | const [private] |
| bool hp2D::BaseQuadGraphics< F >::handleDenseMatrix_ | ( | const BaseQuad< F > & | quad, |
| concepts::CellPostprocess< F > & | post | ||
| ) | const [private] |
| 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 >.
| 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.
| elm | Element which should be depicted |
| type | Type of graphics |
| post | Calling CellPostprocess specialization, might be necessary to get some data |
Implements concepts::ElementGraphics< F >.
Reimplemented in hp2D::QuadGraphics< F >, and hp2Dedge::QuadGraphics< F >.
| void hp2D::BaseQuadGraphics< F >::setValue | ( | const concepts::ElementFunction< Real, F > * | value | ) |
Gives the appropiate element function.
| void hp2D::BaseQuadGraphics< F >::setValue | ( | const concepts::ElementFunction< Cmplx, F > * | value | ) |
| void hp2D::BaseQuadGraphics< F >::value_ | ( | const concepts::ElementFunction< Real, F > *& | fun | ) | const [private] |
Returns a pointer to the appropiate element function of the value.
| void hp2D::BaseQuadGraphics< F >::value_ | ( | const concepts::ElementFunction< Cmplx, F > *& | fun | ) | const [private] |
| bool hp2D::BaseQuadGraphics< F >::writeDenseMatrix_ | ( | const BaseQuad< F > & | quad, |
| graphics::MatrixSolutionEvaluationCell< G, F > * | bdc | ||
| ) | const [private] |
| bool hp2D::BaseQuadGraphics< F >::writeDenseMatrix_ | ( | const BaseQuad< F > & | quad, |
| graphics::MatrixBaseDataCell< G, F > * | bdc | ||
| ) | const [private] |
| bool hp2D::BaseQuadGraphics< F >::writeDenseMatrix_ | ( | const BaseQuad< F > & | quad, |
| graphics::MatrixBaseElementFormulaCell< G, F > * | bdc | ||
| ) | const [private] |
| void hp2D::BaseQuadGraphics< F >::writeGnuplot_ | ( | const BaseQuad< F > & | quad, |
| concepts::CellPostprocess< F > & | post | ||
| ) | const [private] |
Gnuplot output of data.
| bool hp2D::BaseQuadGraphics< F >::writeMatlab_ | ( | const BaseQuad< F > & | quad, |
| graphics::BaseElementFormulaCell< G, F > * | stream | ||
| ) | const [private] |
Matlab output of an element formula.
| 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.
| bool hp2D::BaseQuadGraphics< F >::writeMatlab_ | ( | const BaseQuad< F > & | quad, |
| graphics::BaseDataCell< G, F > * | stream | ||
| ) | const [private] |
Matlab output of FEM solution.
| bool hp2D::BaseQuadGraphics< F >::writeTecplot_ | ( | const BaseQuad< F > & | quad, |
| graphics::BaseDataCell< G, F > * | stream | ||
| ) | const [private] |
Tecplot output of FEM solution.
| bool hp2D::BaseQuadGraphics< F >::writeTecplot_ | ( | const BaseQuad< F > & | quad, |
| graphics::BaseElementFormulaCell< G, F > * | stream | ||
| ) | const [private] |
Tecplot output of an element formula.
| 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.
concepts::Real2d hp2D::BaseQuadGraphics< F >::p_ [mutable, private] |
Local coordinates in [0,1]^2 (intermediate data)
Definition at line 102 of file baseQuadGraphics.hh.
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.
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.
concepts::Real2d hp2D::BaseQuadGraphics< F >::x_ [mutable, private] |
Actual coordinates (intermediate data)
Definition at line 104 of file baseQuadGraphics.hh.