Class for writing the values of the solution of a pde on the quadraturepoints 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. | |
| uint | dim () const |
| returns the space dimension of the mesh (two by default) | |
| const concepts::ElementFunction< F, G > * | elementFunction () |
| Getter for the element function. | |
| virtual concepts::DenseMatrix < F > * | funValue () const |
| Getter for the dense matrix with the function values. | |
| std::map< std::string, concepts::DenseMatrix< G > * > & | getMapping () |
| Returns a mapping with all dense matrices, where data should be stored. | |
| MatrixSolutionEvaluationCell (std::map< std::string, concepts::DenseMatrix< G > * > &dense_ptr, concepts::DenseMatrix< 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. | |
| uint | n () |
| Getter for the dimension of the solution output (number of components) | |
| virtual void | operator() (const concepts::Cell &cell) |
| Application operator on a single cell (not implemented) | |
| virtual void | operator() (const concepts::Element< G > &elm) |
| Application operator on a single element 1st run: calculate size of Matrices. | |
| void | resetCounter () |
| virtual void | setFunValue (concepts::DenseMatrix< F > *newFunVal) |
| Getter for the dense matrix with the function values. | |
| virtual void | setSolVec (const concepts::Vector< F > *newsol) |
| Getter for the dense matrix with the function values. | |
| virtual | ~MatrixSolutionEvaluationCell () |
| Destructor. | |
Public Attributes | |
| bool | counted |
| Boolean that decides what the CellPostProcess have to do: false: if the length of the matrices saving the data have to be counted. | |
| uint | counter |
| Number of stored points. It is used in "void matlabBinaryMeshGraphics::writeMesh". | |
| uint | dimensionsOfMatrices [4] |
| Four counters that stores space-dependent values (for ex. | |
| uint | indexOfAttributes |
| Index of the (next) quad (used for the attributes). | |
| uint | indexOfEdgAttr |
| Index of the (next) graphics edge (used for edge attribute) | |
| uint | indexOfEdgeMesh |
| Index of the (next) graphics edge in the edge mesh. | |
| uint | indexOfMesh |
| Index of the (next) graphics quad (the small one). | |
| uint | indexOfPoints |
| Index of the (next) graphics point. | |
| uint | indexOfPolynomialDegree |
| Index of the (next) quad (used for the polynomial degree) | |
| uint | indexOfVertexMesh |
| Index of the (next) quad (used for the vertex mesh). | |
| uint | indexOfVtxAttr |
| Index of the (next) quad (used for the vertex attribute) | |
| bool | writeMesh |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Protected Attributes | |
| std::map< std::string, concepts::DenseMatrix< G > * > & | dense_ptr_ |
| A mapping that holds all data in concepts::DenseMatrix<F> | |
| uint | dim_ |
| The space dimension of the mesh (1, 2, or 3) | |
| enum concepts::ElementGraphicsBase::graphicsType | type_ |
| The graphicsType (either concepts::ElementGraphicsBase::DENSEMATRIX or concepts::ElementGraphicsBase::MESH_DENSEMATRIX) | |
Private Attributes | |
| concepts::Array< F > | coeff_ |
| Local coefficient vector in one element (size is number of local shape functions) | |
| const concepts::ElementFunction< F, G > * | fun_ |
| ElementFunction. | |
| concepts::DenseMatrix< F > * | funValue_ |
| Function Value in evaluate points. | |
| const concepts::Vector< F > * | sol_ |
| the solution vector | |
Class for writing the values of the solution of a pde on the quadraturepoints of the space in a DenseMatrix.
Definition at line 286 of file matrixBasis.hh.
| graphics::MatrixSolutionEvaluationCell< F, G >::MatrixSolutionEvaluationCell | ( | std::map< std::string, concepts::DenseMatrix< G > * > & | dense_ptr, |
| concepts::DenseMatrix< 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.
Definition at line 292 of file matrixBasis.hh.
| virtual graphics::MatrixSolutionEvaluationCell< F, G >::~MatrixSolutionEvaluationCell | ( | ) | [inline, virtual] |
Destructor.
Definition at line 304 of file matrixBasis.hh.
| 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 355 of file matrixBasis.hh.
| uint graphics::MatrixBaseOutputCell< G >::dim | ( | ) | const [inline, inherited] |
returns the space dimension of the mesh (two by default)
Definition at line 56 of file matrixBasis.hh.
| const concepts::ElementFunction<F, G>* graphics::MatrixSolutionEvaluationCell< F, G >::elementFunction | ( | ) | [inline] |
Getter for the element function.
Definition at line 322 of file matrixBasis.hh.
| virtual concepts::DenseMatrix<F>* graphics::MatrixSolutionEvaluationCell< F, G >::funValue | ( | ) | const [inline, virtual] |
Getter for the dense matrix with the function values.
Definition at line 339 of file matrixBasis.hh.
| std::map<std::string, concepts::DenseMatrix<G>*>& graphics::MatrixBaseOutputCell< G >::getMapping | ( | ) | [inline, inherited] |
Returns a mapping with all dense matrices, where data should be stored.
Definition at line 51 of file matrixBasis.hh.
| virtual std::ostream& concepts::CellPostprocess< G >::info | ( | std::ostream & | os | ) | const [protected, virtual, inherited] |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in graphics::BaseDataCell< F, G >, graphics::BaseElementFormulaCell< F, G >, graphics::BaseFormulaCell< F, G >, and graphics::BaseOutputCell< G >.
| uint graphics::MatrixSolutionEvaluationCell< F, G >::n | ( | ) | [inline] |
Getter for the dimension of the solution output (number of components)
Definition at line 332 of file matrixBasis.hh.
| virtual void graphics::MatrixSolutionEvaluationCell< F, G >::operator() | ( | const concepts::Cell & | cell | ) | [inline, virtual] |
Application operator on a single cell (not implemented)
Implements graphics::MatrixBaseOutputCell< G >.
Definition at line 317 of file matrixBasis.hh.
| virtual void graphics::MatrixSolutionEvaluationCell< F, G >::operator() | ( | const concepts::Element< G > & | elm | ) | [inline, virtual] |
Application operator on a single element 1st run: calculate size of Matrices.
2nd run: fill DenseMatrices.
Implements graphics::MatrixBaseOutputCell< G >.
Definition at line 311 of file matrixBasis.hh.

| void graphics::MatrixBaseOutputCell< G >::resetCounter | ( | ) | [inline, inherited] |
Definition at line 104 of file matrixBasis.hh.
| virtual void graphics::MatrixSolutionEvaluationCell< F, G >::setFunValue | ( | concepts::DenseMatrix< F > * | newFunVal | ) | [inline, virtual] |
Getter for the dense matrix with the function values.
Definition at line 348 of file matrixBasis.hh.
| virtual void graphics::MatrixSolutionEvaluationCell< F, G >::setSolVec | ( | const concepts::Vector< F > * | newsol | ) | [inline, virtual] |
Getter for the dense matrix with the function values.
Definition at line 344 of file matrixBasis.hh.
concepts::Array<F> graphics::MatrixSolutionEvaluationCell< F, G >::coeff_ [private] |
Local coefficient vector in one element (size is number of local shape functions)
Definition at line 367 of file matrixBasis.hh.
bool graphics::MatrixBaseOutputCell< G >::counted [inherited] |
Boolean that decides what the CellPostProcess have to do: false: if the length of the matrices saving the data have to be counted.
true : if the length of the matrices saving the data are already counted.
Definition at line 99 of file matrixBasis.hh.
uint graphics::MatrixBaseOutputCell< G >::counter [inherited] |
Number of stored points. It is used in "void matlabBinaryMeshGraphics::writeMesh".
Definition at line 85 of file matrixBasis.hh.
std::map<std::string, concepts::DenseMatrix<G>*>& graphics::MatrixBaseOutputCell< G >::dense_ptr_ [protected, inherited] |
A mapping that holds all data in concepts::DenseMatrix<F>
Definition at line 122 of file matrixBasis.hh.
uint graphics::MatrixBaseOutputCell< G >::dim_ [protected, inherited] |
The space dimension of the mesh (1, 2, or 3)
Definition at line 119 of file matrixBasis.hh.
uint graphics::MatrixBaseOutputCell< G >::dimensionsOfMatrices[4] [inherited] |
Four counters that stores space-dependent values (for ex.
of integration points) first component: number of integration points in the whole mesh. second component: number of quads, build by integration points in the whole mesh. third component: number of edges, build by integration points in the whole mesh". fourth component: number of big quads.
Definition at line 93 of file matrixBasis.hh.
const concepts::ElementFunction<F, G>* graphics::MatrixSolutionEvaluationCell< F, G >::fun_ [private] |
ElementFunction.
Definition at line 364 of file matrixBasis.hh.
concepts::DenseMatrix<F>* graphics::MatrixSolutionEvaluationCell< F, G >::funValue_ [private] |
Function Value in evaluate points.
Definition at line 370 of file matrixBasis.hh.
uint graphics::MatrixBaseOutputCell< G >::indexOfAttributes [inherited] |
Index of the (next) quad (used for the attributes).
Definition at line 73 of file matrixBasis.hh.
uint graphics::MatrixBaseOutputCell< G >::indexOfEdgAttr [inherited] |
Index of the (next) graphics edge (used for edge attribute)
Definition at line 76 of file matrixBasis.hh.
uint graphics::MatrixBaseOutputCell< G >::indexOfEdgeMesh [inherited] |
Index of the (next) graphics edge in the edge mesh.
Definition at line 67 of file matrixBasis.hh.
uint graphics::MatrixBaseOutputCell< G >::indexOfMesh [inherited] |
Index of the (next) graphics quad (the small one).
Definition at line 64 of file matrixBasis.hh.
uint graphics::MatrixBaseOutputCell< G >::indexOfPoints [inherited] |
Index of the (next) graphics point.
Definition at line 61 of file matrixBasis.hh.
uint graphics::MatrixBaseOutputCell< G >::indexOfPolynomialDegree [inherited] |
Index of the (next) quad (used for the polynomial degree)
Definition at line 82 of file matrixBasis.hh.
uint graphics::MatrixBaseOutputCell< G >::indexOfVertexMesh [inherited] |
Index of the (next) quad (used for the vertex mesh).
Definition at line 70 of file matrixBasis.hh.
uint graphics::MatrixBaseOutputCell< G >::indexOfVtxAttr [inherited] |
Index of the (next) quad (used for the vertex attribute)
Definition at line 79 of file matrixBasis.hh.
const concepts::Vector<F>* graphics::MatrixSolutionEvaluationCell< F, G >::sol_ [private] |
the solution vector
Definition at line 373 of file matrixBasis.hh.
enum concepts::ElementGraphicsBase::graphicsType graphics::MatrixBaseOutputCell< G >::type_ [protected, inherited] |
The graphicsType (either concepts::ElementGraphicsBase::DENSEMATRIX or concepts::ElementGraphicsBase::MESH_DENSEMATRIX)
Definition at line 127 of file matrixBasis.hh.
| bool graphics::MatrixSolutionEvaluationCell< F, G >::writeMesh |
Definition at line 359 of file matrixBasis.hh.