#include <../../nrnconf.h>
#include <stdio.h>
#include <stdlib.h>
#include <InterViews/resource.h>
#include <nrnmpi.h>
#include <nrnoc2iv.h>
#include <membfunc.h>
#include <nrnmenu.h>
#include <arraypool.h>
Defines | |
#define | APSIZE 1000 |
#define | NRN_MECH_REORDER 1 |
Functions | |
void | nrn_mk_prop_pools (int) |
void | nrn_cache_prop_realloc () |
int | nrn_is_ion (int) |
void | nrn_update_ion_pointer (Symbol *sion, Datum *dp, int id, int ip) |
void | nrn_recalc_ptrs (double *(*)(double *)) |
void * | nrn_pool_create (long count, int itemsize) |
void | nrn_pool_delete (void *pool) |
void * | nrn_pool_alloc (void *pool) |
void | nrn_pool_free (void *pool, void *item) |
void | nrn_pool_freeall (void *pool) |
declareArrayPool (CharArrayPool, char) implementArrayPool(CharArrayPool | |
declareArrayPool (DoubleArrayPool, double) implementArrayPool(DoubleArrayPool | |
double | declareArrayPool (DatumArrayPool, Datum) implementArrayPool(DatumArrayPool |
double * | nrn_prop_data_alloc (int type, int count, Prop *p) |
Datum * | nrn_prop_datum_alloc (int type, int count, Prop *p) |
void | nrn_prop_data_free (int type, double *pd) |
void | nrn_prop_datum_free (int type, Datum *ppd) |
int | nrn_prop_is_cache_efficient () |
#define APSIZE 1000 |
Referenced by nrn_prop_data_alloc(), and nrn_prop_datum_alloc().
#define NRN_MECH_REORDER 1 |
double declareArrayPool | ( | DatumArrayPool | , | |
Datum | ||||
) |
declareArrayPool | ( | DoubleArrayPool | , | |
double | ||||
) |
declareArrayPool | ( | CharArrayPool | , | |
char | ||||
) |
void nrn_cache_prop_realloc | ( | ) |
References Prop::_alloc_seq, NrnThread::_v_node, assert, buf, Memb_func::current, NrnThread::end, fprintf(), Memb_func::initialize, memb_func, Prop::next, NrnThreadMembList::next, Memb_list::nodecount, Memb_list::nodelist, nrn_nthread, nrn_prop_is_cache_efficient(), nrn_threads, nrnmpi_myid, nrnmpi_numprocs, Node::prop, Memb_func::state, NrnThread::tml, Prop::type, and type.
References memb_func.
Referenced by nrn_writes_conc().
References Prop::_alloc_seq, APSIZE, assert, hoc_Ecalloc(), hoc_malchk(), and pd.
References Prop::_alloc_seq, Datum::_pvoid, APSIZE, assert, hoc_Ecalloc(), and hoc_malchk().
int nrn_prop_is_cache_efficient | ( | ) |
References Memb_list::data, NrnThreadMembList::next, Memb_list::nodecount, nrn_nthread, nrn_threads, and NrnThread::tml.
Referenced by nrn_cache_prop_realloc().
void nrn_recalc_ptrs | ( | double * | *)(double * | ) |
References assert, op, Datum::pval, pval, and Symbol::subtype.