Renamed item in COPYEREG keyword
This commit is contained in:
@@ -959,7 +959,7 @@ namespace Opm {
|
||||
|
||||
void Eclipse3DProperties::handleCOPYREGKeyword( const DeckKeyword& deckKeyword) {
|
||||
for( const auto& record : deckKeyword ) {
|
||||
const std::string& srcArray = record.getItem("ARRAY").get< std::string >(0);
|
||||
const std::string& srcArray = record.getItem("SRC_ARRAY").get< std::string >(0);
|
||||
const auto& regionProperty = getRegion( record.getItem("REGION_NAME") );
|
||||
|
||||
if (m_intGridProperties.hasKeyword( srcArray ))
|
||||
|
||||
@@ -392,7 +392,7 @@ namespace Opm {
|
||||
|
||||
template< typename T >
|
||||
void GridProperties<T>::handleCOPYREGRecord( const DeckRecord& record, const GridProperty<int>& regionProperty ) {
|
||||
const std::string& srcArray = record.getItem("ARRAY").get< std::string >(0);
|
||||
const std::string& srcArray = record.getItem("SRC_ARRAY").get< std::string >(0);
|
||||
const std::string& targetArray = record.getItem("TARGET_ARRAY").get< std::string >(0);
|
||||
|
||||
if (!supportsKeyword( targetArray))
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{"name" : "COPYREG" , "sections" : ["GRID","EDIT","PROPS","REGIONS","SOLUTION"],
|
||||
"items" :
|
||||
[{"name" : "ARRAY" , "value_type" : "STRING" , "description" : "The 3D array we will update"},
|
||||
[{"name" : "SRC_ARRAY" , "value_type" : "STRING" , "description" : "The 3D array we will fetch from"},
|
||||
{"name" : "TARGET_ARRAY" , "value_type" : "STRING" , "description" : "The name of the array which will be set"} ,
|
||||
{"name" : "REGION_NUMBER" , "value_type" : "INT" , "description" : "The region number we are interested in"} ,
|
||||
{"name" : "REGION_NAME" , "value_type" : "STRING" , "description" : "The name of the region we are interested in" , "default" : "M"}]}
|
||||
|
||||
Reference in New Issue
Block a user