1 #include <../../nrnconf.h>
29 class GLineRecordList;
33 static GLineRecordList* grl;
41 int i,
cnt = grl->count();
42 for (
i = 0;
i <
cnt; ++
i) {
55 while (grl->count()) {
56 delete grl->item(grl->count() - 1);
63 grl =
new GLineRecordList();
66 for (
i = 0;
i <
cnt; ++
i) {
94 if (strcmp(sym->
name,
"t") == 0) {
112 for (
int i = 0;
i < sz; ++
i) {
113 hoc_debugzz(inst +
i);
147 printf(
" pd=%p\n", (*it).first);
191 for (
i = grl->count() - 1;
i >= 0; --
i) {
192 if (grl->item(
i) ==
this) {
201 printf(
"~GVectorRecord %p\n",
this);
203 for (GLineRecordEData::iterator it = pd_and_vec_.begin(); it != pd_and_vec_.end(); ++it) {
231 double dt = tstop / double(vecsz - 1);
237 for (
int i = 0;
i < vecsz; ++
i) {
244 for (
int i = 0;
i < vecsz; ++
i) {
248 double* pd = (*it).first;
249 *pd = (*it).second->elem(
i);
void rangevarevalpointer(void)
virtual bool uses(void *v)
virtual void continuous(double t)
virtual void record_init()
GLineRecordEData pd_and_vec_
const DataVec * y_data() const
const DataVec * x_data() const
virtual void record_init()
GVectorRecord(GraphVector *)
virtual void continuous(double t)
const char * name() const
void simgraph_continuous(double)
void simgraph_activate(bool)
PlayRecord * playrec_uses(void *)
NetCvode * net_cvode_instance
double * vector_vec(Vect *v)
#define implementPtrList(PtrList, T)
#define declarePtrList(PtrList, T)
static void pr(N_Vector x)