Class documentation of Concepts

Loading...
Searching...
No Matches

#include <mesh_p.hh>

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

Public Member Functions

 Mesh1 (Array< unique_ptr< Connector0 > > *cntr0, Array< unique_ptr< Connector1 > > *cntr1, Array< unique_ptr< Cell1 > > *cell, uint ngcell, Array< unique_ptr< concepts::Map1d > > *map, Array< Cntr0Lst > *cap0, Array< Cell1Lst > *cap1, const Communicator &com)
 
uint nglobcell () const
 Returns global number of cells.
 
uint nloccell () const
 Returns local number of cells.
 
concepts::Scan1globscan ()
 Returns a scanner over all cells (not yet implemented).
 
concepts::Scan1locscan ()
 Returns a scanner over the own cells.
 
concepts::ScanCntr0cap0scan (uint i)
 
concepts::Scan1cap1scan (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 1D meshes.

Definition at line 158 of file mesh_p.hh.

Constructor & Destructor Documentation

◆ Mesh1()

parallel::Mesh1::Mesh1 ( Array< unique_ptr< Connector0 > > *  cntr0,
Array< unique_ptr< Connector1 > > *  cntr1,
Array< unique_ptr< Cell1 > > *  cell,
uint  ngcell,
Array< unique_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 287 of file mesh_p.hh.

◆ ~Mesh1()

parallel::Mesh1::~Mesh1 ( )
inline

Definition at line 298 of file mesh_p.hh.

Member Function Documentation

◆ cap0scan()

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

◆ cap1scan()

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

◆ comm()

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

Definition at line 129 of file mesh_p.hh.

◆ globscan()

concepts::Scan1 * parallel::Mesh1::globscan ( )
inlinevirtual

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

Implements parallel::Mesh.

Definition at line 264 of file mesh_p.hh.

◆ info()

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

Returns information in an output stream.

Reimplemented from parallel::Mesh.

◆ locscan()

concepts::Scan1 * parallel::Mesh1::locscan ( )
inlinevirtual

Returns a scanner over the own cells.

Implements parallel::Mesh.

Definition at line 267 of file mesh_p.hh.

◆ nglobcell()

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

Returns global number of cells.

Implements parallel::Mesh.

Definition at line 259 of file mesh_p.hh.

◆ nloccell()

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

Returns local number of cells.

Implements parallel::Mesh.

Definition at line 261 of file mesh_p.hh.


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