Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.

GMLC-TDC/helics.nim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

helics.nim

A nim interface to HELICS.

Install

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.

Release

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