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

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

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

#include <mesh_p.hh>

Inheritance diagram for parallel::Mesh1:
Inheritance graph
[legend]
Collaboration diagram for parallel::Mesh1:
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::Scan1cap1scan (uint i)
 Returns a scanner over the processor intersection 1D.
const Communicatorcomm () const
concepts::Scan1globscan ()
 Returns a scanner over all cells (not yet implemented).
concepts::Scan1locscan ()
 Returns a scanner over the own cells.
 Mesh1 (Array< auto_ptr< Connector0 > > *cntr0, Array< auto_ptr< Connector1 > > *cntr1, Array< auto_ptr< Cell1 > > *cell, uint ngcell, Array< auto_ptr< concepts::Map1d > > *map, Array< Cntr0Lst > *cap0, Array< Cell1Lst > *cap1, const Communicator &com)
 Constructor.
uint nglobcell () const
 Returns global number of cells.
uint nloccell () const
 Returns local number of cells.
 ~Mesh1 ()

Protected Member Functions

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

Private Attributes

Array< Cntr0Lst > * cap0_
 Caps 0D.
Array< Cell1Lst > * cap1_
 Caps 1D (processor domains overlap)
Array< auto_ptr< Cell1 > > * cell_
 Local cells.
Array< auto_ptr< Connector0 > > * cntr0_
 Local 0D connectors.
Array< auto_ptr< Connector1 > > * cntr1_
 Local 1D connectors.
Array< auto_ptr
< concepts::Map1d > > * 
map_
 Element maps.
uint ncntr0_
uint ngcell_
 Number of global cells.
uint nlcell_
 Number of local cells.
uint nmap_

Detailed Description

An abstract class for parallel 1D meshes.

Definition at line 157 of file mesh_p.hh.


Constructor & Destructor Documentation

parallel::Mesh1::Mesh1 ( Array< auto_ptr< Connector0 > > *  cntr0,
Array< auto_ptr< Connector1 > > *  cntr1,
Array< auto_ptr< Cell1 > > *  cell,
uint  ngcell,
Array< auto_ptr< concepts::Map1d > > *  map,
Array< Cntr0Lst > *  cap0,
Array< Cell1Lst > *  cap1,
const Communicator com 
) [inline]

Constructor.

Parameters:
cntr0Vertices.
cntr1Edges.
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 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 286 of file mesh_p.hh.

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

Definition at line 297 of file mesh_p.hh.


Member Function Documentation

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

Returns a scanner over the processor intersection 0D.

Parameters:
iNumber of the neighbouring processor

Definition at line 271 of file mesh_p.hh.

concepts::Scan1* parallel::Mesh1::cap1scan ( uint  i) [inline]

Returns a scanner over the processor intersection 1D.

Parameters:
iNumber of the neighbouring processor

Definition at line 277 of file mesh_p.hh.

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

Definition at line 128 of file mesh_p.hh.

concepts::Scan1* parallel::Mesh1::globscan ( ) [inline, virtual]

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

Implements parallel::Mesh.

Definition at line 263 of file mesh_p.hh.

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

Returns information in an output stream.

Reimplemented from parallel::Mesh.

concepts::Scan1* parallel::Mesh1::locscan ( ) [inline, virtual]

Returns a scanner over the own cells.

Implements parallel::Mesh.

Definition at line 266 of file mesh_p.hh.

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

Returns global number of cells.

Implements parallel::Mesh.

Definition at line 258 of file mesh_p.hh.

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

Returns local number of cells.

Implements parallel::Mesh.

Definition at line 260 of file mesh_p.hh.


Member Data Documentation

Caps 0D.

Definition at line 226 of file mesh_p.hh.

Caps 1D (processor domains overlap)

Definition at line 228 of file mesh_p.hh.

Array<auto_ptr<Cell1> >* parallel::Mesh1::cell_ [private]

Local cells.

Definition at line 219 of file mesh_p.hh.

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

Local 0D connectors.

Definition at line 213 of file mesh_p.hh.

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

Local 1D connectors.

Definition at line 217 of file mesh_p.hh.

Element maps.

Definition at line 222 of file mesh_p.hh.

uint parallel::Mesh1::ncntr0_ [private]

Definition at line 214 of file mesh_p.hh.

uint parallel::Mesh1::ngcell_ [private]

Number of global cells.

Definition at line 208 of file mesh_p.hh.

uint parallel::Mesh1::nlcell_ [private]

Number of local cells.

Definition at line 210 of file mesh_p.hh.

uint parallel::Mesh1::nmap_ [private]

Definition at line 223 of file mesh_p.hh.


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

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