Class documentation of Concepts

Loading...
Searching...
No Matches

#include <tecplot.hh>

Inheritance diagram for graphics::TecplotGraphics:
graphics::OutputBase concepts::OutputOperator

Public Types

enum  elementTypes {
  TRIANGLE , QUADRILATERAL , TETRAHEDRON , BRICK ,
  MAX_TYPE
}
 

Public Member Functions

template<class G >
 TecplotGraphics (const concepts::Space< G > &spc, const std::string filename, const std::string title, const enum elementTypes type=QUADRILATERAL)
 
 TecplotGraphics (concepts::Mesh &msh, const std::string filename, const std::string title, const enum elementTypes type=QUADRILATERAL, const uint points=noPoints)
 
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)
 
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)
 
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)
 
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)
 

Static Public Attributes

static uint noPoints
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Protected Attributes

std::unique_ptr< std::ofstream > ofs_
 Stream for output file.
 

Detailed Description

Output to Tecplot.

Author
Kersten Schmidt, 2005

Definition at line 42 of file tecplot.hh.

Member Enumeration Documentation

◆ elementTypes

enum graphics::TecplotGraphics::elementTypes

Definition at line 44 of file tecplot.hh.

Constructor & Destructor Documentation

◆ TecplotGraphics() [1/6]

template<class G >
graphics::TecplotGraphics::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.

Parameters
spcSpace which holds the mesh
filenameName base for the files to be written
titleTitle of the plot
typeType of the elements.

Definition at line 150 of file tecplot.hh.

◆ TecplotGraphics() [2/6]

graphics::TecplotGraphics::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.

Parameters
mshMesh
filenameName base for the files to be written
titleTitle of the plot
typeType of the elements.

◆ TecplotGraphics() [3/6]

template<class F , class G >
graphics::TecplotGraphics::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.

Parameters
spcSpace on which the data should be plotted
filenameName base for the files to be written
titleTitle of the plot
solThe first solution set which should be plotted
typeType of the elements
funFunction of the FE function, e.g. itself.

Definition at line 167 of file tecplot.hh.

◆ TecplotGraphics() [4/6]

template<class F , class G >
graphics::TecplotGraphics::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

Parameters
spcSpace on which the data should be plotted
filenameName base for the files to be written
titleTitle of the plot
frmFormula
typeType of the elements

Definition at line 189 of file tecplot.hh.

◆ TecplotGraphics() [5/6]

template<class F , class G >
graphics::TecplotGraphics::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

Parameters
spcSpace on which the data should be plotted
filenameName base for the files to be written
frmElement formula
typeType of the elements

Definition at line 208 of file tecplot.hh.

◆ TecplotGraphics() [6/6]

template<class F >
graphics::TecplotGraphics::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

Parameters
mshMesh
filenameName base for the files to be written
frmFormula
typeType of the elements
pointsNumber of points inside the element (in one direction)

Definition at line 226 of file tecplot.hh.

◆ ~TecplotGraphics()

virtual graphics::TecplotGraphics::~TecplotGraphics ( )
inlinevirtual

Definition at line 120 of file tecplot.hh.

Member Function Documentation

◆ info()

virtual std::ostream & graphics::TecplotGraphics::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from graphics::OutputBase.

Member Data Documentation

◆ noPoints

uint graphics::TecplotGraphics::noPoints
static

Definition at line 122 of file tecplot.hh.

◆ ofs_

std::unique_ptr<std::ofstream> graphics::OutputBase::ofs_
protectedinherited

Stream for output file.

Definition at line 83 of file basis.hh.


The documentation for this class was generated from the following file: