#include <vtkGraphics.hh>
Public Member Functions | |
template<class F , class G > | |
VtkGraphics (const concepts::Space< G > &spc, const std::string filename, const concepts::Vector< F > &sol, const concepts::ElementFunction< F, G > *fun=0) | |
template<class F , class G > | |
VtkGraphics (const concepts::Space< G > &spc, const std::string filename, const concepts::ElementFormula< F, G > &frm) | |
template<class G > | |
VtkGraphics (const concepts::Space< G > &spc, const std::string filename) | |
VtkGraphics (concepts::Mesh &msh, const std::string filename, const uint points=5) | |
template<class G , class F > | |
void | addSolution (const concepts::Space< G > &spc, const std::string name, const concepts::Vector< F > &sol, const concepts::ElementFunction< F, G > *fun=0) |
template<class F , class G > | |
void | addFunction (const concepts::Space< G > &spc, const std::string name, const concepts::ElementFormula< F, G > &frm) |
Static Public Attributes | |
static uint | noPoints |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
template<class F , class G > | |
concepts::RCP< concepts::ElementMatrix< F > > | getSolution (const concepts::Space< G > &spc, const concepts::Vector< F > &sol, const concepts::ElementFunction< F, G > *fun=0) |
template<class F , class G > | |
concepts::RCP< concepts::ElementMatrix< typename concepts::Datatype< F >::type > > | getFunction (const concepts::Space< G > &spc, const concepts::ElementFormula< F, G > &frm) |
template<class G > | |
DenseMatrixCollection< G > | getSpace (const concepts::Space< G > &spc) |
DenseMatrixCollection< Real > | getMesh (concepts::Mesh &msh, const uint points=5) |
Protected Attributes | |
std::unique_ptr< std::ofstream > | ofs_ |
Stream for output file. | |
Class that allows to store graphical infomations in .vtk files to use them in paraview.
Definition at line 20 of file vtkGraphics.hh.
graphics::VtkGraphics::VtkGraphics | ( | const concepts::Space< G > & | spc, |
const std::string | filename, | ||
const concepts::Vector< F > & | sol, | ||
const concepts::ElementFunction< F, G > * | fun = 0 |
||
) |
Constructor for output of solutions and functions of it.
spc | Space on which the data should be plotted |
filename | Name base for the files to be written |
sol | The first solution set which should be plotted |
fun | Function of the FE function, e.g. itself. |
Definition at line 168 of file vtkGraphics.hh.
graphics::VtkGraphics::VtkGraphics | ( | const concepts::Space< G > & | spc, |
const std::string | filename, | ||
const concepts::ElementFormula< F, G > & | frm | ||
) |
Constructor for output of an element formula
spc | Space on which the data should be plotted |
filename | Name base for the files to be written |
frm | Element formula |
Definition at line 181 of file vtkGraphics.hh.
graphics::VtkGraphics::VtkGraphics | ( | const concepts::Space< G > & | spc, |
const std::string | filename | ||
) |
Constructor for output of solutions and functions of it.
spc | Space on which the data should be plotted |
filename | Name base for the file to be written |
Definition at line 193 of file vtkGraphics.hh.
graphics::VtkGraphics::VtkGraphics | ( | concepts::Mesh & | msh, |
const std::string | filename, | ||
const uint | points = 5 |
||
) |
Constructor for output of a mesh
msh | The mesh that should be plotted |
filename | name of the vtk file @points graphic points in each direction |
|
inline |
Adds a solution vector to the current matfile
The | space from which the solution vector was generated |
name | The name of the variable, e.g. "frm" |
The | function represented by an element formula |
Definition at line 88 of file vtkGraphics.hh.
|
inline |
Adds a solution vector to the current matfile
The | space from which the solution vector was generated |
name | The name of the variable, e.g. "u0" |
The | solution vector |
The | type of vector you need (i.e. Values, gradient, Laplacien etc.), default argument is Values |
Definition at line 67 of file vtkGraphics.hh.
|
protectedinherited |
Returns a vector with the value of the function on the quadrature-points of a given space using the given concepts::ElementFormula
.
spc | The space on which the Element Formula is defined |
frm | The ElementFormula of the function that should be plotted |
Definition at line 194 of file denseMatrixGraphics.hh.
|
protectedinherited |
Returns a graphics::DenseMatrixCollection<G> that contains informations for graphical output of the given mesh.
msh | The mesh |
dim | The dimension of the mesh |
|
protectedinherited |
Returns a vector with the value of the solution on the quadrature-points of a given space using a given coefficient vector.
spc | The space from which the solution vector was generated |
sol | The solution vector |
fun | Function of the solution (e.g. solution itself, its gradient, it's Laplacien etc.) |
Definition at line 130 of file denseMatrixGraphics.hh.
|
protectedinherited |
Returns a graphics::DenseMatrixCollection<G> that contains informations for graphical output of the given space.
spc | The space |
dim | The dimension of the space |
Definition at line 171 of file denseMatrixGraphics.hh.
|
protectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in graphics::MatlabGraphics, and graphics::TecplotGraphics.
|
staticinherited |
Definition at line 78 of file denseMatrixGraphics.hh.
|
protectedinherited |