mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 07:00:17 -05:00
44 lines
871 B
Protocol Buffer
44 lines
871 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
// clang-format off
|
|
|
|
import "Definitions.proto";
|
|
|
|
package rips;
|
|
|
|
service SimulationWell {
|
|
rpc GetSimulationWellStatus(SimulationWellRequest)
|
|
returns (SimulationWellStatus) {}
|
|
rpc GetSimulationWellCells(SimulationWellRequest)
|
|
returns (SimulationWellCellInfoArray) {}
|
|
rpc GetPerfLength(SimulationWellRequest)
|
|
returns (SimulationWellPerfLength) {}
|
|
}
|
|
|
|
message SimulationWellRequest {
|
|
int32 case_id = 1;
|
|
string well_name = 2;
|
|
int32 timestep = 3;
|
|
}
|
|
|
|
message SimulationWellStatus {
|
|
string well_type = 1;
|
|
bool is_open = 2;
|
|
}
|
|
|
|
message SimulationWellCellInfo {
|
|
Vec3i ijk = 1;
|
|
int32 grid_index = 2;
|
|
bool is_open = 3;
|
|
int32 branch_id = 4;
|
|
int32 segment_id = 5;
|
|
}
|
|
|
|
message SimulationWellCellInfoArray {
|
|
repeated SimulationWellCellInfo data = 1;
|
|
}
|
|
|
|
message SimulationWellPerfLength {
|
|
double accumulated_length = 1;
|
|
}
|