#include <dataGnuplot.hh>
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. | |
Writes the data which describe the elements to the given streams.
Definition at line 39 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) |
|
inline |
Returns the coefficients of the elements shape functions.
Definition at line 69 of file dataGnuplot.hh.
|
inline |
Returns the formula to plot (given elementwise)
Definition at line 73 of file dataGnuplot.hh.
|
inline |
Returns the function of the solution.
Definition at line 77 of file dataGnuplot.hh.
|
inline |
Returns the formula to plot.
Definition at line 71 of file dataGnuplot.hh.
|
protectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in graphics::BaseOutputCell< F >, graphics::BaseOutputCell< Real >, graphics::BaseOutputCell< typename concepts::Realtype< F >::type >, graphics::BaseDataCell< F, G >, graphics::BaseElementFormulaCell< F, G >, graphics::BaseFormulaCell< F, G >, graphics::BaseMeshCell, graphics::MatrixCounterCell, graphics::MatrixBaseElementFormulaCell< F, G >, graphics::MatrixSolutionEvaluationCell< F, G >, graphics::VertexList, hp2D::APrioriRefinement, hp3D::APrioriRefinement, concepts::HRefinement< F, dim >, concepts::PRefinement< F, dim >, concepts::CellIntegral< F >, concepts::CellFaceIntegral< F >, and concepts::CellEdgeIntegral< F >.
|
virtual |
Application operator. This application operator has to be overloaded to post process a mesh.
cell | Current cell |
Implements concepts::CellPostprocess< F >.
|
virtual |
Application operator. This application operator has to be overloaded to post process a space.
elm | Current element |
Implements concepts::CellPostprocess< F >.
|
inline |
Returns the stream to write the data to.
Definition at line 67 of file dataGnuplot.hh.