Class for writing the graphical output of a FE solution represented by a coefficient vector (and possibly an element function) to the given streams. More...
#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) | |
| Constructor (for single and repeated output) | |
| const concepts::Array< F > & | coeff () const |
| Returns the coefficients of the elements shape functions. | |
| 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. | |
| const concepts::ElementFunction< F, G > *& | elementFunction () |
| Returns the function of the solution. | |
| virtual uint | n () const |
| Number of components. | |
| virtual void | operator() (const concepts::Element< G > &elm) |
| Output of the mesh and vector data of the element. | |
| virtual void | operator() (const concepts::Cell &cell) throw (concepts::MissingFeature) |
| Not operational. | |
| const concepts::Vector< F > & | sol () const |
| uint | streams () const |
| Number of streams. | |
| std::map< std::string, std::ostream * > & | write () |
| Returns the streams to write the data to. | |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Protected Attributes | |
| 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. | |
| enum concepts::ElementGraphicsBase::graphicsType | type_ |
| Type of Output, like Matlab, Gnuplot. | |
Private Attributes | |
| concepts::Array< F > | coeff_ |
| Elementwise coefficients of the shape functions. | |
| const concepts::ElementFunction< F, G > * | fun_ |
| Function of the solution. | |
| const concepts::Vector< F > & | sol_ |
| Vector of the variable to plot. | |
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. |
| const concepts::Array<F>& graphics::BaseDataCell< F, G >::coeff | ( | ) | const [inline] |
| std::vector<uint>& graphics::BaseOutputCell< G >::count | ( | ) | [inline, inherited] |
| uint graphics::BaseOutputCell< G >::dim | ( | ) | const [inline, inherited] |
| const concepts::ElementFunction<F,G>*& graphics::BaseDataCell< F, G >::elementFunction | ( | ) | [inline] |
| virtual std::ostream& graphics::BaseDataCell< F, G >::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from graphics::BaseOutputCell< G >.
| virtual uint graphics::BaseDataCell< F, G >::n | ( | ) | const [virtual] |
Number of components.
Implements graphics::BaseOutputCell< G >.
| virtual void graphics::BaseDataCell< F, G >::operator() | ( | const concepts::Cell & | cell | ) | throw (concepts::MissingFeature) [virtual] |
Not operational.
Implements graphics::BaseOutputCell< G >.
| virtual void graphics::BaseDataCell< F, G >::operator() | ( | const concepts::Element< G > & | elm | ) | [virtual] |
Output of the mesh and vector data of the element.
Implements graphics::BaseOutputCell< G >.
| const concepts::Vector<F>& graphics::BaseDataCell< F, G >::sol | ( | ) | const [inline] |
| uint graphics::BaseOutputCell< G >::streams | ( | ) | const [inline, inherited] |
| std::map<std::string, std::ostream*>& graphics::BaseOutputCell< G >::write | ( | ) | [inline, inherited] |
concepts::Sequence<uint> graphics::BaseOutputCell< G >::cnt_ [protected, inherited] |
concepts::Array<F> graphics::BaseDataCell< F, G >::coeff_ [private] |
const uint graphics::BaseOutputCell< G >::dim_ [protected, inherited] |
const concepts::ElementFunction<F,G>* graphics::BaseDataCell< F, G >::fun_ [private] |
std::map<std::string, std::ostream*>& graphics::BaseOutputCell< G >::os_ [protected, inherited] |
const concepts::Vector<F>& graphics::BaseDataCell< F, G >::sol_ [private] |
enum concepts::ElementGraphicsBase::graphicsType graphics::BaseOutputCell< G >::type_ [protected, inherited] |