A nim interface to HELICS.
Use nimble
:
nimble install https://github.com/GMLC-TDC/helics.nim#head
You can then use it as shown below:
import helics
let h = loadHelicsLibrary("libhelicsSharedLib.2.6.0.(dylib|so|dll)")
echo h.helicsGetVersion()
You can use the HELICS_INSTALL
environment variable to let the nim library know where to import the HELICS libhelicsSharedLib
library from.
You can also search for multiple versions:
let h = loadHelicsLibrary("libhelicsSharedLib(.2.5.0|.2.6.0).(dylib|so|dll)")
See the nim documentation for loadLibPattern
for more information.
helics.nim is distributed under the terms of the BSD-3 clause license. All new contributions must be made under this license. LICENSE
SPDX-License-Identifier: BSD-3-Clause