dataGnuplot.hh
DataGnuplotCell(std::ofstream *ofs, const concepts::Vector< Real > &solution, const concepts::ElementFunction< Real > *fun=0)
Constructor.
const concepts::Array< Real > & coeff() const
Returns the coefficients of the elements shape functions.
Definition: dataGnuplot.hh:71
An abstract class for a function in a FE space.
Definition: elementFormula.hh:25
A cell in a mesh consist of topological information (neighbours, connectivity, orientation) and geome...
Definition: cell.hh:39
DataGnuplotCell(std::ofstream *ofs, const concepts::Formula< Real > &frm, const concepts::ElementFunction< Real > *fun=0)
Constructor.
const concepts::Vector< Real > * solution_
Vector of the variable to plot.
Definition: dataGnuplot.hh:88
DataGnuplotCell(std::ofstream *ofs, const concepts::ElementFormula< F > &frm, const concepts::ElementFunction< Real > *fun=0)
Constructor.
Writes the data which describe the elements to the given streams.
Definition: dataGnuplot.hh:39
void drawDataGnuplot(T &msh_spc, std::string filename, const S &sol, const concepts::ElementFunction< Real > *fun=0)
Creates a data file for viewing the data with Gnuplot using DataGnuplotCell.
Definition: dataGnuplot.hh:109
const concepts::ElementFunction< F > * elementFunction() const
Returns the function of the solution.
Definition: dataGnuplot.hh:79
virtual ~DataGnuplotCell()
concepts::Array< Real > coeff_
Elementwise coefficients of the shape functions.
Definition: dataGnuplot.hh:86
const concepts::ElementFormula< F > * frmElm_
Formula (given elementwise)
Definition: dataGnuplot.hh:92
const concepts::Formula< Real > * formula() const
Returns the formula to plot.
Definition: dataGnuplot.hh:73
const concepts::ElementFormula< F > * elementFormula() const
Returns the formula to plot (given elementwise)
Definition: dataGnuplot.hh:75
virtual void operator()(const concepts::Element< F > &elm)
Application operator.