Produces an input file for dot / dotty to display the topology as a directed graph. More...

#include <topologyDotty.hh>

Inheritance diagram for graphics::TopologyDottyCell< F >:
concepts::CellPostprocess< F > concepts::OutputOperator

Public Member Functions

virtual void operator() (const concepts::Cell &cell)
 Application operator. More...
 
virtual void operator() (const concepts::Element< F > &elm)
 Application operator. More...
 
 TopologyDottyCell (const std::string file)
 Constructor. More...
 
 ~TopologyDottyCell ()
 

Protected Member Functions

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

Private Member Functions

void edge_ (const concepts::Connector1 &cntr)
 

Private Attributes

std::ofstream os_
 Stream to the file. More...
 

Detailed Description

template<class F>
class graphics::TopologyDottyCell< F >

Produces an input file for dot / dotty to display the topology as a directed graph.

See also
homepage of Graphviz at AT&T Labs-Research
Author
Philipp Frauenfelder, 2001

Definition at line 77 of file topologyDotty.hh.

Constructor & Destructor Documentation

◆ TopologyDottyCell()

template<class F >
graphics::TopologyDottyCell< F >::TopologyDottyCell ( const std::string  file)

Constructor.

Parameters
fileName of the file where the output should be stored

◆ ~TopologyDottyCell()

template<class F >
graphics::TopologyDottyCell< F >::~TopologyDottyCell ( )

Member Function Documentation

◆ edge_()

template<class F >
void graphics::TopologyDottyCell< F >::edge_ ( const concepts::Connector1 cntr)
private

◆ info()

◆ operator()() [1/2]

template<class F >
virtual void graphics::TopologyDottyCell< F >::operator() ( const concepts::Cell cell)
virtual

Application operator.

This application operator has to be overloaded to post process a mesh.

Parameters
cellCurrent cell

Implements concepts::CellPostprocess< F >.

◆ operator()() [2/2]

template<class F >
virtual void graphics::TopologyDottyCell< F >::operator() ( const concepts::Element< F > &  elm)
virtual

Application operator.

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

Parameters
elmCurrent element

Implements concepts::CellPostprocess< F >.

Member Data Documentation

◆ os_

template<class F >
std::ofstream graphics::TopologyDottyCell< F >::os_
private

Stream to the file.

Definition at line 90 of file topologyDotty.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich