CoreNEURON
nrnconf.h File Reference
#include "coreneuron/config/version_macros.hpp"
#include "coreneuron/utils/offload.hpp"
#include <cstdio>
#include <cmath>
#include <cassert>
#include <cerrno>
#include <cstdint>

Go to the source code of this file.

Namespaces

 coreneuron
 THIS FILE IS AUTO GENERATED DONT MODIFY IT.
 

Macros

#define NRNBBCORE   1
 
#define VEC_A(i)   (_nt->_actual_a[(i)])
 
#define VEC_B(i)   (_nt->_actual_b[(i)])
 
#define VEC_D(i)   (_nt->_actual_d[(i)])
 
#define VEC_RHS(i)   (_nt->_actual_rhs[(i)])
 
#define VEC_V(i)   (_nt->_actual_v[(i)])
 
#define VEC_AREA(i)   (_nt->_actual_area[(i)])
 
#define VECTORIZE   1
 
#define tstopbit   (1 << 15)
 
#define tstopset   stoprun |= tstopbit
 
#define tstopunset   stoprun &= (~tstopbit)
 

Typedefs

using coreneuron::Datum = int
 
using coreneuron::Pfri = int(*)()
 
using coreneuron::Symbol = char
 

Functions

void * coreneuron::nrn_cacheline_alloc (void **memptr, size_t size)
 
void * coreneuron::emalloc_align (size_t size, size_t alignment)
 
void * coreneuron::ecalloc_align (size_t n, size_t size, size_t alignment)
 
void coreneuron::check_bbcore_write_version (const char *)
 

Variables

bool coreneuron::stoprun
 
const char * coreneuron::bbcore_write_version = "1.6"
 

Macro Definition Documentation

◆ NRNBBCORE

#define NRNBBCORE   1

Definition at line 21 of file nrnconf.h.

◆ tstopbit

#define tstopbit   (1 << 15)

Definition at line 43 of file nrnconf.h.

◆ tstopset

#define tstopset   stoprun |= tstopbit

Definition at line 44 of file nrnconf.h.

◆ tstopunset

#define tstopunset   stoprun &= (~tstopbit)

Definition at line 45 of file nrnconf.h.

◆ VEC_A

#define VEC_A (   i)    (_nt->_actual_a[(i)])

Definition at line 27 of file nrnconf.h.

◆ VEC_AREA

#define VEC_AREA (   i)    (_nt->_actual_area[(i)])

Definition at line 32 of file nrnconf.h.

◆ VEC_B

#define VEC_B (   i)    (_nt->_actual_b[(i)])

Definition at line 28 of file nrnconf.h.

◆ VEC_D

#define VEC_D (   i)    (_nt->_actual_d[(i)])

Definition at line 29 of file nrnconf.h.

◆ VEC_RHS

#define VEC_RHS (   i)    (_nt->_actual_rhs[(i)])

Definition at line 30 of file nrnconf.h.

◆ VEC_V

#define VEC_V (   i)    (_nt->_actual_v[(i)])

Definition at line 31 of file nrnconf.h.

◆ VECTORIZE

#define VECTORIZE   1

Definition at line 33 of file nrnconf.h.