Class documentation of Concepts

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

#include <matrixBasis.hh>

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

Public Member Functions

 MatrixSolutionEvaluationCell (concepts::ElementMatrix< F > *funValue, const concepts::Vector< F > &solution, const concepts::ElementFunction< F, G > *fun=0, uint dim=2)
 
virtual ~MatrixSolutionEvaluationCell ()
 Destructor.
 
virtual void operator() (const concepts::Element< G > &elm)
 
virtual void operator() (const concepts::Cell &cell)
 Application operator on a single cell (not implemented)
 
const concepts::ElementFunction< F, G > * elementFunction ()
 Getter for the element function.
 
uint n ()
 Getter for the dimension of the solution output (number of components)
 
virtual concepts::ElementMatrix< F > * funValue () const
 Getter for the dense matrix with the function values.
 
const concepts::Array< F > & coeff () const
 
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

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::MatrixSolutionEvaluationCell< F, G >

Class for writing the values of the solution of a PDE on the quadrature points of the space in a DenseMatrix

Author
Christian Heier, 2012

Definition at line 331 of file matrixBasis.hh.

Constructor & Destructor Documentation

◆ MatrixSolutionEvaluationCell()

template<class F , class G = typename concepts::Realtype<F>::type>
graphics::MatrixSolutionEvaluationCell< F, G >::MatrixSolutionEvaluationCell ( concepts::ElementMatrix< F > *  funValue,
const concepts::Vector< F > &  solution,
const concepts::ElementFunction< F, G > *  fun = 0,
uint  dim = 2 
)
inline

Constructor which expects the dense matrices dense_ptr and funValue, the solution vector solution and possibly an element function /c fun.

Parameters
funValueMatrix to store the collected output data
solutionSolution Vector of the FEM
funwhich value should be stored (functionValue, gradient of the function ...)

Definition at line 343 of file matrixBasis.hh.

◆ ~MatrixSolutionEvaluationCell()

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

Destructor.

Definition at line 351 of file matrixBasis.hh.

Member Function Documentation

◆ coeff()

template<class F , class G = typename concepts::Realtype<F>::type>
const concepts::Array< F > & graphics::MatrixSolutionEvaluationCell< F, G >::coeff ( ) const
inline

Local coefficient vector (w.r.t. the shape functions) of on element which will be used to evaluate the element function

Definition at line 391 of file matrixBasis.hh.

◆ 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.

◆ elementFunction()

template<class F , class G = typename concepts::Realtype<F>::type>
const concepts::ElementFunction< F, G > * graphics::MatrixSolutionEvaluationCell< F, G >::elementFunction ( )
inline

Getter for the element function.

Definition at line 369 of file matrixBasis.hh.

◆ funValue()

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

Getter for the dense matrix with the function values.

Definition at line 384 of file matrixBasis.hh.

◆ info()

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

Returns information in an output stream.

Reimplemented from concepts::CellPostprocess< F >.

Definition at line 395 of file matrixBasis.hh.

◆ n()

template<class F , class G = typename concepts::Realtype<F>::type>
uint graphics::MatrixSolutionEvaluationCell< F, G >::n ( )
inline

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

Definition at line 377 of file matrixBasis.hh.

◆ operator()() [1/3]

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

Application operator on a single cell (not implemented)

Implements graphics::MatrixBasisOutputCell< G >.

Definition at line 364 of file matrixBasis.hh.

◆ operator()() [2/3]

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

Application operator on a single element fill matrices.

Parameters
elmThe element

Implements graphics::MatrixBasisOutputCell< G >.

Definition at line 358 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.

◆ 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: