23 class DenseMatrixCollection;
43 concepts::ElementGraphicsBase::DENSEMATRIX,
const uint points = 5);
57 inline void setDim(
int dim) {
81 virtual std::ostream&
info(std::ostream& os)
const;
90 const enum concepts::ElementGraphicsBase::graphicsType type_;
103 template<
class G = Real>
111 const enum concepts::ElementGraphicsBase::graphicsType type =
112 concepts::ElementGraphicsBase::DENSEMATRIX, uint
dim = 2) :
149 const enum concepts::ElementGraphicsBase::graphicsType
type_;
159 template<
class G = Real>
170 const enum concepts::ElementGraphicsBase::graphicsType type =
171 concepts::ElementGraphicsBase::DENSEMATRIX) :
184 elm.graphics()->operator()(elm, this->
type_, *
this);
258 template<class F, class G = typename concepts::Realtype<F>::type>
261 typedef typename concepts::Datatype<F>::type dataType;
283 elm.graphics()->operator()(elm, this->
type_, *
this);
298 virtual uint
n()
const {
307 virtual std::ostream&
info(std::ostream& os)
const {
313 return os <<
", frm = " <<
fun_ <<
")";
330 template<class F, class G = typename concepts::Realtype<F>::type>
347 dim), fun_(fun), funValue_(
funValue), sol_(solution) {
359 elm.
T().extract(sol_, coeff_);
360 elm.graphics()->operator()(elm, this->
type_, *
this);
395 virtual std::ostream&
info(std::ostream& os)
const {
443 2,
const uint points = 5,
444 const enum concepts::ElementGraphicsBase::graphicsType type =
445 concepts::ElementGraphicsBase::MESH_DENSEMATRIX) :
#define conceptsException(exc)
virtual const TMatrixBase< F > & T() const =0
Returns the T matrix of the element.
virtual void operator()(const concepts::Cell &cell)
Output of the mesh of of the cell cell.
virtual ~MatrixBaseMeshCell()
Destructor.
virtual void operator()(const concepts::Element< Real > &elm)
Output of the mesh of the element elm.
MatrixBaseMeshCell(DenseMatrixCollection< Real > &dense_ptr, const uint dim=2, const uint points=5, const enum concepts::ElementGraphicsBase::graphicsType type=concepts::ElementGraphicsBase::MESH_DENSEMATRIX)
uint dim() const
returns the space dimension of the mesh (two by default)
virtual void resetCounter()
resets all counters to zero
uint dim_
The space dimension of the mesh (1, 2, or 3)
uint indexOfPoints
Index of the (next) graphics point.
virtual ~MatrixBasisOutputCell()
Destructor.
virtual void operator()(const concepts::Element< G > &elm)=0
Writes data of the given element in the matrices.
virtual void operator()(const concepts::Cell &cell)=0
Writes Data of the given cell in the matrices.
enum concepts::ElementGraphicsBase::graphicsType type_
MatrixBasisOutputCell(const enum concepts::ElementGraphicsBase::graphicsType type=concepts::ElementGraphicsBase::DENSEMATRIX, uint dim=2)
virtual void operator()(const concepts::Element< Real > &elm)
Writes data of the given element in the matrices.
std::map< std::string, uint > noRows
Number of rows for the matrices.
MatrixCounterCell(const concepts::ElementGraphicsBase::graphicsType type=concepts::ElementGraphicsBase::DENSEMATRIX, const uint points=5)
virtual ~MatrixCounterCell()
Destructor.
int getDimensionsOfMatrices(uint i)
returns the dimension og
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual void operator()(const concepts::Cell &cell)
Writes Data of the given cell in the matrices.
uint dimensionsOfMatrices[5]
const concepts::Array< F > & coeff() const
virtual ~MatrixSolutionEvaluationCell()
Destructor.
uint n()
Getter for the dimension of the solution output (number of components)
const concepts::ElementFunction< F, G > * elementFunction()
Getter for the element function.
virtual void operator()(const concepts::Cell &cell)
Application operator on a single cell (not implemented)
MatrixSolutionEvaluationCell(concepts::ElementMatrix< F > *funValue, const concepts::Vector< F > &solution, const concepts::ElementFunction< F, G > *fun=0, uint dim=2)
virtual concepts::ElementMatrix< F > * funValue() const
Getter for the dense matrix with the function values.
virtual void operator()(const concepts::Element< G > &elm)
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
uint indexOfPolynomialDegree
Index of the (next) quad (used for the polynomial degree)
uint indexOfMesh
Index of the (next) graphics quad (the small one).
uint indexOfVertexMesh
Index of the (next) quad (used for the vertex mesh).
virtual void resetCounter()
Resets all counter.
uint indexOfAttributes
Index of the (next) quad (used for the attributes).
DenseMatrixCollection< G > & getMapping()
Returns a mapping with all dense matrices, where data should be stored.
uint indexOfEdgeMesh
Index of the (next) graphics edge in the edge mesh.
uint indexOfFaceAttr
Index of the (next) graphics edge (used for edge attribute)
virtual void operator()(const concepts::Cell &cell)
uint indexOfEdgAttr
Index of the (next) graphics edge (used for edge attribute)
virtual ~MatrixSpaceOutputCell()
Destructor.
DenseMatrixCollection< G > & dense_ptr_
The mapping that holds the matrices.
virtual void operator()(const concepts::Element< G > &elm)
uint indexOfFaceMesh
Index of the (next) graphics quad.
MatrixSpaceOutputCell(DenseMatrixCollection< G > &dense_ptr, uint dim=2, const enum concepts::ElementGraphicsBase::graphicsType type=concepts::ElementGraphicsBase::DENSEMATRIX)
uint indexOfVtxAttr
Index of the (next) quad (used for the vertex attribute)
std::string typeOf(const T &t)