mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Add Support for Reading MPI Partitioning From File
This commit introduces new, experimental support for loading a partitioning of the cells from a text file. The name of the file is passed into the simulator using the new, hidden, command line option --external-partition=filename and we perform some basic checking that the number of elements in the partition matches the number of cells in the CpGrid object.
This commit is contained in:
@@ -97,7 +97,6 @@ struct LoadFile
|
||||
using type = UndefinedProperty;
|
||||
};
|
||||
|
||||
|
||||
template<class TypeTag>
|
||||
struct EnableTerminalOutput<TypeTag, TTag::EclFlowProblem> {
|
||||
static constexpr bool value = true;
|
||||
@@ -135,7 +134,6 @@ struct LoadFile<TypeTag, TTag::EclFlowProblem>
|
||||
static constexpr auto* value = "";
|
||||
};
|
||||
|
||||
|
||||
template <class TypeTag>
|
||||
struct LoadStep<TypeTag, TTag::EclFlowProblem>
|
||||
{
|
||||
|
Reference in New Issue
Block a user