Class documentation of Concepts

Loading...
Searching...
No Matches

#include <mesh_p.hh>

Inheritance diagram for parallel::Mesh2:
parallel::Mesh concepts::OutputOperator

Public Member Functions

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

Protected Member Functions

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

Detailed Description

An abstract class for parallel 2D meshes.

Definition at line 310 of file mesh_p.hh.

Constructor & Destructor Documentation

◆ Mesh2()

parallel::Mesh2::Mesh2 ( Array< unique_ptr< Connector0 > > *  cntr0,
Array< unique_ptr< Connector1 > > *  cntr1,
Array< unique_ptr< Connector2 > > *  cntr2,
Array< unique_ptr< Cell2 > > *  cell,
uint  ngcell,
Array< unique_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 458 of file mesh_p.hh.

◆ ~Mesh2()

parallel::Mesh2::~Mesh2 ( )
inline

Definition at line 471 of file mesh_p.hh.

Member Function Documentation

◆ cap0scan()

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 437 of file mesh_p.hh.

◆ cap1scan()

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 443 of file mesh_p.hh.

◆ cap2scan()

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 449 of file mesh_p.hh.

◆ comm()

const Communicator & parallel::Mesh::comm ( ) const
inlineinherited

Definition at line 129 of file mesh_p.hh.

◆ globscan()

concepts::Scan2 * parallel::Mesh2::globscan ( )
inlinevirtual

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

Implements parallel::Mesh.

Definition at line 429 of file mesh_p.hh.

◆ info()

std::ostream & parallel::Mesh2::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from parallel::Mesh.

◆ locscan()

concepts::Scan2 * parallel::Mesh2::locscan ( )
inlinevirtual

Returns a scanner over the own cells.

Implements parallel::Mesh.

Definition at line 432 of file mesh_p.hh.

◆ nglobcell()

uint parallel::Mesh2::nglobcell ( ) const
inlinevirtual

Returns global number of cells.

Implements parallel::Mesh.

Definition at line 424 of file mesh_p.hh.

◆ nloccell()

uint parallel::Mesh2::nloccell ( ) const
inlinevirtual

Returns local number of cells.

Implements parallel::Mesh.

Definition at line 426 of file mesh_p.hh.


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