Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Protected Member Functions | Protected Attributes
graphics::BaseElementFormulaCell< F, G > Class Template Reference

Writes element formula for a cell to the given streams. More...

#include <basis.hh>

Inheritance diagram for graphics::BaseElementFormulaCell< F, G >:
Inheritance graph
[legend]
Collaboration diagram for graphics::BaseElementFormulaCell< F, G >:
Collaboration graph
[legend]

List of all members.

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)
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::ElementFormula
< F, G > & 
elementFormula ()
 Returns the coefficients of the elements shape functions.
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.
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.
const concepts::ElementFormula
< F, G > & 
fun_
 Element Formula.
std::map< std::string,
std::ostream * > & 
os_
 Streams to write the data to.
enum
concepts::ElementGraphicsBase::graphicsType 
type_
 Type of Output, like Matlab, Gnuplot.

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.

Author:
Kersten Schmidt, 2005

Definition at line 188 of file basis.hh.


Constructor & Destructor Documentation

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:
osStreams
dimSpatial dimension of the elements
solThe first solution set which should be plotted
funFunction of the FE function, e.g. itself.

Member Function Documentation

std::vector<uint>& graphics::BaseOutputCell< G >::count ( ) [inline, inherited]

Number of points written to the files, used for mesh representation.

Definition at line 110 of file basis.hh.

uint graphics::BaseOutputCell< G >::dim ( ) const [inline, inherited]

Number of the elements, used for drawing mesh representation.

Dimension

Definition at line 114 of file basis.hh.

template<class F, class G = typename concepts::Realtype<F>::type>
const concepts::ElementFormula<F,G>& graphics::BaseElementFormulaCell< F, G >::elementFormula ( ) [inline]

Returns the coefficients of the elements shape functions.

Definition at line 207 of file basis.hh.

template<class F, class G = typename concepts::Realtype<F>::type>
virtual std::ostream& graphics::BaseElementFormulaCell< F, G >::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from graphics::BaseOutputCell< G >.

template<class F, class G = typename concepts::Realtype<F>::type>
virtual uint graphics::BaseElementFormulaCell< F, G >::n ( ) const [inline, virtual]

Number of components.

Implements graphics::BaseOutputCell< G >.

Definition at line 209 of file basis.hh.

template<class F, class G = typename concepts::Realtype<F>::type>
virtual void graphics::BaseElementFormulaCell< F, G >::operator() ( const concepts::Cell cell) throw (concepts::MissingFeature) [virtual]

Not operational.

Implements graphics::BaseOutputCell< G >.

template<class F, class G = typename concepts::Realtype<F>::type>
virtual void graphics::BaseElementFormulaCell< F, G >::operator() ( const concepts::Element< G > &  elm) [virtual]

Output of the mesh and vector data of the element.

Implements graphics::BaseOutputCell< G >.

uint graphics::BaseOutputCell< G >::streams ( ) const [inline, inherited]

Number of streams.

Definition at line 107 of file basis.hh.

std::map<std::string, std::ostream*>& graphics::BaseOutputCell< G >::write ( ) [inline, inherited]

Returns the streams to write the data to.

Definition at line 105 of file basis.hh.


Member Data Documentation

concepts::Sequence<uint> graphics::BaseOutputCell< G >::cnt_ [protected, inherited]

Some counters.

Definition at line 122 of file basis.hh.

const uint graphics::BaseOutputCell< G >::dim_ [protected, inherited]

Number of drawn elements.

Spatial dimension of the space

Definition at line 126 of file basis.hh.

template<class F, class G = typename concepts::Realtype<F>::type>
const concepts::ElementFormula<F,G>& graphics::BaseElementFormulaCell< F, G >::fun_ [protected]

Element Formula.

Definition at line 213 of file basis.hh.

std::map<std::string, std::ostream*>& graphics::BaseOutputCell< G >::os_ [protected, inherited]

Streams to write the data to.

Definition at line 128 of file basis.hh.

Type of Output, like Matlab, Gnuplot.

Definition at line 120 of file basis.hh.


The documentation for this class was generated from the following file:

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)