#include <basis.hh>
Public Member Functions | |
BaseElementFormulaCell (std::map< std::string, std::ostream * > &os, const uint dim, const concepts::ElementGraphicsBase::graphicsType type, const concepts::ElementFormula< F, G > &fun) | |
virtual void | operator() (const concepts::Element< G > &elm) |
virtual void | operator() (const concepts::Cell &cell) |
Not operational. | |
const concepts::ElementFormula< F, G > & | elementFormula () |
Returns the coefficients of the elements shape functions. | |
virtual uint | n () const |
Number of components. | |
virtual void | operator() (const concepts::Element< F > &elm)=0 |
std::map< std::string, std::ostream * > & | write () |
Returns the streams to write the data to. | |
uint | streams () const |
Number of streams. | |
std::vector< uint > & | count () |
Number of points written to the files, used for mesh representation. | |
uint | dim () const |
Number of the elements, used for drawing mesh representation. | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Protected Attributes | |
const concepts::ElementFormula< F, G > & | fun_ |
Element Formula. | |
enum concepts::ElementGraphicsBase::graphicsType | type_ |
Type of Output, like Matlab, Gnuplot. | |
concepts::Sequence< uint > | cnt_ |
Some counters. | |
const uint | dim_ |
Number of drawn elements. | |
std::map< std::string, std::ostream * > & | os_ |
Streams to write the data to. | |
Writes element formula for a cell to the given streams.
It can be used for different formats, like Matlab, Gnuplot.
graphics::BaseElementFormulaCell< F, G >::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)
os | Streams |
dim | Spatial dimension of the elements |
sol | The first solution set which should be plotted |
fun | Function of the FE function, e.g. itself. |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from graphics::BaseOutputCell< F >.
|
inlinevirtual |
Number of components.
Implements graphics::BaseOutputCell< F >.
|
virtual |
Not operational.
Implements graphics::BaseOutputCell< F >.
|
pure virtualinherited |
Application operator. This application operator has to be overloaded to post process a space.
elm | Current element |
Implements concepts::CellPostprocess< F >.
Implemented in graphics::BaseMeshCell.
|
virtual |
Output of the mesh and vector data of the element
|
inlineinherited |
|
inlineinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
|
protectedinherited |
|
protectedinherited |