Handles graphics for hexahedral 3D hp FEM elements. More...

#include <hexahedronGraphics.hh>

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

Public Member Functions

 HexahedronGraphics ()
 
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
 Writes necessary data to a file for graphics. More...
 
virtual ~HexahedronGraphics ()
 

Protected Member Functions

bool countDenseMatrix_ (const Hexahedron &hexa, graphics::MatrixCounterCell *bdc) const
 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. More...
 
bool handleDenseMatrix_ (const Hexahedron &hexa, concepts::CellPostprocess< Real > &post) const
 Handles a concepts::CellPostProcess with graphicsType DENSEMATRIX. More...
 
virtual std::ostream & info (std::ostream &os) const
 
template<class G >
bool writeDenseMatrix_ (const Hexahedron &hexa, graphics::MatrixSolutionEvaluationCell< G, Real > *bdc) const
 Writes values from a FEM Solution on the quadrature points of the hexaedron into an ElementMatrix. More...
 
template<class G >
bool writeDenseMatrix_ (const Hexahedron &quad, graphics::MatrixBaseElementFormulaCell< G, Real > *bdc) const
 Writes values from an ElementFormula on the quadrature points of the quad into an ElementMatrix. More...
 
bool writeDenseMatrix_ (const Hexahedron &quad, graphics::MatrixSpaceOutputCell< Real > *bdc) const
 Writes geometry informations of an hp3d::Space into matrices hold by the CellPostProcess MatrixSpaceOutputCell. More...
 

Private Member Functions

void value_ (const concepts::ElementFunction< concepts::Cmplx, Real > *&fun) const
 
void value_ (const concepts::ElementFunction< Real, Real > *&fun) const
 

Private Attributes

const hp3D::Value< concepts::Cmplx, Real > valueC_
 Complex element function of the value. More...
 
const hp3D::Value< Real, Real > valueR_
 Real element function of the value. More...
 

Detailed Description

Handles graphics for hexahedral 3D hp FEM elements.

Author
Philipp Frauenfelder, 2002

Definition at line 27 of file hexahedronGraphics.hh.

Constructor & Destructor Documentation

◆ HexahedronGraphics()

hp3D::HexahedronGraphics::HexahedronGraphics ( )

◆ ~HexahedronGraphics()

virtual hp3D::HexahedronGraphics::~HexahedronGraphics ( )
virtual

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

◆ operator()() [1/2]

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

◆ operator()() [2/2]

virtual void concepts::ElementGraphics< Real >::operator() ( const Element< F > &  elm,
enum graphicsType  type,
CellPostprocess< F > &  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

◆ value_() [1/2]

void hp3D::HexahedronGraphics::value_ ( const concepts::ElementFunction< concepts::Cmplx, Real > *&  fun) const
private

◆ value_() [2/2]

void hp3D::HexahedronGraphics::value_ ( const concepts::ElementFunction< Real, Real > *&  fun) const
private

◆ 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

Member Data Documentation

◆ valueC_

const hp3D::Value<concepts::Cmplx, Real> hp3D::HexahedronGraphics::valueC_
private

Complex element function of the value.

Definition at line 97 of file hexahedronGraphics.hh.

◆ valueR_

const hp3D::Value<Real, Real> hp3D::HexahedronGraphics::valueR_
private

Real element function of the value.

Definition at line 94 of file hexahedronGraphics.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich