Class documentation of Concepts

Loading...
Searching...
No Matches
hp3D::HexahedronGraphics Class Referenceabstract

#include <hexahedronGraphics.hh>

Inheritance diagram for hp3D::HexahedronGraphics:
concepts::ElementGraphics< Real > concepts::ElementGraphicsBase concepts::OutputOperator

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

virtual void operator() (const concepts::Element< Real > &elm, enum graphicsType type, concepts::CellPostprocess< Real > &post) const
 
virtual void operator() (const Element< Real > &elm, enum graphicsType type, CellPostprocess< Real > &post) const=0
 

Protected Member Functions

bool handleDenseMatrix_ (const Hexahedron &hexa, concepts::CellPostprocess< Real > &post) const
 
bool writeDenseMatrix_ (const Hexahedron &quad, graphics::MatrixSpaceOutputCell< Real > *bdc) const
 
bool countDenseMatrix_ (const Hexahedron &hexa, graphics::MatrixCounterCell *bdc) const
 
template<class G >
bool writeDenseMatrix_ (const Hexahedron &hexa, graphics::MatrixSolutionEvaluationCell< G, Real > *bdc) const
 
template<class G >
bool writeDenseMatrix_ (const Hexahedron &quad, graphics::MatrixBaseElementFormulaCell< G, Real > *bdc) const
 
virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Detailed Description

Handles graphics for hexahedral 3D hp FEM elements.

Author
Philipp Frauenfelder, 2002

Definition at line 27 of file hexahedronGraphics.hh.

Member Enumeration Documentation

◆ graphicsType

enum concepts::ElementGraphicsBase::graphicsType
inherited

Definition at line 27 of file elementGraphics.hh.

Member Function Documentation

◆ countDenseMatrix_()

bool hp3D::HexahedronGraphics::countDenseMatrix_ ( const Hexahedron hexa,
graphics::MatrixCounterCell bdc 
) const
protected

Counts the nuber of integration points, the number of sub-hexahedrons builded by the integration points and the hexahedrons in a whole space and stores these informations in the graphics::MatrixCounterCell

Parameters
hexa- A hexadreon in a space
bdc- the CellPostProcess that stores several numbers for graphical output

◆ handleDenseMatrix_()

bool hp3D::HexahedronGraphics::handleDenseMatrix_ ( const Hexahedron hexa,
concepts::CellPostprocess< Real > &  post 
) const
protected

Handles a concepts::CellPostProcess with graphicsType DENSEMATRIX

Parameters
hexa- The hexahedron where the CellPostProcess should proceed
post- A Cell PostProcess with graphicsType DENSEMATRIX

◆ info()

virtual std::ostream & hp3D::HexahedronGraphics::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

◆ operator()()

virtual void concepts::ElementGraphics< Real >::operator() ( const Element< Real > &  elm,
enum graphicsType  type,
CellPostprocess< Real > &  post 
) const
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
elmElement which should be depicted
typeType of graphics
postCalling CellPostprocess specialization, might be necessary to get some data
See also
CellPostprocess
Element

◆ writeDenseMatrix_() [1/3]

template<class G >
bool hp3D::HexahedronGraphics::writeDenseMatrix_ ( const Hexahedron hexa,
graphics::MatrixSolutionEvaluationCell< G, Real > *  bdc 
) const
protected

Writes values from a FEM Solution on the quadrature points of the hexaedron into an ElementMatrix

Parameters
hexa- The hexahedron where the shapefunction are evaluate
bdc- The matrixSolutionEvaluationCell corresponding to the solution vector

◆ writeDenseMatrix_() [2/3]

template<class G >
bool hp3D::HexahedronGraphics::writeDenseMatrix_ ( const Hexahedron quad,
graphics::MatrixBaseElementFormulaCell< G, Real > *  bdc 
) const
protected

Writes values from an ElementFormula on the quadrature points of the quad into an ElementMatrix

Parameters
hexa- The hexahedron where the shapefunction are evaluate
bdc- The MatrixBaseElementFormulaCell corresponding to an ElementFormula

◆ writeDenseMatrix_() [3/3]

bool hp3D::HexahedronGraphics::writeDenseMatrix_ ( const Hexahedron quad,
graphics::MatrixSpaceOutputCell< Real > *  bdc 
) const
protected

Writes geometry informations of an hp3d::Space into matrices hold by the CellPostProcess MatrixSpaceOutputCell

Parameters
hexa- The hexahedron that informations are collected
bdc- The MatrixSpaceOutputCell that stores the collected informations

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