Writes formula for a cell to the given streams. More...
#include <basis.hh>


Public Member Functions | |
| 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) | |
| 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::PiecewiseFormulaBase < F > * | formula () const |
| Returns the formula. | |
| virtual uint | n () const |
| Number of components. | |
| virtual void | operator() (const concepts::Element< G > &elm) |
| Output of the mesh and formula on the element. | |
| virtual void | operator() (const concepts::Cell &cell) throw (concepts::MissingFeature) |
| Not operational. | |
| 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 | |
| const concepts::PiecewiseFormulaBase < F > & | frm_ |
| Formula. | |
| const concepts::Array< uint > | Points_ |
| Number of points in one direction. | |
Writes formula for a cell to the given streams.
It can be used for different formats, like Matlab, Gnuplot.
| graphics::BaseFormulaCell< F, G >::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)
| os | Streams |
| dim | Spatial dimension of the elements |
| type | |
| frm | Function of the FE function, e.g. itself. |
| points | Number of points in one direction |
| std::vector<uint>& graphics::BaseOutputCell< G >::count | ( | ) | [inline, inherited] |
| uint graphics::BaseOutputCell< G >::dim | ( | ) | const [inline, inherited] |
| const concepts::PiecewiseFormulaBase<F>* graphics::BaseFormulaCell< F, G >::formula | ( | ) | const [inline] |
| virtual std::ostream& graphics::BaseFormulaCell< F, G >::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from graphics::BaseOutputCell< G >.
| virtual uint graphics::BaseFormulaCell< F, G >::n | ( | ) | const [inline, virtual] |
Number of components.
Implements graphics::BaseOutputCell< G >.
| virtual void graphics::BaseFormulaCell< F, G >::operator() | ( | const concepts::Cell & | cell | ) | throw (concepts::MissingFeature) [virtual] |
Not operational.
Implements graphics::BaseOutputCell< G >.
| virtual void graphics::BaseFormulaCell< F, G >::operator() | ( | const concepts::Element< G > & | elm | ) | [virtual] |
Output of the mesh and formula on the element.
Implements graphics::BaseOutputCell< G >.
| 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] |
const uint graphics::BaseOutputCell< G >::dim_ [protected, inherited] |
const concepts::PiecewiseFormulaBase<F>& graphics::BaseFormulaCell< F, G >::frm_ [private] |
std::map<std::string, std::ostream*>& graphics::BaseOutputCell< G >::os_ [protected, inherited] |
const concepts::Array<uint> graphics::BaseFormulaCell< F, G >::Points_ [private] |
enum concepts::ElementGraphicsBase::graphicsType graphics::BaseOutputCell< G >::type_ [protected, inherited] |