mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-01 03:37:15 -06:00
26 lines
434 B
Protocol Buffer
26 lines
434 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package rips;
|
|
|
|
import "Definitions.proto";
|
|
import "Case.proto";
|
|
|
|
service Grid
|
|
{
|
|
rpc GetCellCenters(GridRequest) returns(stream CellCenters) {}
|
|
rpc GetCellCorners(GridRequest) returns(stream CellCornersArray) {}
|
|
rpc GetDimensions(GridRequest) returns (GridDimensions) {}
|
|
}
|
|
|
|
message GridRequest
|
|
{
|
|
CaseRequest case_request = 1;
|
|
int32 grid_index = 2;
|
|
}
|
|
|
|
message GridDimensions
|
|
{
|
|
Vec3i dimensions = 1;
|
|
}
|
|
|