Reference
Contents
Index
RemoteBMI.Server.BmiServer
RemoteBMI.Client.BmiClient.GetComponentNameResponse
RemoteBMI.Client.BmiClient.GetGridTypeResponse
RemoteBMI.Client.BmiClient.GetTimeUnitsResponse
RemoteBMI.Client.BmiClient.GetVarLocationResponseLocation
RemoteBMI.Client.BmiClient.GetVarTypeResponse
RemoteBMI.Client.BmiClient.GetVarUnitsResponse
RemoteBMI.Client.BmiClient.InitializeRequest
RemoteBMI.Client.BmiClient.ProblemDetails
RemoteBMI.Client.BmiClient.SetValueAtIndicesRequest
RemoteBMI.Server.BmiServer.GetComponentNameResponse
RemoteBMI.Server.BmiServer.GetGridTypeResponse
RemoteBMI.Server.BmiServer.GetTimeUnitsResponse
RemoteBMI.Server.BmiServer.GetVarLocationResponseLocation
RemoteBMI.Server.BmiServer.GetVarTypeResponse
RemoteBMI.Server.BmiServer.GetVarUnitsResponse
RemoteBMI.Server.BmiServer.InitializeRequest
RemoteBMI.Server.BmiServer.ProblemDetails
RemoteBMI.Server.BmiServer.SetValueAtIndicesRequest
RemoteBMI.Client.BmiClient.basepath
RemoteBMI.Client.BmiClient.basepath
RemoteBMI.Client.BmiClient.basepath
RemoteBMI.Client.BmiClient.basepath
RemoteBMI.Client.BmiClient.basepath
RemoteBMI.Client.BmiClient.basepath
RemoteBMI.Client.BmiClient.basepath
RemoteBMI.Client.BmiClient.basepath
RemoteBMI.Client.BmiClient.basepath
RemoteBMI.Client.BmiClient.basepath
RemoteBMI.Client.BmiClient.finalize
RemoteBMI.Client.BmiClient.get_component_name
RemoteBMI.Client.BmiClient.get_current_time
RemoteBMI.Client.BmiClient.get_end_time
RemoteBMI.Client.BmiClient.get_grid_edge_count
RemoteBMI.Client.BmiClient.get_grid_edge_nodes
RemoteBMI.Client.BmiClient.get_grid_face_count
RemoteBMI.Client.BmiClient.get_grid_face_edges
RemoteBMI.Client.BmiClient.get_grid_face_nodes
RemoteBMI.Client.BmiClient.get_grid_node_count
RemoteBMI.Client.BmiClient.get_grid_nodes_per_face
RemoteBMI.Client.BmiClient.get_grid_origin
RemoteBMI.Client.BmiClient.get_grid_rank
RemoteBMI.Client.BmiClient.get_grid_shape
RemoteBMI.Client.BmiClient.get_grid_size
RemoteBMI.Client.BmiClient.get_grid_spacing
RemoteBMI.Client.BmiClient.get_grid_type
RemoteBMI.Client.BmiClient.get_grid_x
RemoteBMI.Client.BmiClient.get_grid_y
RemoteBMI.Client.BmiClient.get_grid_z
RemoteBMI.Client.BmiClient.get_input_item_count
RemoteBMI.Client.BmiClient.get_input_var_names
RemoteBMI.Client.BmiClient.get_output_item_count
RemoteBMI.Client.BmiClient.get_output_var_names
RemoteBMI.Client.BmiClient.get_start_time
RemoteBMI.Client.BmiClient.get_time_step
RemoteBMI.Client.BmiClient.get_time_units
RemoteBMI.Client.BmiClient.get_value
RemoteBMI.Client.BmiClient.get_value_at_indices
RemoteBMI.Client.BmiClient.get_var_grid
RemoteBMI.Client.BmiClient.get_var_itemsize
RemoteBMI.Client.BmiClient.get_var_location
RemoteBMI.Client.BmiClient.get_var_nbytes
RemoteBMI.Client.BmiClient.get_var_type
RemoteBMI.Client.BmiClient.get_var_units
RemoteBMI.Client.BmiClient.initialize
RemoteBMI.Client.BmiClient.set_value
RemoteBMI.Client.BmiClient.set_value_at_indices
RemoteBMI.Client.BmiClient.update
RemoteBMI.Client.BmiClient.update_until
RemoteBMI.Server.BmiServer.register
RemoteBMI.Server.run_bmi_server
Server
RemoteBMI.Server.run_bmi_server
— Methodrun(model, host, port)
Expose the specified model as web service.
Arguments
model
: The model to be initialized and run.host
: The hostname or IP address.port
: The port number on to run the service.
Server generated code
RemoteBMI.Server.BmiServer
— ModuleEncapsulates generated server code for BmiServer
The following server methods must be implemented:
- getcomponentname
- invocation: GET /getcomponentname
- signature: getcomponentname(req::HTTP.Request;) -> GetComponentNameResponse
- getinputitem_count
- invocation: GET /getinputitem_count
- signature: getinputitem_count(req::HTTP.Request;) -> Int64
- getinputvar_names
- invocation: GET /getinputvar_names
- signature: getinputvar_names(req::HTTP.Request;) -> Vector{String}
- getoutputitem_count
- invocation: GET /getoutputitem_count
- signature: getoutputitem_count(req::HTTP.Request;) -> Int64
- getoutputvar_names
- invocation: GET /getoutputvar_names
- signature: getoutputvar_names(req::HTTP.Request;) -> Vector{String}
- get_value
- invocation: GET /get_value/{name}
- signature: get_value(req::HTTP.Request, name::String;) -> Vector{Float64}
- getvalueat_indices
- invocation: POST /getvalueat_indices/{name}
- signature: getvalueatindices(req::HTTP.Request, name::String, requestbody::Vector{Int64};) -> Vector{Float64}
- getgridrank
- invocation: GET /getgridrank/{grid}
- signature: getgridrank(req::HTTP.Request, grid::Int64;) -> Int64
- getgridsize
- invocation: GET /getgridsize/{grid}
- signature: getgridsize(req::HTTP.Request, grid::Int64;) -> Int64
- getgridtype
- invocation: GET /getgridtype/{grid}
- signature: getgridtype(req::HTTP.Request, grid::Int64;) -> GetGridTypeResponse
- finalize
- invocation: DELETE /finalize
- signature: finalize(req::HTTP.Request;) -> Nothing
- initialize
- invocation: POST /initialize
- signature: initialize(req::HTTP.Request, initialize_request::InitializeRequest;) -> Nothing
- update
- invocation: POST /update
- signature: update(req::HTTP.Request;) -> Nothing
- update_until
- invocation: POST /update_until
- signature: update_until(req::HTTP.Request, body::Float64;) -> Nothing
- getgridx
- invocation: GET /getgridx/{grid}
- signature: getgridx(req::HTTP.Request, grid::Int64;) -> Vector{Float64}
- getgridy
- invocation: GET /getgridy/{grid}
- signature: getgridy(req::HTTP.Request, grid::Int64;) -> Vector{Float64}
- getgridz
- invocation: GET /getgridz/{grid}
- signature: getgridz(req::HTTP.Request, grid::Int64;) -> Vector{Float64}
- set_value
- invocation: POST /set_value/{name}
- signature: setvalue(req::HTTP.Request, name::String, requestbody::Vector{Float64};) -> Nothing
- setvalueat_indices
- invocation: POST /setvalueat_indices/{name}
- signature: setvalueatindices(req::HTTP.Request, name::String, setvalueatindices_request::SetValueAtIndicesRequest;) -> Nothing
- getcurrenttime
- invocation: GET /getcurrenttime
- signature: getcurrenttime(req::HTTP.Request;) -> Float64
- getendtime
- invocation: GET /getendtime
- signature: getendtime(req::HTTP.Request;) -> Float64
- getstarttime
- invocation: GET /getstarttime
- signature: getstarttime(req::HTTP.Request;) -> Float64
- gettimestep
- invocation: GET /gettimestep
- signature: gettimestep(req::HTTP.Request;) -> Float64
- gettimeunits
- invocation: GET /gettimeunits
- signature: gettimeunits(req::HTTP.Request;) -> GetTimeUnitsResponse
- getgridorigin
- invocation: GET /getgridorigin/{grid}
- signature: getgridorigin(req::HTTP.Request, grid::Int64;) -> Vector{Float64}
- getgridshape
- invocation: GET /getgridshape/{grid}
- signature: getgridshape(req::HTTP.Request, grid::Int64;) -> Vector{Int64}
- getgridspacing
- invocation: GET /getgridspacing/{grid}
- signature: getgridspacing(req::HTTP.Request, grid::Int64;) -> Vector{Float64}
- getgridedge_count
- invocation: GET /getgridedge_count/{grid}
- signature: getgridedge_count(req::HTTP.Request, grid::Int64;) -> Int64
- getgridedge_nodes
- invocation: GET /getgridedge_nodes/{grid}
- signature: getgridedge_nodes(req::HTTP.Request, grid::Int64;) -> Vector{Int64}
- getgridface_count
- invocation: GET /getgridface_count/{grid}
- signature: getgridface_count(req::HTTP.Request, grid::Int64;) -> Int64
- getgridface_edges
- invocation: GET /getgridface_edges/{grid}
- signature: getgridface_edges(req::HTTP.Request, grid::Int64;) -> Vector{Int64}
- getgridface_nodes
- invocation: GET /getgridface_nodes/{grid}
- signature: getgridface_nodes(req::HTTP.Request, grid::Int64;) -> Vector{Int64}
- getgridnode_count
- invocation: GET /getgridnode_count/{grid}
- signature: getgridnode_count(req::HTTP.Request, grid::Int64;) -> Int64
- getgridnodesperface
- invocation: GET /getgridnodesperface/{grid}
- signature: getgridnodesperface(req::HTTP.Request, grid::Int64;) -> Vector{Int64}
- getvargrid
- invocation: GET /getvargrid/{name}
- signature: getvargrid(req::HTTP.Request, name::String;) -> Int64
- getvaritemsize
- invocation: GET /getvaritemsize/{name}
- signature: getvaritemsize(req::HTTP.Request, name::String;) -> Int64
- getvarlocation
- invocation: GET /getvarlocation/{name}
- signature: getvarlocation(req::HTTP.Request, name::String;) -> GetVarLocationResponseLocation
- getvarnbytes
- invocation: GET /getvarnbytes/{name}
- signature: getvarnbytes(req::HTTP.Request, name::String;) -> Int64
- getvartype
- invocation: GET /getvartype/{name}
- signature: getvartype(req::HTTP.Request, name::String;) -> GetVarTypeResponse
- getvarunits
- invocation: GET /getvarunits/{name}
- signature: getvarunits(req::HTTP.Request, name::String;) -> GetVarUnitsResponse
RemoteBMI.Server.BmiServer.GetComponentNameResponse
— TypeGetComponentNameResponse
GetComponentNameResponse(;
name=nothing,
)
- name::String
RemoteBMI.Server.BmiServer.GetGridTypeResponse
— TypeGetGridTypeResponse
GetGridTypeResponse(;
type=nothing,
)
- type::String
RemoteBMI.Server.BmiServer.GetTimeUnitsResponse
— TypeGetTimeUnitsResponse
GetTimeUnitsResponse(;
units=nothing,
)
- units::String
RemoteBMI.Server.BmiServer.GetVarLocationResponseLocation
— TypeGetVarLocationResponseLocation
GetVarLocationResponseLocation(;
location="node",
)
- location::String
RemoteBMI.Server.BmiServer.GetVarTypeResponse
— TypeGetVarTypeResponse
GetVarTypeResponse(;
type=nothing,
)
- type::String
RemoteBMI.Server.BmiServer.GetVarUnitsResponse
— TypeGetVarUnitsResponse
GetVarUnitsResponse(;
units=nothing,
)
- units::String
RemoteBMI.Server.BmiServer.InitializeRequest
— TypeInitializeRequest
InitializeRequest(;
config_file=nothing,
)
- config_file::String : Path to the configuration file. Should resolvable by web service.
RemoteBMI.Server.BmiServer.ProblemDetails
— TypeProblemDetails Definition from https://datatracker.ietf.org/doc/html/rfc9457#name-json-schema-for-http-proble
ProblemDetails(;
type=nothing,
title=nothing,
status=nothing,
detail=nothing,
instance=nothing,
)
- type::String : A URI reference that identifies the problem type.
- title::String : A short, human-readable summary of the problem type.
- status::Int64 : The HTTP status code generated by the origin server for this occurrence of the problem.
- detail::String : A human-readable explanation specific to this occurrence of the problem.
- instance::String : A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
RemoteBMI.Server.BmiServer.SetValueAtIndicesRequest
— TypeSetValueAtIndicesRequest
SetValueAtIndicesRequest(;
indices=nothing,
values=nothing,
)
- indices::Vector{Int64}
- values::Vector{Float64}
RemoteBMI.Server.BmiServer.register
— MethodRegister handlers for all APIs in this module in the supplied Router
instance.
Paramerets:
router
: Router to register handlers inimpl
: module that implements the server methods
Optional parameters:
path_prefix
: prefix to be applied to all pathsoptional_middlewares
: Register one or more optional middlewares to be applied to all requests.
Optional middlewares can be one or more of: - init
: called before the request is processed - pre_validation
: called after the request is parsed but before validation - pre_invoke
: called after validation but before the handler is invoked - post_invoke
: called after the handler is invoked but before the response is sent
The order in which middlewares are invoked are: init |> read |> pre_validation |> validate |> pre_invoke |> invoke |> post_invoke
Client
Client generated code
RemoteBMI.Client.BmiClient.GetComponentNameResponse
— TypeGetComponentNameResponse
GetComponentNameResponse(;
name=nothing,
)
- name::String
RemoteBMI.Client.BmiClient.GetGridTypeResponse
— TypeGetGridTypeResponse
GetGridTypeResponse(;
type=nothing,
)
- type::String
RemoteBMI.Client.BmiClient.GetTimeUnitsResponse
— TypeGetTimeUnitsResponse
GetTimeUnitsResponse(;
units=nothing,
)
- units::String
RemoteBMI.Client.BmiClient.GetVarLocationResponseLocation
— TypeGetVarLocationResponseLocation
GetVarLocationResponseLocation(;
location="node",
)
- location::String
RemoteBMI.Client.BmiClient.GetVarTypeResponse
— TypeGetVarTypeResponse
GetVarTypeResponse(;
type=nothing,
)
- type::String
RemoteBMI.Client.BmiClient.GetVarUnitsResponse
— TypeGetVarUnitsResponse
GetVarUnitsResponse(;
units=nothing,
)
- units::String
RemoteBMI.Client.BmiClient.InitializeRequest
— TypeInitializeRequest
InitializeRequest(;
config_file=nothing,
)
- config_file::String : Path to the configuration file. Should resolvable by web service.
RemoteBMI.Client.BmiClient.ProblemDetails
— TypeProblemDetails Definition from https://datatracker.ietf.org/doc/html/rfc9457#name-json-schema-for-http-proble
ProblemDetails(;
type=nothing,
title=nothing,
status=nothing,
detail=nothing,
instance=nothing,
)
- type::String : A URI reference that identifies the problem type.
- title::String : A short, human-readable summary of the problem type.
- status::Int64 : The HTTP status code generated by the origin server for this occurrence of the problem.
- detail::String : A human-readable explanation specific to this occurrence of the problem.
- instance::String : A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
RemoteBMI.Client.BmiClient.SetValueAtIndicesRequest
— TypeSetValueAtIndicesRequest
SetValueAtIndicesRequest(;
indices=nothing,
values=nothing,
)
- indices::Vector{Int64}
- values::Vector{Float64}
RemoteBMI.Client.BmiClient.basepath
— MethodThe default API base path for APIs in ExchangeItemsApi
. This can be used to construct the OpenAPI.Clients.Client
instance.
RemoteBMI.Client.BmiClient.basepath
— MethodThe default API base path for APIs in GettersApi
. This can be used to construct the OpenAPI.Clients.Client
instance.
RemoteBMI.Client.BmiClient.basepath
— MethodThe default API base path for APIs in GridInformationApi
. This can be used to construct the OpenAPI.Clients.Client
instance.
RemoteBMI.Client.BmiClient.basepath
— MethodThe default API base path for APIs in IRFApi
. This can be used to construct the OpenAPI.Clients.Client
instance.
RemoteBMI.Client.BmiClient.basepath
— MethodThe default API base path for APIs in NURCApi
. This can be used to construct the OpenAPI.Clients.Client
instance.
RemoteBMI.Client.BmiClient.basepath
— MethodThe default API base path for APIs in SettersApi
. This can be used to construct the OpenAPI.Clients.Client
instance.
RemoteBMI.Client.BmiClient.basepath
— MethodThe default API base path for APIs in TimeInformationApi
. This can be used to construct the OpenAPI.Clients.Client
instance.
RemoteBMI.Client.BmiClient.basepath
— MethodThe default API base path for APIs in UniformRectilinearApi
. This can be used to construct the OpenAPI.Clients.Client
instance.
RemoteBMI.Client.BmiClient.basepath
— MethodThe default API base path for APIs in UnstructuredApi
. This can be used to construct the OpenAPI.Clients.Client
instance.
RemoteBMI.Client.BmiClient.basepath
— MethodThe default API base path for APIs in VariableInformationApi
. This can be used to construct the OpenAPI.Clients.Client
instance.
RemoteBMI.Client.BmiClient.finalize
— MethodPerforms all tasks that take place after exiting the model’s time loop.
Params:
Return: Nothing, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_component_name
— MethodGet the name of the model component.
Params:
Return: GetComponentNameResponse, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_current_time
— MethodThe current model time.
Params:
Return: Float64, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_end_time
— MethodThe end time of the model.
Params:
Return: Float64, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_grid_edge_count
— MethodGet the number of edges in the grid.
Params:
- grid::Int64 (required)
Return: Int64, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_grid_edge_nodes
— MethodGet the edge-node connectivity.
Params:
- grid::Int64 (required)
Return: Vector{Int64}, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_grid_face_count
— MethodGet the face-node connectivity.
Params:
- grid::Int64 (required)
Return: Int64, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_grid_face_edges
— MethodGet the face-edge connectivity.
Params:
- grid::Int64 (required)
Return: Vector{Int64}, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_grid_face_nodes
— MethodGet the face-node connectivity.
Params:
- grid::Int64 (required)
Return: Vector{Int64}, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_grid_node_count
— MethodGet the number of nodes in the grid.
Params:
- grid::Int64 (required)
Return: Int64, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_grid_nodes_per_face
— MethodGet the number of nodes for each face.
Params:
- grid::Int64 (required)
Return: Vector{Int64}, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_grid_origin
— MethodGet the coordinates of the lower-left corner of the model grid.
Params:
- grid::Int64 (required)
Return: Vector{Float64}, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_grid_rank
— MethodGiven a grid identifier, get the rank (the number of dimensions) of that grid as an integer.
Params:
- grid::Int64 (required)
Return: Int64, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_grid_shape
— MethodGet the dimensions of the model grid.
Params:
- grid::Int64 (required)
Return: Vector{Int64}, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_grid_size
— MethodGiven a grid identifier, get the total number of elements (or nodes) of that grid as an integer.
Params:
- grid::Int64 (required)
Return: Int64, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_grid_spacing
— MethodGet the distance between the nodes of the model grid.
Params:
- grid::Int64 (required)
Return: Vector{Float64}, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_grid_type
— MethodGiven a grid identifier, get the type of that grid as a string.
Params:
- grid::Int64 (required)
Return: GetGridTypeResponse, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_grid_x
— MethodGet the locations of the grid nodes in the first coordinate direction.
Params:
- grid::Int64 (required)
Return: Vector{Float64}, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_grid_y
— MethodGet the locations of the grid nodes in the second coordinate direction.
Params:
- grid::Int64 (required)
Return: Vector{Float64}, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_grid_z
— MethodGet the locations of the grid nodes in the third coordinate direction.
Params:
- grid::Int64 (required)
Return: Vector{Float64}, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_input_item_count
— MethodThe number of variables the model can use from other models implementing a BMI.
Params:
Return: Int64, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_input_var_names
— MethodGets an array of names for the variables the model can use from other models implementing a BMI.
Params:
Return: Vector{String}, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_output_item_count
— MethodThe number of variables the model can provide other models implementing a BMI.
Params:
Return: Int64, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_output_var_names
— MethodGets an array of names for the variables the model can provide to other models implementing a BMI.
Params:
Return: Vector{String}, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_start_time
— MethodThe start time of the model.
Params:
Return: Float64, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_time_step
— MethodGet the time step used in the model.
Params:
Return: Float64, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_time_units
— MethodGet the units of time as reported by the model’s BMI. If model has absolute start time, you can use since
format, see cfconventions.
Params:
Return: GetTimeUnitsResponse, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_value
— MethodGet the value of a variable.
Params:
- name::String (required)
Return: Vector{Float64}, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_value_at_indices
— MethodGet the value of a variable at specific indices.
Params:
- name::String (required)
- request_body::Vector{Int64} (required)
Return: Vector{Float64}, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_var_grid
— MethodEach input and output variable is defined on a grid. This function returns the grid identifier for a given variable.
Params:
- name::String (required)
Return: Int64, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_var_itemsize
— MethodProvides the size, in bytes, of a single element of the variable.
Params:
- name::String (required)
Return: Int64, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_var_location
— MethodIndicates on what grid element the variable is defined.
Params:
- name::String (required)
Return: GetVarLocationResponseLocation, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_var_nbytes
— MethodProvides the total amount of memory used to store a variable; i.e., the number of items multiplied by the size of each item.
Params:
- name::String (required)
Return: Int64, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_var_type
— MethodProvides the data type of the variable.
Params:
- name::String (required)
Return: GetVarTypeResponse, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.get_var_units
— MethodGet the units of the given variable.
Params:
- name::String (required)
Return: GetVarUnitsResponse, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.initialize
— MethodPerforms all tasks that are to take place before entering the model’s time loop.
Params:
- initialize_request::InitializeRequest (required)
Return: Nothing, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.set_value
— MethodSet the value of a variable.
Params:
- name::String (required)
- request_body::Vector{Float64} (required)
Return: Nothing, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.set_value_at_indices
— MethodSet the value of a variable at specific indices.
Params:
- name::String (required)
- setvalueatindicesrequest::SetValueAtIndicesRequest (required)
Return: Nothing, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.update
— MethodAdvances the model by a single time step.
Params:
Return: Nothing, OpenAPI.Clients.ApiResponse
RemoteBMI.Client.BmiClient.update_until
— MethodUpdates the model to a particular time
Params:
- body::Float64 (required)
Return: Nothing, OpenAPI.Clients.ApiResponse