Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Classes | Public Member Functions | Protected Member Functions | Private Attributes
parallel::Mesh2 Class Reference

An abstract class for parallel 2D meshes. More...

#include <mesh_p.hh>

Inheritance diagram for parallel::Mesh2:
Inheritance graph
[legend]
Collaboration diagram for parallel::Mesh2:
Collaboration graph
[legend]

List of all members.

Classes

class  CapS
 Scanner for caps (processor intersection) More...
class  GlobalS
 Scanner for global cells. More...
class  LocalS
 Scanner for local cells. More...

Public Member Functions

concepts::ScanCntr0cap0scan (uint i)
 Returns a scanner over the processor intersection 0D.
concepts::ScanCntr1cap1scan (uint i)
 Returns a scanner over the processor intersection 1D.
concepts::Scan2cap2scan (uint i)
 Returns a scanner over the processor intersection 1D.
const Communicatorcomm () const
concepts::Scan2globscan ()
 Returns a scanner over all cells (not yet implemented).
concepts::Scan2locscan ()
 Returns a scanner over the own cells.
 Mesh2 (Array< auto_ptr< Connector0 > > *cntr0, Array< auto_ptr< Connector1 > > *cntr1, Array< auto_ptr< Connector2 > > *cntr2, Array< auto_ptr< Cell2 > > *cell, uint ngcell, Array< auto_ptr< concepts::Map2d > > *map, Array< Cntr0Lst > *cap0, Array< Cntr1Lst > *cap1, Array< Cell2Lst > *cap2, const Communicator &com)
 Constructor.
uint nglobcell () const
 Returns global number of cells.
uint nloccell () const
 Returns local number of cells.
 ~Mesh2 ()

Protected Member Functions

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

Private Attributes

Array< Cntr0Lst > * cap0_
 Caps 0D.
Array< Cntr1Lst > * cap1_
 Caps 1D.
Array< Cell2Lst > * cap2_
 Caps 2D (processor domains overlap)
Array< auto_ptr< Cell2 > > * cell_
 Local cells.
Array< auto_ptr< Connector0 > > * cntr0_
 Local 0D connectors.
Array< auto_ptr< Connector1 > > * cntr1_
 Local 1D connectors.
Array< auto_ptr< Connector2 > > * cntr2_
 Local 2D connectors.
Array< auto_ptr
< concepts::Map2d > > * 
map_
 Element maps.
uint ncntr0_
uint ncntr1_
uint ngcell_
 Number of global cells.
uint nlcell_
 Number of local cells.
uint nmap_

Detailed Description

An abstract class for parallel 2D meshes.

Definition at line 309 of file mesh_p.hh.


Constructor & Destructor Documentation

parallel::Mesh2::Mesh2 ( Array< auto_ptr< Connector0 > > *  cntr0,
Array< auto_ptr< Connector1 > > *  cntr1,
Array< auto_ptr< Connector2 > > *  cntr2,
Array< auto_ptr< Cell2 > > *  cell,
uint  ngcell,
Array< auto_ptr< concepts::Map2d > > *  map,
Array< Cntr0Lst > *  cap0,
Array< Cntr1Lst > *  cap1,
Array< Cell2Lst > *  cap2,
const Communicator com 
) [inline]

Constructor.

Parameters:
cntr0Vertices.
cntr1Edges.
cntr2Faces.
cellCells.
ngcellGlobal number of cells.
mapElement maps.
cap0The entry $i$ contains a list of the vertices which belongs to the $i$-th and the own processor (Exception $i$: List of the own processor is empty). On neighbouring processors this list has to be in the same order to get the $\beta$-mapping correctly.
cap1The entry $i$ contains a list of the edges which belongs to the $i$-th and the own processor (Exception $i$: List of the own processor is empty). On neighbouring processors this list has to be in the same order to get the $\beta$-mapping correctly.
cap2The entry $i$ contains a list of the cells which belongs to the $i$-th and the own processor (Exception $i$: List of the own processor is empty). On neighbouring processors this list has to be in the same order to get the $\beta$-mapping correctly.
comCommunicator

Definition at line 457 of file mesh_p.hh.

parallel::Mesh2::~Mesh2 ( ) [inline]

Definition at line 470 of file mesh_p.hh.


Member Function Documentation

concepts::ScanCntr0* parallel::Mesh2::cap0scan ( uint  i) [inline]

Returns a scanner over the processor intersection 0D.

Parameters:
iNumber of the neighbouring processor

Definition at line 436 of file mesh_p.hh.

concepts::ScanCntr1* parallel::Mesh2::cap1scan ( uint  i) [inline]

Returns a scanner over the processor intersection 1D.

Parameters:
iNumber of the neighbouring processor

Definition at line 442 of file mesh_p.hh.

concepts::Scan2* parallel::Mesh2::cap2scan ( uint  i) [inline]

Returns a scanner over the processor intersection 1D.

Parameters:
iNumber of the neighbouring processor

Definition at line 448 of file mesh_p.hh.

const Communicator& parallel::Mesh::comm ( ) const [inline, inherited]

Definition at line 128 of file mesh_p.hh.

concepts::Scan2* parallel::Mesh2::globscan ( ) [inline, virtual]

Returns a scanner over all cells (not yet implemented).

Implements parallel::Mesh.

Definition at line 428 of file mesh_p.hh.

std::ostream& parallel::Mesh2::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from parallel::Mesh.

concepts::Scan2* parallel::Mesh2::locscan ( ) [inline, virtual]

Returns a scanner over the own cells.

Implements parallel::Mesh.

Definition at line 431 of file mesh_p.hh.

uint parallel::Mesh2::nglobcell ( ) const [inline, virtual]

Returns global number of cells.

Implements parallel::Mesh.

Definition at line 423 of file mesh_p.hh.

uint parallel::Mesh2::nloccell ( ) const [inline, virtual]

Returns local number of cells.

Implements parallel::Mesh.

Definition at line 425 of file mesh_p.hh.


Member Data Documentation

Caps 0D.

Definition at line 382 of file mesh_p.hh.

Caps 1D.

Definition at line 384 of file mesh_p.hh.

Caps 2D (processor domains overlap)

Definition at line 386 of file mesh_p.hh.

Array<auto_ptr<Cell2> >* parallel::Mesh2::cell_ [private]

Local cells.

Definition at line 375 of file mesh_p.hh.

Array<auto_ptr<Connector0> >* parallel::Mesh2::cntr0_ [private]

Local 0D connectors.

Definition at line 366 of file mesh_p.hh.

Array<auto_ptr<Connector1> >* parallel::Mesh2::cntr1_ [private]

Local 1D connectors.

Definition at line 369 of file mesh_p.hh.

Array<auto_ptr<Connector2> >* parallel::Mesh2::cntr2_ [private]

Local 2D connectors.

Definition at line 373 of file mesh_p.hh.

Element maps.

Definition at line 378 of file mesh_p.hh.

uint parallel::Mesh2::ncntr0_ [private]

Definition at line 367 of file mesh_p.hh.

uint parallel::Mesh2::ncntr1_ [private]

Definition at line 370 of file mesh_p.hh.

uint parallel::Mesh2::ngcell_ [private]

Number of global cells.

Definition at line 361 of file mesh_p.hh.

uint parallel::Mesh2::nlcell_ [private]

Number of local cells.

Definition at line 363 of file mesh_p.hh.

uint parallel::Mesh2::nmap_ [private]

Definition at line 379 of file mesh_p.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)