Class documentation of Concepts

Loading...
Searching...
No Matches

#include <basis.hh>

Inheritance diagram for graphics::BaseMeshCell:
graphics::BaseOutputCell< Real > concepts::CellPostprocess< F > concepts::OutputOperator

Public Member Functions

 BaseMeshCell (std::map< std::string, std::ostream * > &os, const uint dim, const concepts::ElementGraphicsBase::graphicsType type, const uint points=5)
 
virtual void operator() (const concepts::Element< Real > &elm)
 
virtual void operator() (const concepts::Cell &cell)
 
virtual uint n () const
 Number of components.
 
virtual void operator() (const Element< F > &elm)=0
 
std::map< std::string, std::ostream * > & write ()
 Returns the streams to write the data to.
 
uint streams () const
 Number of streams.
 
std::vector< uint > & count ()
 Number of points written to the files, used for mesh representation.
 
uint dim () const
 Number of the elements, used for drawing mesh representation.
 

Protected Member Functions

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

Protected Attributes

enum concepts::ElementGraphicsBase::graphicsType type_
 Type of Output, like Matlab, Gnuplot.
 
concepts::Sequence< uint > cnt_
 Some counters.
 
const uint dim_
 Number of drawn elements.
 
std::map< std::string, std::ostream * > & os_
 Streams to write the data to.
 

Detailed Description

Writes the mesh to the given streams (for a cell).

It can be used for different formats, like Matlab, Gnuplot.

Author
Kersten Schmidt, 2005

Definition at line 260 of file basis.hh.

Constructor & Destructor Documentation

◆ BaseMeshCell()

graphics::BaseMeshCell::BaseMeshCell ( std::map< std::string, std::ostream * > &  os,
const uint  dim,
const concepts::ElementGraphicsBase::graphicsType  type,
const uint  points = 5 
)

Constructor (for single and repeated output)

Parameters
osStreams
dimSpatial dimension of the elements
typeGraphics type, e.g. MESH_MATLAB
pointsNumber of points in one direction

Member Function Documentation

◆ count()

std::vector< uint > & graphics::BaseOutputCell< Real >::count ( )
inlineinherited

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

Definition at line 108 of file basis.hh.

◆ dim()

uint graphics::BaseOutputCell< Real >::dim ( ) const
inlineinherited

Number of the elements, used for drawing mesh representation.

Dimension

Definition at line 112 of file basis.hh.

◆ info()

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

Returns information in an output stream.

Reimplemented from graphics::BaseOutputCell< Real >.

◆ n()

virtual uint graphics::BaseMeshCell::n ( ) const
inlinevirtual

Number of components.

Implements graphics::BaseOutputCell< Real >.

Definition at line 278 of file basis.hh.

◆ operator()() [1/3]

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

Output of the mesh for this cell

Implements graphics::BaseOutputCell< Real >.

◆ operator()() [2/3]

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

Output of the mesh of the element

Implements graphics::BaseOutputCell< Real >.

◆ operator()() [3/3]

◆ streams()

uint graphics::BaseOutputCell< Real >::streams ( ) const
inlineinherited

Number of streams.

Definition at line 105 of file basis.hh.

◆ write()

std::map< std::string, std::ostream * > & graphics::BaseOutputCell< Real >::write ( )
inlineinherited

Returns the streams to write the data to.

Definition at line 103 of file basis.hh.

Member Data Documentation

◆ cnt_

concepts::Sequence<uint> graphics::BaseOutputCell< Real >::cnt_
protectedinherited

Some counters.

Definition at line 120 of file basis.hh.

◆ dim_

const uint graphics::BaseOutputCell< Real >::dim_
protectedinherited

Number of drawn elements.

Spatial dimension of the space

Definition at line 124 of file basis.hh.

◆ os_

std::map<std::string, std::ostream*>& graphics::BaseOutputCell< Real >::os_
protectedinherited

Streams to write the data to.

Definition at line 126 of file basis.hh.

◆ type_

enum concepts::ElementGraphicsBase::graphicsType graphics::BaseOutputCell< Real >::type_
protectedinherited

Type of Output, like Matlab, Gnuplot.

Definition at line 118 of file basis.hh.


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