Skip to content

Commit

Permalink
sedtrn vars centralized, and added finish_model function stub
Browse files Browse the repository at this point in the history
  • Loading branch information
Burgholzer authored and Burgholzer committed Jul 12, 2024
1 parent 5f5b3d1 commit e8106da
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/hsp2/hsp2/om_model_linkage.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,14 @@ def step_model_link(op_token, state_ix, ts_ix, step):
# set value in a timerseries
ts_ix[op_token[2]][step] = state_ix[op_token[4]]
return True


@njit
def end_model_link(op_token, state_ix, ts_ix, step):
#if step == 2:
# print("step_model_link() called at step 2 with op_token=", op_token)
#print("step_model_link() called at step 2 with op_token=", op_token)
if op_token[3] == 6:
# save timerseries to the hdf5

return True

0 comments on commit e8106da

Please sign in to comment.