graphics::MatrixBaseElementFormulaCell< F, G > Class Template Referenceabstract

Class for writing the graphical output of an element formula to ElementMatrices. More...

#include <matrixBasis.hh>

Inheritance diagram for graphics::MatrixBaseElementFormulaCell< F, G >:
graphics::MatrixBasisOutputCell< typename concepts::Realtype< F >::type > concepts::CellPostprocess< typename concepts::Realtype< F >::type > concepts::OutputOperator

Public Types

typedef concepts::Datatype< F >::type dataType
 

Public Member Functions

uint dim () const
 returns the space dimension of the mesh (two by default) More...
 
const concepts::ElementFormula< F, G > & elementFormula ()
 Returns the element formula. More...
 
virtual concepts::ElementMatrix< dataType > * funValue () const
 Getter for the dense matrix with the function values. More...
 
 MatrixBaseElementFormulaCell (concepts::ElementMatrix< dataType > *&funValue, const uint dim, const concepts::ElementFormula< F, G > &fun)
 Constructor (for single and repeated output) More...
 
virtual uint n () const
 Getter for the dimension of the solution output (number of components) More...
 
virtual void operator() (const concepts::Cell &cell) throw (concepts::MissingFeature)
 Not operational. More...
 
virtual void operator() (const concepts::Element< G > &elm)
 Output of the mesh and vector data of the element. More...
 
virtual void operator() (const concepts::Element< typename concepts::Realtype< F >::type > &elm)=0
 Writes data of the given element in the matrices. More...
 
virtual void resetCounter ()
 resets all counters to zero More...
 
virtual ~MatrixBaseElementFormulaCell ()
 Destructor. More...
 

Public Attributes

uint indexOfPoints
 Index of the (next) graphics point. More...
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream. More...
 

Protected Attributes

uint dim_
 The space dimension of the mesh (1, 2, or 3) More...
 
const concepts::ElementFormula< F, G > & fun_
 Element Formula. More...
 
concepts::ElementMatrix< dataType > *& funValue_
 Function Value in evaluate points. More...
 
enum concepts::ElementGraphicsBase::graphicsType type_
 The graphicsType (either concepts::ElementGraphicsBase::DENSEMATRIX or concepts::ElementGraphicsBase::MESH_DENSEMATRIX) More...
 

Detailed Description

template<class F, class G = typename concepts::Realtype<F>::type>
class graphics::MatrixBaseElementFormulaCell< F, G >

Class for writing the graphical output of an element formula to ElementMatrices.

Author
Robert Gruhlke und Christian Heier, 2011

Definition at line 259 of file matrixBasis.hh.

Member Typedef Documentation

◆ dataType

template<class F , class G = typename concepts::Realtype<F>::type>
typedef concepts::Datatype<F>::type graphics::MatrixBaseElementFormulaCell< F, G >::dataType

Definition at line 261 of file matrixBasis.hh.

Constructor & Destructor Documentation

◆ MatrixBaseElementFormulaCell()

template<class F , class G = typename concepts::Realtype<F>::type>
graphics::MatrixBaseElementFormulaCell< F, G >::MatrixBaseElementFormulaCell ( concepts::ElementMatrix< dataType > *&  funValue,
const uint  dim,
const concepts::ElementFormula< F, G > &  fun 
)
inline

Constructor (for single and repeated output)

Parameters
funValuedense matrix for solution output
dimspatial dimension of the elements
fun

Definition at line 269 of file matrixBasis.hh.

◆ ~MatrixBaseElementFormulaCell()

template<class F , class G = typename concepts::Realtype<F>::type>
virtual graphics::MatrixBaseElementFormulaCell< F, G >::~MatrixBaseElementFormulaCell ( )
inlinevirtual

Destructor.

Definition at line 276 of file matrixBasis.hh.

Member Function Documentation

◆ dim()

uint graphics::MatrixBasisOutputCell< typename concepts::Realtype< F >::type >::dim
inlineinherited

