FreePOOMA
2.4.1
|
SpatialLayout<Mesh,FieldLayout> is a particle layout class that is used to determine where particles will be located in a parallel environment. More...
#include "Particles/PatchSwapLayout.h"
#include "Partition/SpatialPartition.h"
#include "Utilities/PAssert.h"
#include "Domain/Loc.h"
#include <iosfwd>
Classes | |
class | SpatialLayout< M, FL > |
SpatialLayout is one of the particle layout classes that determine where particles should be located. More... | |
Functions | |
template<class M , class FL > | |
std::ostream & | operator<< (std::ostream &o, const SpatialLayout< M, FL > &sl) |
SpatialLayout<Mesh,FieldLayout> is a particle layout class that is used to determine where particles will be located in a parallel environment.
SpatialLayout uses a domain decomposition algorithm to keep particles distributed among patches relative to some Field's layout and mesh. It is templated on the mesh type and layout of the system, and must be used in conjunction with Fields with the same mesh type. SpatialLayout is a PatchSwapLayout, and inherits the main "swap" routine from that class. It provides a "findPatchNumber" routine that calculates patch numbers based on the spatial position of the particles.
std::ostream& operator<< | ( | std::ostream & | o, |
const SpatialLayout< M, FL > & | sl | ||
) |