6#ifndef densematrixgraphics_hh_
7#define densematrixgraphics_hh_
27 concepts::ElementMatrix<G>* const > {
90 template<
class F,
class G>
102 template<
class F,
class G>
129 template<
class F,
class G>
138 int functionOutputDimension;
140 functionOutputDimension = fun->
n();
146 if(std::is_same<F, concepts::Real2d>::value || std::is_same<F, concepts::Cmplx2d>::value)
147 functionOutputDimension *=2u;
148 if(std::is_same<F, concepts::Real3d>::value || std::is_same<F, concepts::Cmplx3d>::value)
149 functionOutputDimension *=3u;
155 postProcess(counter);
180 postProcess(counter);
193 template<
class F,
class G>
205 postProcess(counter);
208 typedef typename concepts::Datatype<F>::type dataType;
virtual uint n() const =0
Number of components.
virtual uint getOutputDimension() const
Returns the default output dimension, when we consider plotting a real-valued operator on this space.
void createMatrix_(const std::string name, uint nrows, uint ncols)
Creates one dense matrix.
virtual ~DenseMatrixCollection()
Destructor: deltes the pointers in the mapping.
int dim_
The physical space dimension.
DenseMatrixCollection(MatrixCounterCell &counter, bool data=true)
Constructor: Creates a DenseMatrixCollection holding matrices for graphical output with graphics::Den...
void createMatrices_(MatrixCounterCell &counter)
Creates the matrices.
bool data_
Information which values are stored in the mapping.
concepts::RCP< concepts::ElementMatrix< typename concepts::Datatype< F >::type > > getFunction(const concepts::Space< G > &spc, const concepts::ElementFormula< F, G > &frm)
DenseMatrixCollection< Real > getMesh(concepts::Mesh &msh, const uint points=5)
virtual ~DenseMatrixGraphics()
Destructor.
concepts::RCP< concepts::ElementMatrix< F > > getSolution(const concepts::Space< G > &spc, const concepts::Vector< F > &sol, const concepts::ElementFunction< F, G > *fun=0)
DenseMatrixGraphics()
Constructor.
DenseMatrixCollection< G > getSpace(const concepts::Space< G > &spc)
int getDimensionsOfMatrices(uint i)
returns the dimension og
Set< F > makeSet(uint n, const F &first,...)