SENSEI
A frame work for generic in situ analytics
sensei::ConfigurablePartitioner Class Reference

An object the selects and configures a sensei::Partitioner from XML. More...

#include <ConfigurablePartitioner.h>

Inheritance diagram for sensei::ConfigurablePartitioner:
[legend]
Collaboration diagram for sensei::ConfigurablePartitioner:
[legend]

Public Member Functions

const char * GetClassName () override
 
int GetPartition (MPI_Comm comm, const sensei::MeshMetadataPtr &in, sensei::MeshMetadataPtr &out) override
 given an existing partitioning of data passed in the first MeshMetadata argument,return a new partitioning in the second MeshMetadata argument. More...
 
virtual int Initialize (pugi::xml_node &) override
 initialize the partitioner from the XML node. More...
 
- Public Member Functions inherited from sensei::Partitioner
virtual void SetVerbose (int val)
 
virtual int GetVerbose ()
 

Static Public Member Functions

static sensei::ConfigurablePartitionerPtr New ()
 

Additional Inherited Members

- Protected Attributes inherited from sensei::Partitioner
int Verbose
 

Detailed Description

An object the selects and configures a sensei::Partitioner from XML.

API calls are forwarded to the active intance at run time.

Member Function Documentation

◆ GetPartition()

int sensei::ConfigurablePartitioner::GetPartition ( MPI_Comm  comm,
const sensei::MeshMetadataPtr &  in,
sensei::MeshMetadataPtr &  out 
)
overridevirtual

given an existing partitioning of data passed in the first MeshMetadata argument,return a new partitioning in the second MeshMetadata argument.

Implements sensei::Partitioner.

◆ Initialize()

virtual int sensei::ConfigurablePartitioner::Initialize ( pugi::xml_node &  )
overridevirtual

initialize the partitioner from the XML node.

recognizes the following Partitioner's: block, cyclic, planar, and mapped. The XML schema is as follows:

<partitioner type="..." ... >
...
</partitioner>

where type is one of block, cyclic, planar, or mapped. See sensei::Parititioner sub-classes for documentation on the specific XML recognized by each.

Reimplemented from sensei::Partitioner.


The documentation for this class was generated from the following file: