Writes the data which describe the elements to the given streams. More...
#include <dataGnuplot.hh>


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. | |
Writes the data which describe the elements to the given streams.
Definition at line 37 of file dataGnuplot.hh.
| graphics::DataGnuplotCell< F >::DataGnuplotCell | ( | std::ofstream * | ofs, |
| const concepts::Vector< Real > & | solution, | ||
| const concepts::ElementFunction< Real > * | fun = 0 |
||
| ) |
Constructor.
| ofs | Stream to write to |
| solution | Solution vector to plot |
| fun | Possibly plot function of FE function (fun = 0, plot FE function itself) |
| graphics::DataGnuplotCell< F >::DataGnuplotCell | ( | std::ofstream * | ofs, |
| const concepts::Formula< Real > & | frm, | ||
| const concepts::ElementFunction< Real > * | fun = 0 |
||
| ) |
Constructor.
| ofs | Stream to write to |
| frm | Formula to plot |
| graphics::DataGnuplotCell< F >::DataGnuplotCell | ( | std::ofstream * | ofs, |
| const concepts::ElementFormula< F > & | frm, | ||
| const concepts::ElementFunction< Real > * | fun = 0 |
||
| ) |
Constructor.
| ofs | Stream to write to |
| frm | Formula to plot (given elementwise) |
| virtual graphics::DataGnuplotCell< F >::~DataGnuplotCell | ( | ) | [virtual] |
| 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.
| 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.
| const concepts::ElementFunction<F>* graphics::DataGnuplotCell< F >::elementFunction | ( | ) | const [inline] |
Returns the function of the solution.
Definition at line 77 of file dataGnuplot.hh.
| const concepts::Formula<Real>* graphics::DataGnuplotCell< F >::formula | ( | ) | const [inline] |
Returns the formula to plot.
Definition at line 71 of file dataGnuplot.hh.
| virtual std::ostream& concepts::CellPostprocess< F >::info | ( | std::ostream & | os | ) | const [protected, virtual, inherited] |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in EvaluateEa_of_x, CellA_M_alpha_of_x, CellA_M_of_x_MC, graphics::BaseOutputCell< F >, graphics::BaseDataCell< F, G >, graphics::BaseElementFormulaCell< F, G >, graphics::BaseFormulaCell< F, G >, graphics::BaseMeshCell, graphics::VertexList, hp2D::APrioriRefinement, hp3D::APrioriRefinement, concepts::HRefinement< F, dim >, concepts::PRefinement< F, dim >, concepts::CellIntegral< F >, concepts::CellFaceIntegral< F >, concepts::CellEdgeIntegral< F >, graphics::BaseOutputCell< G >, and graphics::BaseOutputCell< Real >.
| 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.
| elm | Current element |
Implements concepts::CellPostprocess< 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.
| cell | Current cell |
Implements concepts::CellPostprocess< F >.
| std::ofstream* graphics::DataGnuplotCell< F >::write | ( | ) | [inline] |
Returns the stream to write the data to.
Definition at line 67 of file dataGnuplot.hh.
concepts::Array<Real> graphics::DataGnuplotCell< F >::coeff_ [private] |
Elementwise coefficients of the shape functions.
Definition at line 84 of file dataGnuplot.hh.
std::auto_ptr<const concepts::Formula<Real> > graphics::DataGnuplotCell< F >::frm_ [private] |
Formula.
Definition at line 88 of file dataGnuplot.hh.
const concepts::ElementFormula<F>* graphics::DataGnuplotCell< F >::frmElm_ [private] |
Formula (given elementwise)
Definition at line 90 of file dataGnuplot.hh.
const concepts::ElementFunction<F>* graphics::DataGnuplotCell< F >::fun_ [private] |
Function of the solution.
Definition at line 92 of file dataGnuplot.hh.
std::ofstream* graphics::DataGnuplotCell< F >::ofs_ [private] |
Stream to write the data to.
Definition at line 82 of file dataGnuplot.hh.
const concepts::Vector<Real>* graphics::DataGnuplotCell< F >::solution_ [private] |
Vector of the variable to plot.
Definition at line 86 of file dataGnuplot.hh.