#include <basis.hh>
Public Member Functions | |
| 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) | |
| virtual void | operator() (const concepts::Element< G > &elm) |
| virtual void | operator() (const concepts::Cell &cell) |
| Not operational. | |
| const concepts::Array< F > & | coeff () const |
| Returns the coefficients of the elements shape functions. | |
| const concepts::ElementFunction< F, G > *& | elementFunction () |
| Returns the function of the solution. | |
| const concepts::Vector< F > & | sol () const |
| 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 | |
| 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. | |
Class for writing the graphical output of a FE solution represented by a coefficient vector (and possibly an element function) to the given streams.
It can be used for different formats, like Matlab, Gnuplot.
| graphics::BaseDataCell< F, G >::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)
| 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. |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from graphics::BaseOutputCell< F >.
|
virtual |
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
|
inline |
|
inlineinherited |
|
inlineinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |