virtual void operator()(const concepts::Cell &cell)
Not operational.
const concepts::ElementFormula< F, G > & elementFormula()
Returns the coefficients of the elements shape functions.
Definition: basis.hh:205
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual void operator()(const concepts::Cell &cell)
Not operational.
An abstract class for a function in a FE space.
Definition: elementFormula.hh:25
enum concepts::ElementGraphicsBase::graphicsType type_
Type of Output, like Matlab, Gnuplot.
Definition: basis.hh:118
Piecewise defined function on a number of cells.
Definition: piecewiseFormula.hh:43
const concepts::Array< F > & coeff() const
Returns the coefficients of the elements shape functions.
Definition: basis.hh:160
virtual void operator()(const concepts::Element< G > &elm)
Output of the mesh and formula on the element.
BaseDataCell(std::map< std::string, std::ostream * > &os, const uint dim, const concepts::ElementGraphicsBase::graphicsType type, const concepts::Vector< F > &sol, const concepts::ElementFunction< F, G > *fun=0)
Constructor (for single and repeated output)
A cell in a mesh consist of topological information (neighbours, connectivity, orientation) and geome...
Definition: cell.hh:39
virtual uint n() const
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual void operator()(const concepts::Cell &cell)
Not operational.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
const concepts::PiecewiseFormulaBase< F > * formula() const
Returns the formula.
Definition: basis.hh:244
Class for writing the graphical output of a FE solution represented by a coefficient vector (and poss...
Definition: basis.hh:140
const concepts::ElementFunction< F, G > *& elementFunction()
Returns the function of the solution.
Definition: basis.hh:162
BaseMeshCell(std::map< std::string, std::ostream * > &os, const uint dim, const concepts::ElementGraphicsBase::graphicsType type, const uint points=5)
Constructor (for single and repeated output)
virtual void operator()(const concepts::Element< G > &elm)
Output of the mesh and vector data of the element.
virtual void operator()(const concepts::Element< F > &elm)=0
uint dim() const
Number of the elements, used for drawing mesh representation.
Definition: basis.hh:112
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Interface for a formula defined element by element.
Definition: elementFormula.hh:35
virtual void operator()(const concepts::Cell &cell)=0
Application operator.
Writes element formula for a cell to the given streams.
Definition: basis.hh:186
virtual void operator()(const concepts::Element< G > &elm)
Output of the mesh and vector data of the element.
std::vector< uint > & count()
Number of points written to the files, used for mesh representation.
Definition: basis.hh:108
std::complex< Real > Cmplx
Type for a complex number. It also depends on the setting of Real.
Definition: typedefs.hh:39
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
OutputBase(const std::string filename, const bool append=false)
Constructor.
BaseFormulaCell(std::map< std::string, std::ostream * > &os, const uint dim, const concepts::ElementGraphicsBase::graphicsType type, const concepts::PiecewiseFormulaBase< F > &frm, const uint points=5)
Constructor (for single and repeated output)
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual void operator()(const concepts::Element< Real > &elm)
Output of the mesh of the element.
virtual void operator()(const concepts::Cell &cell)
Output of the mesh for this cell.
BaseOutputCell(std::map< std::string, std::ostream * > &os, const uint dim, const concepts::ElementGraphicsBase::graphicsType type)
Definition: basis.hh:97
const uint n()=0
BaseElementFormulaCell(std::map< std::string, std::ostream * > &os, const uint dim, const concepts::ElementGraphicsBase::graphicsType type, const concepts::ElementFormula< F, G > &fun)
Constructor (for single and repeated output)
std::map< std::string, std::ostream * > & write()
Returns the streams to write the data to.
Definition: basis.hh:103