#include <mesh_p.hh>
Public Member Functions | |
Mesh (const Communicator &com) | |
const Communicator & | comm () const |
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 Scan< Cell > * | globscan ()=0 |
virtual Scan< Cell > * | locscan ()=0 |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
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.
|
inline |
|
inline |
Returns a scanner over the global cells of the mesh.
Implemented in parallel::Mesh1, parallel::Mesh2, and parallel::Mesh3.
|
protectedvirtual |
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.
|
pure virtual |
Returns the global number of cells in the mesh.
Implemented in parallel::Mesh1, parallel::Mesh2, and parallel::Mesh3.
|
pure virtual |
Returns the local number of cells in the mesh.
Implemented in parallel::Mesh1, parallel::Mesh2, and parallel::Mesh3.