Commit 7b0f5e89 authored by Kenneth Leiter's avatar Kenneth Leiter

ENH: Add method to Fortran interface accepting light data limit.

Commit patch from Pat Collins allowing light data limit to be set from
Fortran interface.
parent fcb4261f
......@@ -72,6 +72,7 @@ shared_ptr<XdmfGridCollection>
XdmfPartitioner::partition(const shared_ptr<XdmfUnstructuredGrid> gridToPartition,
const unsigned int numberOfPartitions,
const MetisScheme metisScheme,
const shared_ptr<XdmfArray> weights,
const shared_ptr<XdmfHeavyDataWriter> heavyDataWriter) const
{
......
......@@ -80,6 +80,9 @@ public:
*
* @param gridToPartition an XdmfGridUnstructured to partition.
* @param numberOfPartitions the number of pieces to partition the grid into.
* @param metisScheme which metis partitioning scheme to use.
* @param weights array of size number of elements giving the weight of
* each element (if NULL all elements have equal weight).
* @param heavyDataWriter an XdmfHDF5Writer to write the partitioned mesh to.
* If no heavyDataWriter is specified, all partitioned data will remain in
* memory.
......@@ -90,6 +93,7 @@ public:
partition(const shared_ptr<XdmfUnstructuredGrid> gridToPartition,
const unsigned int numberOfPartitions,
const MetisScheme metisScheme = DUAL_GRAPH,
const shared_ptr<XdmfArray> weights = shared_ptr<XdmfArray>(),
const shared_ptr<XdmfHeavyDataWriter> heavyDataWriter = shared_ptr<XdmfHeavyDataWriter>()) const;
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment