Output to Tecplot.
More...
#include <tecplot.hh>
|
template<class F > |
| TecplotGraphics (concepts::Mesh &msh, const std::string filename, const std::string title, const concepts::Formula< F > &frm, const enum elementTypes type=QUADRILATERAL, const uint points=noPoints) |
| Constructor for output of a scalar formula. More...
|
|
| TecplotGraphics (concepts::Mesh &msh, const std::string filename, const std::string title, const enum elementTypes type=QUADRILATERAL, const uint points=noPoints) |
| Constructor for output of mesh only. More...
|
|
template<class F , class G > |
| TecplotGraphics (const concepts::Space< G > &spc, const std::string filename, const std::string title, const concepts::ElementFormula< F, G > &frm, const enum elementTypes type=QUADRILATERAL) |
| Constructor for output of a element formula. More...
|
|
template<class F , class G > |
| TecplotGraphics (const concepts::Space< G > &spc, const std::string filename, const std::string title, const concepts::Formula< F > &frm, const enum elementTypes type=QUADRILATERAL) |
| Constructor for output of a scalar formula. More...
|
|
template<class F , class G > |
| TecplotGraphics (const concepts::Space< G > &spc, const std::string filename, const std::string title, const concepts::Vector< F > &sol, const enum elementTypes type=QUADRILATERAL, const concepts::ElementFunction< F, G > *fun=0, const bool append=false) |
| Constructor for output of solutions and functions of it. More...
|
|
template<class G > |
| TecplotGraphics (const concepts::Space< G > &spc, const std::string filename, const std::string title, const enum elementTypes type=QUADRILATERAL) |
| Constructor for output of mesh only. More...
|
|
virtual | ~TecplotGraphics () |
|
|
virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. More...
|
|
|
std::unique_ptr< std::ofstream > | ofs_ |
| Stream for output file. More...
|
|
Output to Tecplot.
- Author
- Kersten Schmidt, 2005
Definition at line 42 of file tecplot.hh.
◆ elementTypes
Enumerator |
---|
TRIANGLE | |
QUADRILATERAL | |
TETRAHEDRON | |
BRICK | |
MAX_TYPE | |
Definition at line 44 of file tecplot.hh.
◆ TecplotGraphics() [1/6]
Constructor for output of mesh only.
- Parameters
-
spc | Space which holds the mesh |
filename | Name base for the files to be written |
title | Title of the plot |
type | Type of the elements. |
Definition at line 150 of file tecplot.hh.
◆ TecplotGraphics() [2/6]
Constructor for output of mesh only.
- Parameters
-
msh | Mesh |
filename | Name base for the files to be written |
title | Title of the plot |
type | Type of the elements. |
◆ TecplotGraphics() [3/6]
template<class F , class G >
Constructor for output of solutions and functions of it.
- Parameters
-
spc | Space on which the data should be plotted |
filename | Name base for the files to be written |
title | Title of the plot |
sol | The first solution set which should be plotted |
type | Type of the elements |
fun | Function of the FE function, e.g. itself. |
Definition at line 167 of file tecplot.hh.
◆ TecplotGraphics() [4/6]
template<class F , class G >
Constructor for output of a scalar formula.
- Parameters
-
spc | Space on which the data should be plotted |
filename | Name base for the files to be written |
title | Title of the plot |
frm | Formula |
type | Type of the elements |
Definition at line 189 of file tecplot.hh.
◆ TecplotGraphics() [5/6]
template<class F , class G >
Constructor for output of a element formula.
- Parameters
-
spc | Space on which the data should be plotted |
filename | Name base for the files to be written |
frm | Element formula |
type | Type of the elements |
Definition at line 208 of file tecplot.hh.
◆ TecplotGraphics() [6/6]
Constructor for output of a scalar formula.
- Parameters
-
msh | Mesh |
filename | Name base for the files to be written |
frm | Formula |
type | Type of the elements |
points | Number of points inside the element (in one direction) |
Definition at line 226 of file tecplot.hh.
◆ ~TecplotGraphics()
virtual graphics::TecplotGraphics::~TecplotGraphics |
( |
| ) |
|
|
inlinevirtual |
◆ closeStreams_()
void graphics::TecplotGraphics::closeStreams_ |
( |
const std::vector< uint > & |
cnt | ) |
|
|
private |
◆ createStreams_()
void graphics::TecplotGraphics::createStreams_ |
( |
| ) |
|
|
private |
◆ dim_()
const uint graphics::TecplotGraphics::dim_ |
( |
| ) |
const |
|
private |
Spatial dimension of the space.
◆ info()
virtual std::ostream& graphics::TecplotGraphics::info |
( |
std::ostream & |
os | ) |
const |
|
protectedvirtual |
◆ typeStr_()
const std::string graphics::TecplotGraphics::typeStr_ |
( |
| ) |
const |
|
private |
Returns a string for the element type.
◆ write_()
template<class F , class G >
Creates standard streams, writes to streams, writes to file and clear and delete all streams.
Definition at line 246 of file tecplot.hh.
◆ noPoints
uint graphics::TecplotGraphics::noPoints |
|
static |
◆ ofs_
std::unique_ptr<std::ofstream> graphics::OutputBase::ofs_ |
|
protectedinherited |
Stream for output file.
Definition at line 83 of file basis.hh.
◆ s_ptr_
std::map<std::string, std::ostream*> graphics::TecplotGraphics::s_ptr_ |
|
private |
Pointer to the streams, i.e. *(s_ptr_["vtxmsh"]) for FE mesh.
Definition at line 142 of file tecplot.hh.
◆ title_
const std::string graphics::TecplotGraphics::title_ |
|
private |
◆ type_
The documentation for this class was generated from the following file: