Class documentation of Concepts

Loading...
Searching...
No Matches
graphics::MatrixBaseElementFormulaCell< F, G > Class Template Referenceabstract

#include <matrixBasis.hh>

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

Public Types

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

Public Member Functions

 MatrixBaseElementFormulaCell (concepts::ElementMatrix< dataType > *&funValue, const uint dim, const concepts::ElementFormula< F, G > &fun)
 
virtual ~MatrixBaseElementFormulaCell ()
 Destructor.
 
virtual void operator() (const concepts::Element< G > &elm)
 
virtual void operator() (const concepts::Cell &cell)
 Not operational.
 
const concepts::ElementFormula< F, G > & elementFormula ()
 Returns the element formula.
 
virtual uint n () const
 Getter for the dimension of the solution output (number of components)
 
virtual concepts::ElementMatrix< dataType > * funValue () const
 Getter for the dense matrix with the function values.
 
virtual void operator() (const Element< F > &elm)=0
 
uint dim () const
 returns the space dimension of the mesh (two by default)
 
virtual void resetCounter ()
 resets all counters to zero
 

Public Attributes

uint indexOfPoints
 Index of the (next) graphics point.
 

Protected Member Functions

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

Protected Attributes

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

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()

template<class G = Real>
uint graphics::MatrixBasisOutputCell< G >::dim ( ) const
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< F >.

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)
inlinevirtual

Not operational.

Implements graphics::MatrixBasisOutputCell< G >.

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

Implements graphics::MatrixBasisOutputCell< G >.

Definition at line 282 of file matrixBasis.hh.

◆ operator()() [3/3]

◆ resetCounter()

template<class G = Real>
virtual void graphics::MatrixBasisOutputCell< G >::resetCounter ( )
inlinevirtualinherited

resets all counters to zero

Reimplemented in graphics::MatrixSpaceOutputCell< G >, and graphics::MatrixSpaceOutputCell< Real >.

Definition at line 133 of file matrixBasis.hh.

Member Data Documentation

◆ dim_

template<class G = Real>
uint graphics::MatrixBasisOutputCell< G >::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

template<class G = Real>
uint graphics::MatrixBasisOutputCell< G >::indexOfPoints
inherited

Index of the (next) graphics point.

Definition at line 138 of file matrixBasis.hh.

◆ type_

template<class G = Real>
enum concepts::ElementGraphicsBase::graphicsType graphics::MatrixBasisOutputCell< G >::type_
protectedinherited

The graphicsType (either concepts::ElementGraphicsBase::DENSEMATRIX or concepts::ElementGraphicsBase::MESH_DENSEMATRIX)

Definition at line 149 of file matrixBasis.hh.


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