#include <sfcdstr.hh>
Public Member Functions | |
SFCDstr (uint maxpnt, SFC &sfc, const Communicator &com) | |
Mesh * | distribute (concepts::Mesh &msh, uint lvl) |
Refines a mesh up to level lvl and distributes it among processors. | |
Mesh1 * | distribute1 (concepts::Mesh1 &msh, uint lvl) |
Mesh2 * | distribute2 (concepts::Mesh2 &msh, uint lvl) |
Mesh3 * | distribute3 (concepts::Mesh3 &msh, uint lvl) |
const Communicator & | comm () const |
Protected Member Functions | |
std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
A class which distributes a mesh over processors (non overlaping domains) and creates a parallel mesh. The mesh is refined up to a certain level. On this refinement level the cells are distributed among the processors. The cells on the own processor and on refinement level are copied. With the copied cells a parallel mesh is created. Note, the new parallel mesh has a refinement level of 0!
Definition at line 33 of file sfcdstr.hh.
parallel::SFCDstr::SFCDstr | ( | uint | maxpnt, |
SFC & | sfc, | ||
const Communicator & | com | ||
) |
Constructor
maxpnt | Maximal number of points per box |
sfc | Space filling curve |
com | Communicator |
|
inline |
Definition at line 267 of file sfcdstr.hh.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.