Skip to content

Instantly share code, notes, and snippets.

@kdheepak
Created July 26, 2022 14:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kdheepak/25bc19b47265f40b13056742959b94b9 to your computer and use it in GitHub Desktop.
Save kdheepak/25bc19b47265f40b13056742959b94b9 to your computer and use it in GitHub Desktop.
def get_state(fed):
f = h.loadSym("helicsFederateGetState")
err = h.helicsErrorInitialize()
r = f(fed.handle, err)
return r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment