ResInsight/ApplicationCode/GrpcInterface/GrpcProtos/Grid.proto
Gaute Lindkvist a468532d7f
#4457 Python: clean up grpc api, Python client API and make installable python package (#4456)
* gRPC: Make names more consistent

* gRPC: clean up case info and improve Python API for cases

* gRPC: much more object oriented Python interface

* Python: Make a proper pip-installable package

* Update rips Python package to auto generate setup.py with version number

* Python: add setup.py to gitignore

* Python: Update Python RIPS interface

* gRPC: Remove example client from cmake file and unit test

* gRPC: Fix up unit test after merge and hide warnings

* gRPC: fix up python client code
2019-06-03 14:33:16 +02:00

35 lines
447 B
Protocol Buffer

syntax = "proto3";
package rips;
import "Case.proto";
service Grid
{
rpc GetCellCenters(GridRequest) returns(CellCenters) {}
rpc GetDimensions(GridRequest) returns (GridDimensions) {}
}
message GridRequest
{
CaseRequest case_request = 1;
int32 grid_index = 2;
}
message Vec3d
{
double x = 1;
double y = 2;
double z = 3;
}
message CellCenters
{
repeated Vec3d centers = 1;
}
message GridDimensions
{
Vec3i dimensions = 1;
}