returns the space dimension of the mesh (two by default)

Definition at line 128 of file matrixBasis.hh.

◆ elementFormula()

template<class F , class G = typename concepts::Realtype<F>::type>
const concepts::ElementFormula<F, G>& graphics::MatrixBaseElementFormulaCell< F, G >::elementFormula ( )
inline

Returns the element formula.

Definition at line 293 of file matrixBasis.hh.

◆ funValue()

template<class F , class G = typename concepts::Realtype<F>::type>
virtual concepts::ElementMatrix<dataType>* graphics::MatrixBaseElementFormulaCell< F, G >::funValue ( ) const
inlinevirtual

Getter for the dense matrix with the function values.

Definition at line 303 of file matrixBasis.hh.

◆ info()

template<class F , class G = typename concepts::Realtype<F>::type>
virtual std::ostream& graphics::MatrixBaseElementFormulaCell< F, G >::info ( std::ostream &  os) const
inlineprotectedvirtual

Returns information in an output stream.

Reimplemented from concepts::CellPostprocess< typename concepts::Realtype< F >::type >.

Definition at line 307 of file matrixBasis.hh.

◆ n()

template<class F , class G = typename concepts::Realtype<F>::type>
virtual uint graphics::MatrixBaseElementFormulaCell< F, G >::n ( ) const
inlinevirtual

Getter for the dimension of the solution output (number of components)

Definition at line 298 of file matrixBasis.hh.

◆ operator()() [1/3]

template<class F , class G = typename concepts::Realtype<F>::type>
virtual void graphics::MatrixBaseElementFormulaCell< F, G >::operator() ( const concepts::Cell cell)
throw (concepts::MissingFeature
)
inlinevirtual

Not operational.

Implements graphics::MatrixBasisOutputCell< typename concepts::Realtype< F >::type >.

Definition at line 287 of file matrixBasis.hh.

◆ operator()() [2/3]

template<class F , class G = typename concepts::Realtype<F>::type>
virtual void graphics::MatrixBaseElementFormulaCell< F, G >::operator() ( const concepts::Element< G > &  elm)
inlinevirtual

Output of the mesh and vector data of the element.

Parameters
elmThe elment

Definition at line 282 of file matrixBasis.hh.

◆ operator()() [3/3]

virtual void graphics::MatrixBasisOutputCell< typename concepts::Realtype< F >::type >::operator() ( const concepts::Element< typename concepts::Realtype< F >::type > &  elm)
pure virtualinherited

Writes data of the given element in the matrices.

Implements concepts::CellPostprocess< typename concepts::Realtype< F >::type >.

◆ resetCounter()

virtual void graphics::MatrixBasisOutputCell< typename concepts::Realtype< F >::type >::resetCounter
inlinevirtualinherited

resets all counters to zero

Definition at line 133 of file matrixBasis.hh.

Member Data Documentation

◆ dim_

uint graphics::MatrixBasisOutputCell< typename concepts::Realtype< F >::type >::dim_
protectedinherited

The space dimension of the mesh (1, 2, or 3)

Definition at line 143 of file matrixBasis.hh.

◆ fun_

template<class F , class G = typename concepts::Realtype<F>::type>
const concepts::ElementFormula<F, G>& graphics::MatrixBaseElementFormulaCell< F, G >::fun_
protected

Element Formula.

Definition at line 320 of file matrixBasis.hh.

◆ funValue_

template<class F , class G = typename concepts::Realtype<F>::type>
concepts::ElementMatrix<dataType>*& graphics::MatrixBaseElementFormulaCell< F, G >::funValue_
protected

Function Value in evaluate points.

Definition at line 317 of file matrixBasis.hh.

◆ indexOfPoints

uint graphics::MatrixBasisOutputCell< typename concepts::Realtype< F >::type >::indexOfPoints
inherited

Index of the (next) graphics point.

Definition at line 138 of file matrixBasis.hh.

◆ type_


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