An abstract class for a parallel mesh. More...
#include <mesh_p.hh>


Public Member Functions | |
| const Communicator & | comm () 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 Communicator & | com_ |
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.
| parallel::Mesh::Mesh | ( | const Communicator & | com | ) | [inline] |
| const Communicator& parallel::Mesh::comm | ( | ) | const [inline] |
Returns a scanner over the global cells of the mesh.
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.
Returns a scanner over the local cells of the mesh.
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.
const Communicator& parallel::Mesh::com_ [private] |