openearth / bmi-csharp

Basic Model Interface, implementation in C# and tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bmi-csharp

Basic Model Interface for C#.

A simple API that can be used to run native simulation components which implement BMI interface: bmi.h.

Provides

See BasicModelInterfaceLibraryTest.cs for examples on how to use it.

In general:

var lib = new BasicModelInterfaceLibraryTest("native_library");

lib.Initialize("config_file");

lib.Update(-1);

var a = lib.GetValues("variable_name");

lib.SetValues("variable_name", a);

lib.Finish();

About

Basic Model Interface, implementation in C# and tools

License:GNU Lesser General Public License v3.0


Languages

Language:C# 96.9%Language:Batchfile 3.1%