1 #include <../../nrnconf.h>
14 static void unit_chk(
const char*,
const char*);
15 static int iontype(
char*,
char*);
82 if (strcmp(
SYM(qtype)->
name,
"POINT_PROCESS") == 0) {
85 if (strcmp(
SYM(qtype)->
name,
"ARTIFICIAL_CELL") == 0) {
113 for (
i = 0;
i < 2;
i++) {
115 l = (
List*) qreadlist;
117 l = (
List*) qwritelist;
137 static int iontype(
char* s1,
char* s2)
140 if (strcmp(
buf, s1) == 0) {
144 if (strcmp(
buf, s1) == 0) {
148 if (strcmp(
buf, s1) == 0) {
152 if (strcmp(
buf, s1) == 0) {
155 Sprintf(
buf,
"%s is not a valid ionic variable for %s", s1, s2);
void declare(long subtype, Item *q, Item *qa)
@ ELECTRODE_CURRENT
type of ast::ElectrodeCurrent
@ SUFFIX
type of ast::Suffix
@ NONSPECIFIC
type of ast::Nonspecific
#define ITERATE(itm, lst)
const char * decode_units(Symbol *)
Symbol * lookup(const char *)
void Unit_push(const char *)
void nrn_list(Item *, Item *)
void nrn_use(Item *q1, Item *q2, Item *q3)
List * newlist()
The following routines support the concept of a list.
int Sprintf(char(&buf)[N], const char *fmt, Args &&... args)
Redirect sprintf to snprintf if the buffer size can be deduced.
static int iontype(char *, char *)
static void unit_chk(const char *, const char *)
int breakpoint_local_seen_