Public Member Functions |
Protected Member Functions |
Protected Attributes |
Private Attributes |
List of all members
graphics::BaseFormulaCell< F, G > Class Template Referenceabstract
Writes formula for a cell to the given streams. More...
#include <basis.hh>
Inheritance diagram for graphics::BaseFormulaCell< F, G >:
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) 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::PiecewiseFormulaBase< F > * | formula () const |
Returns the formula. 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 formula on 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... | |
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... | |
Private Attributes | |
const concepts::PiecewiseFormulaBase< F > & | frm_ |
Formula. More... | |
const concepts::Array< uint > | Points_ |
Number of points in one direction. More... | |
Detailed Description
template<class F, class G = typename concepts::Realtype<F>::type>
class graphics::BaseFormulaCell< F, G >
Writes formula for a cell to the given streams.
It can be used for different formats, like Matlab, Gnuplot.
Constructor & Destructor Documentation
◆ BaseFormulaCell()
template<class F , class G = typename concepts::Realtype<F>::type>
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)
- Parameters
-
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
Member Function Documentation
◆ count()
|
inlineinherited |
◆ dim()
|
inlineinherited |
◆ formula()
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 formula on the element.
◆ operator()() [3/3]
|
pure virtualinherited |
◆ streams()
|
inlineinherited |
◆ write()
|
inlineinherited |
Member Data Documentation
◆ cnt_
|
protectedinherited |
◆ dim_
|
protectedinherited |
◆ frm_
template<class F , class G = typename concepts::Realtype<F>::type>
|
private |
◆ os_
|
protectedinherited |
◆ Points_
template<class F , class G = typename concepts::Realtype<F>::type>
|
private |
◆ type_
|
protectedinherited |
The documentation for this class was generated from the following file:
- graphics/basis.hh