#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stddef.h>
#include <stdexcept>
#include "LUT.h"
#include "ODEint.h"
#include <math.h>
#include <assert.h>
#include <functional>
#include "basics.h"
#include "target.h"
#include "ion_type.h"
#include "ION_IF_sv.h"
Go to the source code of this file.
|
void | limpet::initialize_ts (ts *tstp, int ng, int *skp, double dt) |
|
void | limpet::update_ts (ts *ptstp) |
|
void | limpet::SV_alloc (SV_TAB *psv, int numSeg, int struct_size) |
|
void | limpet::SV_free (SV_TAB *psv) |
|
void | limpet::free_sv_table (void *) |
|
void | limpet::print_IMPs (void) |
|
bool | limpet::flag_set (const char *flags, const char *target) |
|
void | limpet::print_models (bool) |
|
float | limpet::modify_param (float a, char *expr) |
|
int | limpet::process_param_mod (char *pstr, char *par, char *mod) |
|
char * | limpet::get_typename (int type) |
|
bool | limpet::verify_flags (const char *flags, const char *given) |
|
int | limpet::load_ionic_module (const char *) |
|
char * | limpet::get_next_list (char *lst, char delimiter) |
|
SVputfcn | limpet::getPutSV (SVgetfcn) |
|
◆ CHANGE_PARAM
#define CHANGE_PARAM |
( |
|
T, |
|
|
|
P, |
|
|
|
V, |
|
|
|
F |
|
) |
| |
Value:do { \
((T##_Params *)P)->V =
modify_param( ((T##_Params *)P)->V, F ); \
log_msg(
_nc_logf,0, 0,
" %-20s modifier: %-15s value: %g",\
#V,F,(float)((T##_Params *)P)->V);} while (0)
float modify_param(float a, char *expr)
Definition at line 936 of file ION_IF.h.
◆ cube
#define cube |
( |
|
x | ) |
((x)*(x)*(x)) |
◆ heav
#define heav |
( |
|
x | ) |
( (x)<0 ? 0 : 1) |
◆ M_PI
#define M_PI 3.14159265358979323846264338327 |
◆ MPI_DUMP_IMP_POLL_BUFSIZE_TAG
#define MPI_DUMP_IMP_POLL_BUFSIZE_TAG 20 |
◆ MPI_DUMP_IMP_SNDRCV_BUFFER_TAG
#define MPI_DUMP_IMP_SNDRCV_BUFFER_TAG 21 |
◆ MPI_DUMP_SVS_POLL_BUFSIZE_TAG
#define MPI_DUMP_SVS_POLL_BUFSIZE_TAG 30 |
◆ MPI_DUMP_SVS_SNDRCV_BUFFER_TAG
#define MPI_DUMP_SVS_SNDRCV_BUFFER_TAG 31 |
◆ MPI_RESTORE_IMP_POLL_BUFSIZE_TAG
#define MPI_RESTORE_IMP_POLL_BUFSIZE_TAG 10 |
◆ MPI_RESTORE_IMP_SNDRCV_BUFFER_TAG
#define MPI_RESTORE_IMP_SNDRCV_BUFFER_TAG 11 |
◆ NDEF
definition of cell geometry
Each ionic model is based on an underlying cell geometry. Several factors depend on the geometry like conversion factors how currents crossing the membrane translate into a change in ionic concentration. This structure is defined to provide a standardized mechanisms to define cell geometry and subdomain fractions to compute all dependent factors automatically. These factors can be accessed by plugins to derive factors for concentration updates.
Definition at line 112 of file ION_IF.h.
◆ sign
#define sign |
( |
|
x | ) |
( (x)<0 ? -1 : 1 ) |
◆ square
#define square |
( |
|
x | ) |
((x)*(x)) |