Handles graphics for 1D hp FEM elements. More...

#include <lineGraphics.hh>

Inheritance diagram for hp1D::LineGraphics:
concepts::ElementGraphics< Real >

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
 Writes necessary data to a file for graphics. More...
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 

Private Member Functions

bool countDenseMatrix_ (const BaseElement< Real > &elm, graphics::MatrixCounterCell *bdc) const
 Count the number of nodes, edges and quads in the mesh. More...
 
bool handleDenseMatrix_ (const BaseElement< Real > &elm, concepts::CellPostprocess< Real > &post) const
 Handle and casts different CellPostProcesses to Cell post processes that store element informations in matrices. More...
 
template<class G >
bool writeDenseMatrix_ (const BaseElement< Real > &elm, 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 BaseElement< Real > &elm, graphics::MatrixSpaceOutputCell< Real > *bdc) const
 Writes geometric informations, attributes and quadrature weights of the element into an ElementMatrix. More...
 
template<class G >
bool writeMatlab_ (const BaseElement< Real > &elm, graphics::BaseElementFormulaCell< G, Real > *stream) const
 

Detailed Description

Handles graphics for 1D hp FEM elements.

Author
Philipp Frauenfelder, 2002

Definition at line 40 of file lineGraphics.hh.

Member Function Documentation

◆ countDenseMatrix_()

bool hp1D::LineGraphics::countDenseMatrix_ ( const BaseElement< Real > &  elm,
graphics::MatrixCounterCell bdc 
) const
private

Count the number of nodes, edges and quads in the mesh.

◆ handleDenseMatrix_()

bool hp1D::LineGraphics::handleDenseMatrix_ ( const BaseElement< Real > &  elm,
concepts::CellPostprocess< Real > &  post 
) const
private

Handle and casts different CellPostProcesses to Cell post processes that store element informations in matrices.

◆ info()

virtual std::ostream& hp1D::LineGraphics::info ( std::ostream &  os) const
protectedvirtual

◆ operator()() [1/2]

virtual void hp1D::LineGraphics::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

◆ writeDenseMatrix_() [1/2]

template<class G >
bool hp1D::LineGraphics::writeDenseMatrix_ ( const BaseElement< Real > &  elm,
graphics::MatrixBaseElementFormulaCell< G, Real > *  bdc 
) const
private

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

◆ writeDenseMatrix_() [2/2]

bool hp1D::LineGraphics::writeDenseMatrix_ ( const BaseElement< Real > &  elm,
graphics::MatrixSpaceOutputCell< Real > *  bdc 
) const
private

Writes geometric informations, attributes and quadrature weights of the element into an ElementMatrix.

◆ writeMatlab_()

template<class G >
bool hp1D::LineGraphics::writeMatlab_ ( const BaseElement< Real > &  elm,
graphics::BaseElementFormulaCell< G, Real > *  stream 
) const
private

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