dataMatlab.hh
void operator()(const concepts::Vector< Real > &sol)
Application operator.
DataMatlabCell(std::ofstream *ofs, uint dim, Real scl)
Constructor.
const concepts::Array< Real > & coeff() const
Returns the coefficients of the elements shape functions.
Definition: dataMatlab.hh:81
A cell in a mesh consist of topological information (neighbours, connectivity, orientation) and geome...
Definition: cell.hh:39
DataMatlab(concepts::Space< Real > &spc, const std::string filename, uint dim=2, Real scl=1.0)
Constructor.
virtual void operator()(const concepts::Cell &cell)
not operational
concepts::Array< Real > coeff_
Elementwise coefficients of the shape functions.
Definition: dataMatlab.hh:99
Writes the data which describe the elements to the given streams.
Definition: dataMatlab.hh:45
void setVec(const concepts::Vector< Real > *sol)
Sets the vector of the variable to plot.
Draws a picture of data in Matlab format and stores the result in files.
Definition: dataMatlab.hh:131
virtual void operator()(const concepts::Element< Real > &elm)
Output of the mesh and vector data of the element.
uint & count()
Number of points written to the files, used for mesh representation.
Definition: dataMatlab.hh:87
const concepts::Vector< Real > * solution() const
Returns pointer to vector to plot.
Definition: dataMatlab.hh:83
void write(std::ofstream **ofsmsh, std::ofstream **ofs1, std::ofstream **ofs2, std::ofstream **ofs3)
Returns the streams to write the data to.
std::unique_ptr< concepts::DynArray< uint > > map_
Map for vertices of the elements.
Definition: dataMatlab.hh:108
DataMatlabCell(std::ofstream *ofsmsh, std::ofstream *ofs1, std::ofstream *ofs2, std::ofstream *ofs3, uint dim, Real scl)
Constructor.