Class documentation of Concepts

Loading...
Searching...
No Matches
graphics::DataMatlabCell Class Referenceabstract

#include <dataMatlab.hh>

Inheritance diagram for graphics::DataMatlabCell:
concepts::CellPostprocess< Real > concepts::OutputOperator

Public Member Functions

 DataMatlabCell (std::ofstream *ofsmsh, std::ofstream *ofs1, std::ofstream *ofs2, std::ofstream *ofs3, uint dim, Real scl)
 
 DataMatlabCell (std::ofstream *ofs, uint dim, Real scl)
 
virtual void operator() (const concepts::Element< Real > &elm)
 
virtual void operator() (const concepts::Cell &cell)
 not operational
 
void write (std::ofstream **ofsmsh, std::ofstream **ofs1, std::ofstream **ofs2, std::ofstream **ofs3)
 Returns the streams to write the data to.
 
void setVec (const concepts::Vector< Real > *sol)
 Sets the vector of the variable to plot.
 
const concepts::Array< Real > & coeff () const
 Returns the coefficients of the elements shape functions.
 
const concepts::Vector< Real > * solution () const
 Returns pointer to vector to plot.
 
Real offset () const
 
Real range () const
 
uint & count ()
 Number of points written to the files, used for mesh representation.
 
uint dim () const
 
Real scale () const
 
concepts::DynArray< uint > & map ()
 
virtual void operator() (const Element< Real > &elm)=0
 

Protected Member Functions

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

Detailed Description

Writes the data which describe the elements to the given streams.

Author
Gregor Schmidlin, 2002

Definition at line 45 of file dataMatlab.hh.

Constructor & Destructor Documentation

◆ DataMatlabCell() [1/2]

graphics::DataMatlabCell::DataMatlabCell ( std::ofstream *  ofsmsh,
std::ofstream *  ofs1,
std::ofstream *  ofs2,
std::ofstream *  ofs3,
uint  dim,
Real  scl 
)

Constructor

Parameters
ofsmshStream for the mesh
ofs1Stream for x-Coordinates
ofs2Stream for y-Coordinates
ofs3Stream for z-Coordinates (dim equal 3) or the data of the vector (dim equal 2)
dimSpatial dimension of the elements
sclData scaling factor

◆ DataMatlabCell() [2/2]

graphics::DataMatlabCell::DataMatlabCell ( std::ofstream *  ofs,
uint  dim,
Real  scl 
)

Constructor

Parameters
ofsStream for the mesh
dimSpatial dimension of the elements
sclData scaling factor

Member Function Documentation

◆ coeff()

const concepts::Array< Real > & graphics::DataMatlabCell::coeff ( ) const
inline

Returns the coefficients of the elements shape functions.

Definition at line 79 of file dataMatlab.hh.

◆ count()

uint & graphics::DataMatlabCell::count ( )
inline

Number of points written to the files, used for mesh representation.

Definition at line 85 of file dataMatlab.hh.

◆ dim()

uint graphics::DataMatlabCell::dim ( ) const
inline

Definition at line 86 of file dataMatlab.hh.

◆ info()

virtual std::ostream & concepts::CellPostprocess< Real >::info ( std::ostream &  os) const
protectedvirtualinherited

◆ map()

concepts::DynArray< uint > & graphics::DataMatlabCell::map ( )
inline

Definition at line 88 of file dataMatlab.hh.

◆ offset()

Real graphics::DataMatlabCell::offset ( ) const
inline

Definition at line 82 of file dataMatlab.hh.

◆ operator()() [1/3]

virtual void graphics::DataMatlabCell::operator() ( const concepts::Cell cell)
virtual

not operational

Implements concepts::CellPostprocess< Real >.

◆ operator()() [2/3]

virtual void graphics::DataMatlabCell::operator() ( const concepts::Element< Real > &  elm)
virtual

Output of the mesh and vector data of the element

◆ operator()() [3/3]

virtual void concepts::CellPostprocess< Real >::operator() ( const Element< Real > &  elm)
pure virtualinherited

Application operator. This application operator has to be overloaded to post process a space.

Parameters
elmCurrent element

Implemented in concepts::CellFaceIntegral< F >, and concepts::CellEdgeIntegral< F >.

◆ range()

Real graphics::DataMatlabCell::range ( ) const
inline

Definition at line 83 of file dataMatlab.hh.

◆ scale()

Real graphics::DataMatlabCell::scale ( ) const
inline

Definition at line 87 of file dataMatlab.hh.

◆ solution()

const concepts::Vector< Real > * graphics::DataMatlabCell::solution ( ) const
inline

Returns pointer to vector to plot.

Definition at line 81 of file dataMatlab.hh.


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