mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4477 Add python methods to get NNC values (dynamic, static and generated).
Equivalent to GetDynamicNNCValues and GetStaticNNCValues in Octave. Also adds support for generated values which is currently not in Octave.
This commit is contained in:
committed by
Gaute Lindkvist
parent
1a05430123
commit
34d3785709
@@ -9,6 +9,7 @@ service NNCProperties
|
||||
{
|
||||
rpc GetAvailableNNCProperties(CaseRequest) returns (AvailableNNCProperties) {}
|
||||
rpc GetNNCConnections(CaseRequest) returns (stream NNCConnections) {}
|
||||
rpc GetNNCValues(NNCValuesRequest) returns (stream NNCValues) {}
|
||||
}
|
||||
|
||||
enum NNCPropertyType
|
||||
@@ -41,3 +42,16 @@ message NNCConnections
|
||||
{
|
||||
repeated NNCConnection connections = 1;
|
||||
}
|
||||
|
||||
message NNCValuesRequest
|
||||
{
|
||||
int32 case_id = 1;
|
||||
string property_name = 2;
|
||||
NNCPropertyType property_type = 3;
|
||||
int32 time_step = 4;
|
||||
}
|
||||
|
||||
message NNCValues
|
||||
{
|
||||
repeated double values = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user