graphics::MatrixSolutionEvaluationCell< F, G > Class Template Referenceabstract
Class for writing the values of the solution of a PDE on the quadrature points of the space in a DenseMatrix. More...
#include <matrixBasis.hh>
Public Member Functions | |
const concepts::Array< F > & | coeff () const |
Local coefficient vector (w.r.t. More... | |
uint | dim () const |
returns the space dimension of the mesh (two by default) More... | |
const concepts::ElementFunction< F, G > * | elementFunction () |
Getter for the element function. More... | |
virtual concepts::ElementMatrix< F > * | funValue () const |
Getter for the dense matrix with the function values. More... | |
MatrixSolutionEvaluationCell (concepts::ElementMatrix< F > *funValue, const concepts::Vector< F > &solution, const concepts::ElementFunction< F, G > *fun=0, uint dim=2) | |
Constructor which expects the dense matrices dense_ptr and funValue , the solution vector solution and possibly an element function /c fun. More... | |
uint | n () |
Getter for the dimension of the solution output (number of components) More... | |
virtual void | operator() (const concepts::Cell &cell) |
Application operator on a single cell (not implemented) More... | |
virtual void | operator() (const concepts::Element< G > &elm) |
Application operator on a single element fill matrices. 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 | ~MatrixSolutionEvaluationCell () |
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... | |
enum concepts::ElementGraphicsBase::graphicsType | type_ |
The graphicsType (either concepts::ElementGraphicsBase::DENSEMATRIX or concepts::ElementGraphicsBase::MESH_DENSEMATRIX) More... | |
Private Attributes | |
concepts::Array< F > | coeff_ |
Local coefficient vector in one element (size is number of local shape functions) More... | |
const concepts::ElementFunction< F, G > * | fun_ |
ElementFunction. More... | |
concepts::ElementMatrix< F > * | funValue_ |
Function Value in evaluate points. More... | |
const concepts::Vector< F > & | sol_ |
The solution vector. More... | |
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.
Definition at line 331 of file matrixBasis.hh.
Constructor & Destructor Documentation
◆ MatrixSolutionEvaluationCell()
|
inline |
Constructor which expects the dense matrices dense_ptr
and funValue
, the solution vector solution
and possibly an element function /c fun.
- Parameters
-
funValue Matrix to store the collected output data solution Solution Vector of the FEM fun which value should be stored (functionValue, gradient of the function ...)
Definition at line 343 of file matrixBasis.hh.
◆ ~MatrixSolutionEvaluationCell()
|
inlinevirtual |
Destructor.
Definition at line 351 of file matrixBasis.hh.
Member Function Documentation
◆ coeff()
|
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()
|
inlineinherited |
returns the space dimension of the mesh (two by default)
Definition at line 128 of file matrixBasis.hh.
◆ elementFunction()
|
inline |
Getter for the element function.
Definition at line 369 of file matrixBasis.hh.
◆ funValue()
|
inlinevirtual |
Getter for the dense matrix with the function values.
Definition at line 384 of file matrixBasis.hh.
◆ info()
|
protectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in graphics::MatrixBaseElementFormulaCell< F, G >, graphics::BaseFormulaCell< F, G >, graphics::BaseElementFormulaCell< F, G >, graphics::BaseDataCell< F, G >, and graphics::BaseOutputCell< typename concepts::Realtype< F >::type >.
◆ n()
|
inline |
Getter for the dimension of the solution output (number of components)
Definition at line 377 of file matrixBasis.hh.
◆ operator()() [1/3]
|
inlinevirtual |
Application operator on a single cell (not implemented)
Implements graphics::MatrixBasisOutputCell< typename concepts::Realtype< F >::type >.
Definition at line 364 of file matrixBasis.hh.
◆ operator()() [2/3]
|
inlinevirtual |
Application operator on a single element fill matrices.
- Parameters
-
elm The element
Definition at line 358 of file matrixBasis.hh.
◆ operator()() [3/3]
|
pure virtualinherited |
Writes data of the given element in the matrices.
Implements concepts::CellPostprocess< typename concepts::Realtype< F >::type >.
◆ resetCounter()
|
inlinevirtualinherited |
resets all counters to zero
Definition at line 133 of file matrixBasis.hh.
Member Data Documentation
◆ coeff_
|
private |
Local coefficient vector in one element (size is number of local shape functions)
Definition at line 402 of file matrixBasis.hh.
◆ dim_
|
protectedinherited |
The space dimension of the mesh (1, 2, or 3)
Definition at line 143 of file matrixBasis.hh.
◆ fun_
|
private |
ElementFunction.
Definition at line 397 of file matrixBasis.hh.
◆ funValue_
|
private |
Function Value in evaluate points.
Definition at line 405 of file matrixBasis.hh.
◆ indexOfPoints
|
inherited |
Index of the (next) graphics point.
Definition at line 138 of file matrixBasis.hh.
◆ sol_
|
private |
The solution vector.
Definition at line 408 of file matrixBasis.hh.
◆ type_
|
protectedinherited |
The graphicsType (either concepts::ElementGraphicsBase::DENSEMATRIX or concepts::ElementGraphicsBase::MESH_DENSEMATRIX)
Definition at line 143 of file matrixBasis.hh.
The documentation for this class was generated from the following file:
- graphics/matrixBasis.hh