openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
|
Define multiple ionic models to be used in different regions. More...
#include <ctime>
#include <cstdarg>
#include <cstddef>
#include <string>
#include <sys/resource.h>
#include "ION_IF.h"
#include "timer_utils.h"
#include "fem_types.h"
#include "sf_interface.h"
Go to the source code of this file.
Classes | |
struct | limpet::SV_DUMP |
data structure to manage state variable file dumps More... | |
struct | limpet::Trace_Info |
data structure to manage trace dumps. Should eventually be combined with the state variable dumps, but I'm keeping it separate for now for my own sanity. More... | |
class | limpet::MULTI_IF |
Namespaces | |
limpet | |
Macros | |
#define | FARADAY 96485 |
Faraday's constant. More... | |
#define | USED_DAT(I, F) ( (I)->get_reqdat()&F || (I)->get_moddat()&F) |
#define | get_plug_params(M, R, P) (P ## _Params *)get_IIF_plugparam(*(M.IIF[R]), P ## _ID) |
#define | SVD_add(I, R, T, M) |
Typedefs | |
typedef double | limpet::Real |
Functions | |
void | limpet::doppel_MIIF (MULTI_IF *orig, MULTI_IF *miif_doppel) |
void | limpet::doppel_update (MULTI_IF *orig, MULTI_IF *miif_doppel) |
void | limpet::free_doppel (MULTI_IF *m) |
void | limpet::dup_IMP_node_state (IonIfBase &IF, int from, int to, GlobalData_t **localdata) |
void * | limpet::get_IIF_plugparam (IonIfBase &, int) |
int | limpet::get_plug_flag (char *plgstr, int *out_num_plugins, IonTypeList &out_plugins) |
int | limpet::IMPdataLabel2Index (const char *sv) |
char * | limpet::tokstr_r (char *s1, const char *s2, char **lasts) |
void | limpet::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. More... | |
void | limpet::dump_trace (MULTI_IF *MIIF, limpet::Real time) |
Define multiple ionic models to be used in different regions.
Definition in file MULTI_ION_IF.h.
#define FARADAY 96485 |
Faraday's constant.
Definition at line 147 of file MULTI_ION_IF.h.
#define get_plug_params | ( | M, | |
R, | |||
P | |||
) | (P ## _Params *)get_IIF_plugparam(*(M.IIF[R]), P ## _ID) |
get the parameter structure for a plug-in
This is a wrapper for get_IIF_plugparam() that casts the void pointer to the proper type
M | MIIF |
R | integer specifying region |
P | plug-in |
Definition at line 314 of file MULTI_ION_IF.h.
#define SVD_add | ( | I, | |
R, | |||
T, | |||
M | |||
) |
add a variable to the list of state variables to be dumped
This is a fancy wrapper for sv_dump_add()
I | MIIF |
R | integer region identifier |
T | IMP name |
M | member name |
Definition at line 326 of file MULTI_ION_IF.h.
#define USED_DAT | ( | I, | |
F | |||
) | ( (I)->get_reqdat()&F || (I)->get_moddat()&F) |
test if a global data vector is used
\param I IMP \param F flag
Definition at line 301 of file MULTI_ION_IF.h.