1: // 2: // Heccer : a compartmental solver that implements efficient Crank-Nicolson 3: // integration for neuronal models. 4: // 5: 6: ////////////////////////////////////////////////////////////////////////////// 7: //' 8: //' Heccer : testbed C implementation 9: //' 10: //' Copyright (C) 2006-2008 Hugo Cornelis 11: //' 12: //' functional ideas .. Hugo Cornelis, hugo.cornelis@gmail.com 13: //' 14: //' coding ............ Hugo Cornelis, hugo.cornelis@gmail.com 15: //' 16: ////////////////////////////////////////////////////////////////////////////// 17: 18: 19: #ifndef HECCER_NEUROSPACES_HECCER_H 20: #define HECCER_NEUROSPACES_HECCER_H 21: 22: 23: #define PRE_PROTO_TRAVERSAL 1 24: 25: #include <neurospaces/neurospaces.h> 26: 27: 28: //s translator specific service data 29: 30: struct TranslationServiceData 31: { 32: //m neurospaces 33: 34: struct Neurospaces *pneuro; 35: 36: //m root symbol in neurospaces 37: 38: struct PidinStack *ppistRoot; 39: 40: struct symtab_HSolveListElement *phsleRoot; 41: 42: //m the model to be solved by this instantiation 43: 44: int iModel; 45: 46: /* //m event distributor, needed for the connection matrix index translator */ 47: 48: /* struct EventDistributor *ped; */ 49: }; 50: 51: 52: int HeccerConstruct(struct Heccer *pheccer, void *pvNeurospaces, char *pcModel, void *pvEventDistributor); 53: 54: 55: #endif 56: 57: 58: