openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
sv_init.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) NumeriCor GmbH
2 // SPDX-License-Identifier: LicenseRef-APL-1.1
3 
12 #ifndef sv_init_h
13 #define sv_init_h
14 
15 #ifdef __cplusplus
16 # include "MULTI_ION_IF.h"
17 #endif // ifdef __cplusplus
18 #include <string.h>
19 
20 namespace limpet {
21 
22 int read_sv(MULTI_IF *, int, const char *);
23 void save_sv(MULTI_IF *, int, const char *);
24 void open_trace(MULTI_IF *, int, int *, int *);
26 void close_trace(MULTI_IF *);
27 node_index_t current_global_node(node_index_t); // Used in error recovery
28 float current_global_time(void); // Used in error recovery
29 void set_start_time(const float); // Used in error recovery.
32 
33 } // namespace limpet
34 
35 #endif
Define multiple ionic models to be used in different regions.
double Real
Definition: MULTI_ION_IF.h:136
int should_print_bounds_exceeded_messages()
void save_sv(MULTI_IF *, int, const char *)
float current_global_time()
int read_sv(MULTI_IF *, int, const char *)
void close_trace(MULTI_IF *MIIF)
void dump_trace(MULTI_IF *MIIF, limpet::Real time)
void open_trace(MULTI_IF *MIIF, int n_traceNodes, int *traceNodes, int *label, opencarp::sf_mesh *imesh)
Set up ionic model traces at some global node numbers.
node_index_t current_global_node(node_index_t local_node)
opencarp::local_index_t node_index_t
Definition: limpet_types.h:13
void set_start_time(const float)
int set_print_bounds_exceeded_messages(int newval)