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

Public Member Functions | Protected Member Functions | Private Attributes
graphics::DataGnuplotCell< F > Class Template Reference

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

#include <dataGnuplot.hh>

Inheritance diagram for graphics::DataGnuplotCell< F >:
Inheritance graph
[legend]
Collaboration diagram for graphics::DataGnuplotCell< F >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

const concepts::Array< Real > & coeff () const
 Returns the coefficients of the elements shape functions.
 DataGnuplotCell (std::ofstream *ofs, const concepts::Vector< Real > &solution, const concepts::ElementFunction< Real > *fun=0)
 Constructor.
 DataGnuplotCell (std::ofstream *ofs, const concepts::Formula< Real > &frm, const concepts::ElementFunction< Real > *fun=0)
 Constructor.
 DataGnuplotCell (std::ofstream *ofs, const concepts::ElementFormula< F > &frm, const concepts::ElementFunction< Real > *fun=0)
 Constructor.
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.
const concepts::Formula< Real > * formula () const
 Returns the formula to plot.
virtual void operator() (const concepts::Element< F > &elm) throw (concepts::MissingFeature)
 Application operator.
virtual void operator() (const concepts::Cell &cell) throw (concepts::MissingFeature)
 Application operator.
std::ofstream * write ()
 Returns the stream to write the data to.
virtual ~DataGnuplotCell ()

Protected Member Functions

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

Private Attributes

concepts::Array< Real > coeff_
 Elementwise coefficients of the shape functions.
std::auto_ptr< const
concepts::Formula< Real > > 
frm_
 Formula.
const concepts::ElementFormula
< F > * 
frmElm_
 Formula (given elementwise)
const
concepts::ElementFunction< F > * 
fun_
 Function of the solution.
std::ofstream * ofs_
 Stream to write the data to.
const concepts::Vector< Real > * solution_
 Vector of the variable to plot.

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 37 of file dataGnuplot.hh.


Constructor & Destructor Documentation

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)
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
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)
template<typename F>
virtual graphics::DataGnuplotCell< F >::~DataGnuplotCell ( ) [virtual]

Member Function Documentation

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.

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.

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.

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.

template<class F>
virtual std::ostream& concepts::CellPostprocess< F >::info ( std::ostream &  os) const [protected, virtual, inherited]
template<typename F>
virtual void graphics::DataGnuplotCell< F >::operator() ( const concepts::Element< F > &  elm) throw (concepts::MissingFeature) [virtual]

Application operator.

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

Parameters:
elmCurrent element

Implements concepts::CellPostprocess< F >.

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

Application operator.

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

Parameters:
cellCurrent cell

Implements concepts::CellPostprocess< F >.

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.


Member Data Documentation

template<typename F>
concepts::Array<Real> graphics::DataGnuplotCell< F >::coeff_ [private]

Elementwise coefficients of the shape functions.

Definition at line 84 of file dataGnuplot.hh.

template<typename F>
std::auto_ptr<const concepts::Formula<Real> > graphics::DataGnuplotCell< F >::frm_ [private]

Formula.

Definition at line 88 of file dataGnuplot.hh.

template<typename F>
const concepts::ElementFormula<F>* graphics::DataGnuplotCell< F >::frmElm_ [private]

Formula (given elementwise)

Definition at line 90 of file dataGnuplot.hh.

template<typename F>
const concepts::ElementFunction<F>* graphics::DataGnuplotCell< F >::fun_ [private]

Function of the solution.

Definition at line 92 of file dataGnuplot.hh.

template<typename F>
std::ofstream* graphics::DataGnuplotCell< F >::ofs_ [private]

Stream to write the data to.

Definition at line 82 of file dataGnuplot.hh.

template<typename F>
const concepts::Vector<Real>* graphics::DataGnuplotCell< F >::solution_ [private]

Vector of the variable to plot.

Definition at line 86 of file dataGnuplot.hh.


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

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