-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added get_bmi_version to sidl and documentation (#111)
* Added get_bmi_version to sidl and documentation * List authors by alpha * Match section headers in SIDL to docs * Move get_bmi_version function to a new metadata section * Reference new metadata functions section * Indicate development status in version Trying to follow semantic versioning (https://semver.org/#spec-item-9). Co-authored-by: Mark Piper <[email protected]>
- Loading branch information
Showing
4 changed files
with
40 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
.. _metadata_funcs: | ||
|
||
Model and BMI metadata functions | ||
-------------------------------- | ||
|
||
These functions supply metadata about a model and its BMI. | ||
|
||
.. _get_bmi_version: | ||
|
||
*get_bmi_version* | ||
................. | ||
|
||
.. code-block:: java | ||
/* SIDL */ | ||
int get_bmi_version(out string version); | ||
.. versionadded:: 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. | ||
|
||
[:ref:`metadata_funcs` | :ref:`basic_model_interface`] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters