Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
graphics::MatrixBaseElementFormulaCell< F, G > Class Template Reference

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

#include <matrixBasis.hh>

Inheritance diagram for graphics::MatrixBaseElementFormulaCell< F, G >:
Inheritance graph
[legend]
Collaboration diagram for graphics::MatrixBaseElementFormulaCell< F, G >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

uint dim () const
 returns the space dimension of the mesh (two by default)
const concepts::ElementFormula
< F, G > & 
elementFormula ()
 Returns the element formula.
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.
 MatrixBaseElementFormulaCell (std::map< std::string, concepts::DenseMatrix< G > * > &dense_ptr, concepts::DenseMatrix< F > *&funValue, const uint dim, const concepts::ElementFormula< F, G > &fun)
 Constructor (for single and repeated output)
virtual uint n () const
 Getter for the dimension of the solution output (number of components)
virtual void operator() (const concepts::Cell &cell) throw (concepts::MissingFeature)
 Not operational.
virtual void operator() (const concepts::Element< G > &elm)
 Output of the mesh and vector data of the element.
void resetCounter ()
virtual ~MatrixBaseElementFormulaCell ()

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)

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)
const concepts::ElementFormula
< F, G > & 
fun_
 Element Formula.
concepts::DenseMatrix< F > *& funValue_
 Function Value in evaluate points.
enum
concepts::ElementGraphicsBase::graphicsType 
type_
 The graphicsType (either concepts::ElementGraphicsBase::DENSEMATRIX or concepts::ElementGraphicsBase::MESH_DENSEMATRIX)

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 dense matrices.

Author:
Robert Gruhlke und Christian Heier, 2011

Definition at line 225 of file matrixBasis.hh.


Constructor & Destructor Documentation

template<class F, class G = typename concepts::Realtype<F>::type>
graphics::MatrixBaseElementFormulaCell< F, G >::MatrixBaseElementFormulaCell ( std::map< std::string, concepts::DenseMatrix< G > * > &  dense_ptr,
concepts::DenseMatrix< F > *&  funValue,
const uint  dim,
const concepts::ElementFormula< F, G > &  fun 
) [inline]

Constructor (for single and repeated output)

Parameters:
dense_ptrdense matrices
funValuedense matrix for solution output
dimspatial dimension of the elements
funFunction of the FE function, e.g. itself.

Definition at line 233 of file matrixBasis.hh.

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

Definition at line 242 of file matrixBasis.hh.


Member Function Documentation

template<class G = Real>
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.

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 258 of file matrixBasis.hh.

template<class F, class G = typename concepts::Realtype<F>::type>
virtual concepts::DenseMatrix<F>* graphics::MatrixBaseElementFormulaCell< F, G >::funValue ( ) const [inline, virtual]

Getter for the dense matrix with the function values.

Definition at line 268 of file matrixBasis.hh.

template<class G = Real>
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]
template<class F, class G = typename concepts::Realtype<F>::type>
virtual uint graphics::MatrixBaseElementFormulaCell< F, G >::n ( ) const [inline, virtual]

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

Definition at line 263 of file matrixBasis.hh.

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

Output of the mesh and vector data of the element.

Implements graphics::MatrixBaseOutputCell< G >.

Definition at line 247 of file matrixBasis.hh.

Here is the call graph for this function:

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

Not operational.

Implements graphics::MatrixBaseOutputCell< G >.

Definition at line 252 of file matrixBasis.hh.

template<class G = Real>
void graphics::MatrixBaseOutputCell< G >::resetCounter ( ) [inline, inherited]

Definition at line 104 of file matrixBasis.hh.


Member Data Documentation

template<class G = Real>
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.

template<class G = Real>
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.

template<class G = Real>
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.

template<class G = Real>
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.

template<class G = Real>
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.

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 277 of file matrixBasis.hh.

template<class F, class G = typename concepts::Realtype<F>::type>
concepts::DenseMatrix<F>*& graphics::MatrixBaseElementFormulaCell< F, G >::funValue_ [protected]

Function Value in evaluate points.

Definition at line 274 of file matrixBasis.hh.

template<class G = Real>
uint graphics::MatrixBaseOutputCell< G >::indexOfAttributes [inherited]

Index of the (next) quad (used for the attributes).

Definition at line 73 of file matrixBasis.hh.

template<class G = Real>
uint graphics::MatrixBaseOutputCell< G >::indexOfEdgAttr [inherited]

Index of the (next) graphics edge (used for edge attribute)

Definition at line 76 of file matrixBasis.hh.

template<class G = Real>
uint graphics::MatrixBaseOutputCell< G >::indexOfEdgeMesh [inherited]

Index of the (next) graphics edge in the edge mesh.

Definition at line 67 of file matrixBasis.hh.

template<class G = Real>
uint graphics::MatrixBaseOutputCell< G >::indexOfMesh [inherited]

Index of the (next) graphics quad (the small one).

Definition at line 64 of file matrixBasis.hh.

template<class G = Real>
uint graphics::MatrixBaseOutputCell< G >::indexOfPoints [inherited]

Index of the (next) graphics point.

Definition at line 61 of file matrixBasis.hh.

template<class G = Real>
uint graphics::MatrixBaseOutputCell< G >::indexOfPolynomialDegree [inherited]

Index of the (next) quad (used for the polynomial degree)

Definition at line 82 of file matrixBasis.hh.

template<class G = Real>
uint graphics::MatrixBaseOutputCell< G >::indexOfVertexMesh [inherited]

Index of the (next) quad (used for the vertex mesh).

Definition at line 70 of file matrixBasis.hh.

template<class G = Real>
uint graphics::MatrixBaseOutputCell< G >::indexOfVtxAttr [inherited]

Index of the (next) quad (used for the vertex attribute)

Definition at line 79 of file matrixBasis.hh.

template<class G = Real>
enum concepts::ElementGraphicsBase::graphicsType graphics::MatrixBaseOutputCell< G >::type_ [protected, inherited]

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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)