1 #ifndef sensei_PlanarSlicePartitioner_h 2 #define sensei_PlanarSlicePartitioner_h 4 #include "Partitioner.h" 10 class PlanarSlicePartitioner;
11 using PlanarSlicePartitionerPtr = std::shared_ptr<sensei::PlanarSlicePartitioner>;
21 static sensei::PlanarSlicePartitionerPtr New()
24 const char *GetClassName()
override {
return "PlanarSlicePartitioner"; }
27 void SetPoint(
const std::array<double,3> &p) { this->Point = p; }
28 void GetPoint(std::array<double,3> &p) { p = this->Point; }
31 void SetNormal(
const std::array<double,3> &n) { this->Normal = n; }
32 void GetNormal(std::array<double,3> &n) { n = this->Normal; }
39 int GetPartition(MPI_Comm comm,
const sensei::MeshMetadataPtr &in,
40 sensei::MeshMetadataPtr &out)
override;
46 std::array<double,3> Point;
47 std::array<double,3> Normal;
The slice paritioner determins which blocks intersect the plane defined by a given point and normal...
Definition: PlanarSlicePartitioner.h:18
int Initialize(MPI_Comm comm, const std::string &fileName, InTransitDataAdaptor *&dataAdaptor)
Creates a sensei::ConfigurableAnalysis adaptor and sensei::InTransitDataAdaptor based on a SENSEI XML...
represents the way data is partitioned for in-transit operation mode.
Definition: Partitioner.h:25
SENSEI.
Definition: ADIOS2AnalysisAdaptor.h:27