Model and BMI metadata functions¶
These functions supply metadata about a model and its BMI.
get_bmi_version¶
int get_bmi_version(out string version);
def get_bmi_version(self) -> str:
int get_bmi_version(void *self, char *version);
Added in version 2.1.
This function supplies the version of BMI implemented as a string.
Implementation notes
The version must be >=2.1.
In C and Fortran, the version argument is a a character array, and an integer status code indicating success (zero) or failure (nonzero) is returned.
In C++, Java, and Python, this argument is omitted, and a string – a basic type in these languages – is returned from the function.