hp2D::QuadGraphics< F > Class Template Referenceabstract
Handles graphics for 2D hp quadrilateral FEM elements. More...
#include <quadGraphics.hh>
Public Member Functions | |
virtual void | operator() (const concepts::Element< F > &elm, enum concepts::ElementGraphicsBase::graphicsType type, concepts::CellPostprocess< F > &post) const |
virtual void | operator() (const Element< F > &elm, enum graphicsType type, CellPostprocess< F > &post) const =0 |
Writes necessary data to a file for graphics. More... | |
QuadGraphics () | |
void | setValue (const concepts::ElementFunction< Cmplx, F > *value) |
void | setValue (const concepts::ElementFunction< Real, F > *value) |
Gives the appropiate element function. More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Private Member Functions | |
bool | countDenseMatrix_ (const BaseQuad< F > &quad, graphics::MatrixCounterCell *bdc) const |
Count the number of nodes, edges and quads in the mesh. More... | |
bool | handleDenseMatrix_ (const BaseQuad< F > &quad, concepts::CellPostprocess< F > &post) const |
Handle and casts different CellPostProcesses to Cell post processes that store quad informations in matrices. More... | |
void | value_ (const concepts::ElementFunction< Cmplx, F > *&fun) const |
void | value_ (const concepts::ElementFunction< Real, F > *&fun) const |
Returns a pointer to the appropiate element function of the value. More... | |
template<class G > | |
bool | writeDenseMatrix_ (const BaseQuad< F > &quad, graphics::MatrixBaseElementFormulaCell< G, F > *bdc) const |
Writes values from an ElementFormula on the quadrature points of the quad into an ElementMatrix. More... | |
template<class G > | |
bool | writeDenseMatrix_ (const BaseQuad< F > &quad, graphics::MatrixSolutionEvaluationCell< G, F > *bdc) const |
Writes values from a FEM Solution on the quadrature points of the quad into an ElementMatrix. More... | |
bool | writeDenseMatrix_ (const BaseQuad< F > &quad, graphics::MatrixSpaceOutputCell< F > *bdc) const |
Writes geometric informations, attributes and quadrature weights of the quad into an ElementMatrix. More... | |
void | writeGnuplot_ (const BaseQuad< F > &quad, concepts::CellPostprocess< F > &post) const |
Gnuplot output of data. More... | |
void | writeMatlab_ (const BaseQuad< F > &quad, concepts::CellPostprocess< F > &post) const |
Matlab output, calls the right method dependent from cell post process. More... | |
template<typename G > | |
bool | writeMatlab_ (const BaseQuad< F > &quad, graphics::BaseDataCell< G, F > *stream) const |
Matlab output of FEM solution. More... | |
template<typename G > | |
bool | writeMatlab_ (const BaseQuad< F > &quad, graphics::BaseElementFormulaCell< G, F > *stream) const |
Matlab output of an element formula. More... | |
void | writeTecplot_ (const BaseQuad< F > &quad, concepts::CellPostprocess< F > &post) const |
Tecplot output, calls the right method dependent from cell post process. More... | |
template<typename G > | |
bool | writeTecplot_ (const BaseQuad< F > &quad, graphics::BaseDataCell< G, F > *stream) const |
Tecplot output of FEM solution. More... | |
template<typename G > | |
bool | writeTecplot_ (const BaseQuad< F > &quad, graphics::BaseElementFormulaCell< G, F > *stream) const |
Tecplot output of an element formula. More... | |
Private Attributes | |
concepts::Real2d | p_ |
Local coordinates in [0,1]^2 (intermediate data) More... | |
const concepts::ElementFunction< Cmplx, F > * | valueC_ |
Complex element function of the value itself. More... | |
const concepts::ElementFunction< Real, F > * | valueR_ |
Real element function of the value itself. More... | |
concepts::Real2d | x_ |
Actual coordinates (intermediate data) More... | |
Detailed Description
template<class F>
class hp2D::QuadGraphics< F >
Handles graphics for 2D hp quadrilateral FEM elements.
Definition at line 22 of file quadGraphics.hh.
Constructor & Destructor Documentation
◆ QuadGraphics()
hp2D::QuadGraphics< F >::QuadGraphics | ( | ) |
Member Function Documentation
◆ countDenseMatrix_()
|
privateinherited |
Count the number of nodes, edges and quads in the mesh.
◆ handleDenseMatrix_()
|
privateinherited |
Handle and casts different CellPostProcesses to Cell post processes that store quad informations in matrices.
◆ info()
|
protectedvirtual |
Reimplemented from hp2D::BaseQuadGraphics< F >.
◆ operator()() [1/2]
|
virtual |
Reimplemented from hp2D::BaseQuadGraphics< F >.
◆ operator()() [2/2]
|
pure virtualinherited |
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
-
elm Element which should be depicted type Type of graphics post Calling CellPostprocess
specialization, might be necessary to get some data
- See also
- CellPostprocess
- Element
◆ setValue() [1/2]
|
inherited |
◆ setValue() [2/2]
|
inherited |
Gives the appropiate element function.
◆ value_() [1/2]
|
privateinherited |
◆ value_() [2/2]
|
privateinherited |
Returns a pointer to the appropiate element function of the value.
◆ writeDenseMatrix_() [1/3]
|
privateinherited |
Writes values from an ElementFormula on the quadrature points of the quad into an ElementMatrix.
◆ writeDenseMatrix_() [2/3]
|
privateinherited |
Writes values from a FEM Solution on the quadrature points of the quad into an ElementMatrix.
◆ writeDenseMatrix_() [3/3]
|
privateinherited |
Writes geometric informations, attributes and quadrature weights of the quad into an ElementMatrix.
◆ writeGnuplot_()
|
privateinherited |
Gnuplot output of data.
◆ writeMatlab_() [1/3]
|
privateinherited |
Matlab output, calls the right method dependent from cell post process.
◆ writeMatlab_() [2/3]
|
privateinherited |
Matlab output of FEM solution.
◆ writeMatlab_() [3/3]
|
privateinherited |
Matlab output of an element formula.
◆ writeTecplot_() [1/3]
|
privateinherited |
Tecplot output, calls the right method dependent from cell post process.
◆ writeTecplot_() [2/3]
|
privateinherited |
Tecplot output of FEM solution.
◆ writeTecplot_() [3/3]
|
privateinherited |
Tecplot output of an element formula.
Member Data Documentation
◆ p_
|
mutableprivateinherited |
Local coordinates in [0,1]^2 (intermediate data)
Definition at line 115 of file baseQuadGraphics.hh.
◆ valueC_
|
privateinherited |
Complex element function of the value itself.
Definition at line 112 of file baseQuadGraphics.hh.
◆ valueR_
|
privateinherited |
Real element function of the value itself.
Definition at line 110 of file baseQuadGraphics.hh.
◆ x_
|
mutableprivateinherited |
Actual coordinates (intermediate data)
Definition at line 117 of file baseQuadGraphics.hh.
The documentation for this class was generated from the following file:
- hp2D/quadGraphics.hh