#include <vtkGraphics.hh>


Public Member Functions | |
| template<class G > | |
| void | clearMapping (std::map< std::string, concepts::DenseMatrix< G > * > &dense_ptr_) |
| A delete function for the mapping. | |
| template<class F , class G > | |
| VtkGraphics (const concepts::Space< G > &spc, const std::string filename, const concepts::ElementFormula< F, G > &frm, const uint dim=2) | |
| Constructor for output of an element formula. | |
| 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, const uint dim=2) | |
| Constructor for output of solutions and functions of it. | |
| VtkGraphics (concepts::Mesh &msh, const std::string filename, const uint dim=2, const uint points=5) | |
| template<class G > | |
| VtkGraphics (const concepts::Space< G > &spc, const std::string filename, const uint dim=2) | |
| Constructor for output of solutions and functions of it. | |
| VtkGraphics () | |
| virtual | ~VtkGraphics () |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Protected Attributes | |
| std::auto_ptr< std::ofstream > | ofs_ |
| Stream for output file. | |
Private Member Functions | |
| template<class G > | |
| void | createMatrices_ (bool data, uint count[], std::map< std::string, concepts::DenseMatrix< G > * > &dense_ptr_) |
| create the matrices with the needed size | |
| template<class G , class F > | |
| void | storeData_ (bool data, std::string filename, std::map< std::string, concepts::DenseMatrix< G > * > &dense_ptr_, concepts::DenseMatrix< F > *functionValue=0) |
| std::string | vtkEnding_ (const std::string &filename) |
| vtkEnding_ | |
| template<class G > | |
| void | writeEdgeMesh_ (std::ostringstream &stream, std::map< std::string, concepts::DenseMatrix< G > * > &dense_ptr_) |
| void | writeHead_ (std::string &, std::ostringstream &stream) |
| template<class G > | |
| void | writeMesh_ (std::ostringstream &stream, std::map< std::string, concepts::DenseMatrix< G > * > &dense_ptr_) |
| template<class G , class F > | |
| void | writePoints_ (std::ostringstream &stream, std::map< std::string, concepts::DenseMatrix< G > * > &dense_ptr_, concepts::DenseMatrix< F > *functionValue=0) |
| template<class F > | |
| void | writeValues_ (std::ostringstream &stream, concepts::DenseMatrix< F > *functionValue=0) |
| template<class G > | |
| void | writeWeightsAndAttr_ (std::ostringstream &stream, std::map< std::string, concepts::DenseMatrix< G > * > &dense_ptr_) |
Private Attributes | |
| uint | data_ |
| uint | dim_ |
| bool | isComplex_ |
| uint | outputDimension_ |
Definition at line 16 of file vtkGraphics.hh.
| graphics::VtkGraphics::VtkGraphics | ( | ) |
| graphics::VtkGraphics::VtkGraphics | ( | const concepts::Space< G > & | spc, |
| const std::string | filename, | ||
| const concepts::Vector< F > & | sol, | ||
| const concepts::ElementFunction< F, G > * | fun = 0, |
||
| const uint | dim = 2 |
||
| ) |
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 |
| dim | Spatial dimension of the cells |
| fun | Function of the FE function, e.g. itself. |
Definition at line 152 of file vtkGraphics.hh.

| graphics::VtkGraphics::VtkGraphics | ( | const concepts::Space< G > & | spc, |
| const std::string | filename, | ||
| const concepts::ElementFormula< F, G > & | frm, | ||
| const uint | dim = 2 |
||
| ) |
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 |
| dim | Spatial dimension of the cells |
| frm | Element formula |
Definition at line 210 of file vtkGraphics.hh.

| graphics::VtkGraphics::VtkGraphics | ( | const concepts::Space< G > & | spc, |
| const std::string | filename, | ||
| const uint | dim = 2 |
||
| ) |
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 |
| dim | Spatial dimension of the cells |
Definition at line 265 of file vtkGraphics.hh.

| graphics::VtkGraphics::VtkGraphics | ( | concepts::Mesh & | msh, |
| const std::string | filename, | ||
| const uint | dim = 2, |
||
| const uint | points = 5 |
||
| ) |
| virtual graphics::VtkGraphics::~VtkGraphics | ( | ) | [virtual] |
| void graphics::VtkGraphics::clearMapping | ( | std::map< std::string, concepts::DenseMatrix< G > * > & | dense_ptr_ | ) | [inline] |
A delete function for the mapping.
Deletes all dense matrices and gives their memory back.
| dense_ptr_ | Mapping that will be delete |
Definition at line 62 of file vtkGraphics.hh.
| void graphics::VtkGraphics::createMatrices_ | ( | bool | data, |
| uint | count[], | ||
| std::map< std::string, concepts::DenseMatrix< G > * > & | dense_ptr_ | ||
| ) | [private] |
create the matrices with the needed size
Definition at line 306 of file vtkGraphics.hh.
| virtual std::ostream& graphics::OutputBase::info | ( | std::ostream & | os | ) | const [protected, virtual, inherited] |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in graphics::MatlabGraphics, and graphics::TecplotGraphics.
| void graphics::VtkGraphics::storeData_ | ( | bool | data, |
| std::string | filename, | ||
| std::map< std::string, concepts::DenseMatrix< G > * > & | dense_ptr_, | ||
| concepts::DenseMatrix< F > * | functionValue = 0 |
||
| ) | [private] |
| std::string graphics::VtkGraphics::vtkEnding_ | ( | const std::string & | filename | ) | [inline, private] |
vtkEnding_
Definition at line 131 of file vtkGraphics.hh.
| void graphics::VtkGraphics::writeEdgeMesh_ | ( | std::ostringstream & | stream, |
| std::map< std::string, concepts::DenseMatrix< G > * > & | dense_ptr_ | ||
| ) | [private] |
Definition at line 404 of file vtkGraphics.hh.
| void graphics::VtkGraphics::writeHead_ | ( | std::string & | , |
| std::ostringstream & | stream | ||
| ) | [private] |
| void graphics::VtkGraphics::writeMesh_ | ( | std::ostringstream & | stream, |
| std::map< std::string, concepts::DenseMatrix< G > * > & | dense_ptr_ | ||
| ) | [private] |
Definition at line 391 of file vtkGraphics.hh.
| void graphics::VtkGraphics::writePoints_ | ( | std::ostringstream & | stream, |
| std::map< std::string, concepts::DenseMatrix< G > * > & | dense_ptr_, | ||
| concepts::DenseMatrix< F > * | functionValue = 0 |
||
| ) | [private] |
Definition at line 456 of file vtkGraphics.hh.
| void graphics::VtkGraphics::writeValues_ | ( | std::ostringstream & | stream, |
| concepts::DenseMatrix< F > * | functionValue = 0 |
||
| ) | [private] |
| void graphics::VtkGraphics::writeWeightsAndAttr_ | ( | std::ostringstream & | stream, |
| std::map< std::string, concepts::DenseMatrix< G > * > & | dense_ptr_ | ||
| ) | [private] |
Definition at line 441 of file vtkGraphics.hh.
uint graphics::VtkGraphics::data_ [private] |
Definition at line 139 of file vtkGraphics.hh.
uint graphics::VtkGraphics::dim_ [private] |
Definition at line 142 of file vtkGraphics.hh.
bool graphics::VtkGraphics::isComplex_ [private] |
Definition at line 144 of file vtkGraphics.hh.
std::auto_ptr<std::ofstream> graphics::OutputBase::ofs_ [protected, inherited] |
uint graphics::VtkGraphics::outputDimension_ [private] |
Definition at line 147 of file vtkGraphics.hh.