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

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

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

#include <mesh_p.hh>

Inheritance diagram for parallel::Mesh3:
Inheritance graph
[legend]
Collaboration diagram for parallel::Mesh3:
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::ScanCntr2cap2scan (uint i)
 Returns a scanner over the processor intersection 2D.
concepts::Scan3cap3scan (uint i)
 Returns a scanner over the processor intersection 3D.
const Communicatorcomm () const
concepts::Scan3globscan ()
 Returns a scanner over all cells (not yet implemented).
concepts::Scan3locscan ()
 Returns a scanner over the own cells.
 Mesh3 (Array< auto_ptr< Connector0 > > *cntr0, Array< auto_ptr< Connector1 > > *cntr1, Array< auto_ptr< Connector2 > > *cntr2, Array< auto_ptr< Connector3 > > *cntr3, Array< auto_ptr< Cell3 > > *cell, uint ngcell, Array< auto_ptr< concepts::Map3d > > *map, Array< Cntr0Lst > *cap0, Array< Cntr1Lst > *cap1, Array< Cntr2Lst > *cap2, Array< Cell3Lst > *cap3_, const Communicator &com)
 Constructor.
uint nglobcell () const
 Returns global number of cells.
uint nloccell () const
 Returns local number of cells.
 ~Mesh3 ()

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< Cntr2Lst > * cap2_
 Caps 2D.
Array< Cell3Lst > * cap3_
 Caps 3D (processor domains overlap)
Array< auto_ptr< Cell3 > > * 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< Connector3 > > * cntr3_
 Local 3D connectors.
Array< auto_ptr
< concepts::Map3d > > * 
map_
 Element maps.
uint ncntr0_
uint ncntr1_
uint ncntr2_
uint ngcell_
 Number of global cells.
uint nlcell_
 Number of local cells.
uint nmap_

Detailed Description

An abstract class for parallel 3D meshes.

Definition at line 481 of file mesh_p.hh.


Constructor & Destructor Documentation

parallel::Mesh3::Mesh3 ( Array< auto_ptr< Connector0 > > *  cntr0,
Array< auto_ptr< Connector1 > > *  cntr1,
Array< auto_ptr< Connector2 > > *  cntr2,
Array< auto_ptr< Connector3 > > *  cntr3,
Array< auto_ptr< Cell3 > > *  cell,
uint  ngcell,
Array< auto_ptr< concepts::Map3d > > *  map,
Array< Cntr0Lst > *  cap0,
Array< Cntr1Lst > *  cap1,
Array< Cntr2Lst > *  cap2,
Array< Cell3Lst > *  cap3_,
const Communicator com 
) [inline]

Constructor.

Parameters:
cntr0Vertices.
cntr1Edges.
cntr2Faces.
cntr3Volumes.
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 faces 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 647 of file mesh_p.hh.

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

Definition at line 663 of file mesh_p.hh.


Member Function Documentation

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

Returns a scanner over the processor intersection 0D.

Parameters:
iNumber of the neighbouring processor

Definition at line 620 of file mesh_p.hh.

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

Returns a scanner over the processor intersection 1D.

Parameters:
iNumber of the neighbouring processor

Definition at line 626 of file mesh_p.hh.

concepts::ScanCntr2* parallel::Mesh3::cap2scan ( uint  i) [inline]

Returns a scanner over the processor intersection 2D.

Parameters:
iNumber of the neighbouring processor

Definition at line 632 of file mesh_p.hh.

concepts::Scan3* parallel::Mesh3::cap3scan ( uint  i) [inline]

Returns a scanner over the processor intersection 3D.

Parameters:
iNumber of the neighbouring processor

Definition at line 638 of file mesh_p.hh.

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

Definition at line 128 of file mesh_p.hh.

concepts::Scan3* parallel::Mesh3::globscan ( ) [inline, virtual]

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

Implements parallel::Mesh.

Definition at line 612 of file mesh_p.hh.

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

Returns information in an output stream.

Reimplemented from parallel::Mesh.

concepts::Scan3* parallel::Mesh3::locscan ( ) [inline, virtual]

Returns a scanner over the own cells.

Implements parallel::Mesh.

Definition at line 615 of file mesh_p.hh.

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

Returns global number of cells.

Implements parallel::Mesh.

Definition at line 607 of file mesh_p.hh.

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

Returns local number of cells.

Implements parallel::Mesh.

Definition at line 609 of file mesh_p.hh.


Member Data Documentation

Caps 0D.

Definition at line 556 of file mesh_p.hh.

Caps 1D.

Definition at line 558 of file mesh_p.hh.

Caps 2D.

Definition at line 560 of file mesh_p.hh.

Caps 3D (processor domains overlap)

Definition at line 562 of file mesh_p.hh.

Array<auto_ptr<Cell3> >* parallel::Mesh3::cell_ [private]

Local cells.

Definition at line 549 of file mesh_p.hh.

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

Local 0D connectors.

Definition at line 537 of file mesh_p.hh.

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

Local 1D connectors.

Definition at line 540 of file mesh_p.hh.

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

Local 2D connectors.

Definition at line 543 of file mesh_p.hh.

Array<auto_ptr<Connector3> >* parallel::Mesh3::cntr3_ [private]

Local 3D connectors.

Definition at line 547 of file mesh_p.hh.

Element maps.

Definition at line 552 of file mesh_p.hh.

uint parallel::Mesh3::ncntr0_ [private]

Definition at line 538 of file mesh_p.hh.

uint parallel::Mesh3::ncntr1_ [private]

Definition at line 541 of file mesh_p.hh.

uint parallel::Mesh3::ncntr2_ [private]

Definition at line 544 of file mesh_p.hh.

uint parallel::Mesh3::ngcell_ [private]

Number of global cells.

Definition at line 532 of file mesh_p.hh.

uint parallel::Mesh3::nlcell_ [private]

Number of local cells.

Definition at line 534 of file mesh_p.hh.

uint parallel::Mesh3::nmap_ [private]

Definition at line 553 of file mesh_p.hh.


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

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