graphics::BaseElementFormulaCell< F, G > Class Template Referenceabstract
Writes element formula for a cell to the given streams. More...
#include <basis.hh>
Inheritance diagram for graphics::BaseElementFormulaCell< F, G >:
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) | |
Constructor (for single and repeated output) More... | |
std::vector< uint > & | count () |
Number of points written to the files, used for mesh representation. More... | |
uint | dim () const |
Number of the elements, used for drawing mesh representation. More... | |
const concepts::ElementFormula< F, G > & | elementFormula () |
Returns the coefficients of the elements shape functions. More... | |
virtual uint | n () const |
virtual uint | n () const=0 |
Number of components. More... | |
virtual void | operator() (const concepts::Cell &cell) throw (concepts::MissingFeature) |
Not operational. More... | |
virtual void | operator() (const concepts::Element< G > &elm) |
Output of the mesh and vector data of the element. More... | |
virtual void | operator() (const concepts::Element< typename concepts::Realtype< F >::type > &elm)=0 |
uint | streams () const |
Number of streams. More... | |
std::map< std::string, std::ostream * > & | write () |
Returns the streams to write the data to. More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Protected Attributes | |
concepts::Sequence< uint > | cnt_ |
Some counters. More... | |
const uint | dim_ |
Number of drawn elements. More... | |
const concepts::ElementFormula< F, G > & | fun_ |
Element Formula. More... | |
std::map< std::string, std::ostream * > & | os_ |
Streams to write the data to. More... | |
enum concepts::ElementGraphicsBase::graphicsType | type_ |
Type of Output, like Matlab, Gnuplot. More... | |
Detailed Description
template<class F, class G = typename concepts::Realtype<F>::type>
class graphics::BaseElementFormulaCell< F, G >
Writes element formula for a cell to the given streams.
It can be used for different formats, like Matlab, Gnuplot.
Constructor & Destructor Documentation
◆ BaseElementFormulaCell()
template<class F , class G = typename concepts::Realtype<F>::type>
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)
- Parameters
-
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.
Member Function Documentation
◆ count()
|
inlineinherited |
◆ dim()
|
inlineinherited |
◆ elementFormula()
template<class F , class G = typename concepts::Realtype<F>::type>
|
inline |
◆ info()
template<class F , class G = typename concepts::Realtype<F>::type>
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from graphics::BaseOutputCell< typename concepts::Realtype< F >::type >.
◆ n() [1/2]
template<class F , class G = typename concepts::Realtype<F>::type>
|
inlinevirtual |
◆ n() [2/2]
|
pure virtualinherited |
Number of components.
◆ operator()() [1/3]
template<class F , class G = typename concepts::Realtype<F>::type>
|
virtual |
Not operational.
Implements graphics::BaseOutputCell< typename concepts::Realtype< F >::type >.
◆ operator()() [2/3]
template<class F , class G = typename concepts::Realtype<F>::type>
|
virtual |
Output of the mesh and vector data of the element.
◆ operator()() [3/3]
|
pure virtualinherited |
◆ streams()
|
inlineinherited |
◆ write()
|
inlineinherited |
Member Data Documentation
◆ cnt_
|
protectedinherited |
◆ dim_
|
protectedinherited |
◆ fun_
template<class F , class G = typename concepts::Realtype<F>::type>
|
protected |
◆ os_
|
protectedinherited |
◆ type_
|
protectedinherited |
The documentation for this class was generated from the following file:
- graphics/basis.hh