vectorial::Graphics< F > Class Template Referenceabstract
Handles graphics for vector valued elements. More...
#include <graphics.hh>
Inheritance diagram for vectorial::Graphics< F >:
Public Member Functions | |
void | choose (uint idx) |
Choose component to be plotted. More... | |
uint | chosen () const |
Returns index of chosen component. More... | |
Graphics () | |
virtual void | operator() (const concepts::Element< F > &elm, typename concepts::ElementGraphics< F >::graphicsType type, concepts::CellPostprocess< F > &post) const |
virtual void | operator() (const Element< F > &elm, enum graphicsType type, CellPostprocess< F > &post) const =0 |
Writes necessary data to a file for graphics. More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Private Attributes | |
uint | idx_ |
Component which should be visualized. More... | |
Detailed Description
template<typename F>
class vectorial::Graphics< F >
Handles graphics for vector valued elements.
Definition at line 19 of file graphics.hh.
Constructor & Destructor Documentation
◆ Graphics()
template<typename F >
|
inline |
Definition at line 21 of file graphics.hh.
Member Function Documentation
◆ choose()
template<typename F >
|
inline |
Choose component to be plotted.
- Parameters
-
idx Chooses the component idx
of the vector valued elements to be visualized
Definition at line 26 of file graphics.hh.
◆ chosen()
template<typename F >
|
inline |
Returns index of chosen component.
Definition at line 28 of file graphics.hh.
◆ info()
template<typename F >
|
protectedvirtual |
◆ operator()() [1/2]
template<typename F >
|
virtual |
◆ operator()() [2/2]
template<typename F = int>
|
pure virtualinherited |
Writes necessary data to a file for graphics.
This method is called by the application operator of the object which should create the graphics file. Such an object is a specialization of CellPostprocess
. It is best if an element returns an object of this type.
- Parameters
-
elm Element which should be depicted type Type of graphics post Calling CellPostprocess
specialization, might be necessary to get some data
- See also
- CellPostprocess
- Element
Member Data Documentation
◆ idx_
template<typename F >
|
private |
Component which should be visualized.
Definition at line 37 of file graphics.hh.
The documentation for this class was generated from the following file:
- vectorial/graphics.hh