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

Public Member Functions | Protected Member Functions | Private Attributes
parallel::Mesh Class Reference

An abstract class for a parallel mesh. More...

#include <mesh_p.hh>

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

List of all members.

Public Member Functions

const Communicatorcomm () const
virtual Scan< Cell > * globscan ()=0
 Returns a scanner over the global cells of the mesh.
virtual Scan< Cell > * locscan ()=0
 Returns a scanner over the local cells of the mesh.
 Mesh (const Communicator &com)
virtual uint nglobcell () const =0
 Returns the global number of cells in the mesh.
virtual uint nloccell () const =0
 Returns the local number of cells in the mesh.
virtual ~Mesh ()

Protected Member Functions

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

Private Attributes

const Communicatorcom_

Detailed Description

An abstract class for a parallel mesh.

This class prescribes the common interface for all classes implementing a parallel mesh. This interface consists of methods to query the number of local and global cells in the mesh and to get a scanner over the local and global mesh.

Definition at line 121 of file mesh_p.hh.


Constructor & Destructor Documentation

parallel::Mesh::Mesh ( const Communicator com) [inline]

Definition at line 125 of file mesh_p.hh.

virtual parallel::Mesh::~Mesh ( ) [inline, virtual]

Definition at line 126 of file mesh_p.hh.


Member Function Documentation

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

Definition at line 128 of file mesh_p.hh.

virtual Scan<Cell>* parallel::Mesh::globscan ( ) [pure virtual]

Returns a scanner over the global cells of the mesh.

Postcondition:
The scanner must be deleted after usage. This has to be done by the user.

Implemented in parallel::Mesh1, parallel::Mesh2, and parallel::Mesh3.

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

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Reimplemented in parallel::Mesh1, parallel::Mesh2, and parallel::Mesh3.

virtual Scan<Cell>* parallel::Mesh::locscan ( ) [pure virtual]

Returns a scanner over the local cells of the mesh.

Postcondition:
The scanner must be deleted after usage. This has to be done by the user.

Implemented in parallel::Mesh1, parallel::Mesh2, and parallel::Mesh3.

virtual uint parallel::Mesh::nglobcell ( ) const [pure virtual]

Returns the global number of cells in the mesh.

Implemented in parallel::Mesh1, parallel::Mesh2, and parallel::Mesh3.

virtual uint parallel::Mesh::nloccell ( ) const [pure virtual]

Returns the local number of cells in the mesh.

Implemented in parallel::Mesh1, parallel::Mesh2, and parallel::Mesh3.


Member Data Documentation

Definition at line 123 of file mesh_p.hh.


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

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