Class documentation of Concepts

Loading...
Searching...
No Matches
graphics::DataGnuplotCell< F > Class Template Reference

#include <dataGnuplot.hh>

Inheritance diagram for graphics::DataGnuplotCell< F >:
concepts::CellPostprocess< F > concepts::OutputOperator

Public Member Functions

 DataGnuplotCell (std::ofstream *ofs, const concepts::Vector< Real > &solution, const concepts::ElementFunction< Real > *fun=0)
 
 DataGnuplotCell (std::ofstream *ofs, const concepts::Formula< Real > &frm, const concepts::ElementFunction< Real > *fun=0)
 
 DataGnuplotCell (std::ofstream *ofs, const concepts::ElementFormula< F > &frm, const concepts::ElementFunction< Real > *fun=0)
 
virtual void operator() (const concepts::Element< F > &elm)
 
virtual void operator() (const concepts::Cell &cell)
 
std::ofstream * write ()
 Returns the stream to write the data to.
 
const concepts::Array< Real > & coeff () const
 Returns the coefficients of the elements shape functions.
 
const concepts::Formula< Real > * formula () const
 Returns the formula to plot.
 
const concepts::ElementFormula< F > * elementFormula () const
 Returns the formula to plot (given elementwise)
 
const concepts::ElementFunction< F > * elementFunction () const
 Returns the function of the solution.
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Detailed Description

template<typename F>
class graphics::DataGnuplotCell< F >

Writes the data which describe the elements to the given streams.

Author
Philipp Frauenfelder, 2002.

Definition at line 39 of file dataGnuplot.hh.

Constructor & Destructor Documentation

◆ DataGnuplotCell() [1/3]

template<typename F >
graphics::DataGnuplotCell< F >::DataGnuplotCell ( std::ofstream *  ofs,
const concepts::Vector< Real > &  solution,
const concepts::ElementFunction< Real > *  fun = 0 
)

Constructor

Parameters
ofsStream to write to
solutionSolution vector to plot
funPossibly plot function of FE function (fun = 0, plot FE function itself)

◆ DataGnuplotCell() [2/3]

template<typename F >
graphics::DataGnuplotCell< F >::DataGnuplotCell ( std::ofstream *  ofs,
const concepts::Formula< Real > &  frm,
const concepts::ElementFunction< Real > *  fun = 0 
)

Constructor

Parameters
ofsStream to write to
frmFormula to plot

◆ DataGnuplotCell() [3/3]

template<typename F >
graphics::DataGnuplotCell< F >::DataGnuplotCell ( std::ofstream *  ofs,
const concepts::ElementFormula< F > &  frm,
const concepts::ElementFunction< Real > *  fun = 0 
)

Constructor

Parameters
ofsStream to write to
frmFormula to plot (given elementwise)

Member Function Documentation

◆ coeff()

template<typename F >
const concepts::Array< Real > & graphics::DataGnuplotCell< F >::coeff ( ) const
inline

Returns the coefficients of the elements shape functions.

Definition at line 69 of file dataGnuplot.hh.

◆ elementFormula()

template<typename F >
const concepts::ElementFormula< F > * graphics::DataGnuplotCell< F >::elementFormula ( ) const
inline

Returns the formula to plot (given elementwise)

Definition at line 73 of file dataGnuplot.hh.

◆ elementFunction()

template<typename F >
const concepts::ElementFunction< F > * graphics::DataGnuplotCell< F >::elementFunction ( ) const
inline

Returns the function of the solution.

Definition at line 77 of file dataGnuplot.hh.

◆ formula()

template<typename F >
const concepts::Formula< Real > * graphics::DataGnuplotCell< F >::formula ( ) const
inline

Returns the formula to plot.

Definition at line 71 of file dataGnuplot.hh.

◆ info()

◆ operator()() [1/2]

template<typename F >
virtual void graphics::DataGnuplotCell< F >::operator() ( const concepts::Cell cell)
virtual

Application operator. This application operator has to be overloaded to post process a mesh.

Parameters
cellCurrent cell

Implements concepts::CellPostprocess< F >.

◆ operator()() [2/2]

template<typename F >
virtual void graphics::DataGnuplotCell< F >::operator() ( const concepts::Element< F > &  elm)
virtual

Application operator. This application operator has to be overloaded to post process a space.

Parameters
elmCurrent element

Implements concepts::CellPostprocess< F >.

◆ write()

template<typename F >
std::ofstream * graphics::DataGnuplotCell< F >::write ( )
inline

Returns the stream to write the data to.

Definition at line 67 of file dataGnuplot.hh.


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