27 return !
save_.empty();
78 struct Memb_list_chkpnt {
80 double* data_not_permuted;
81 Datum* pdata_not_permuted;
82 int* nodeindices_not_permuted;
94 Memb_list_chkpnt** mlmap;
98 double* output_threshold;
static double restore(void *v)
std::string get_save_path() const
std::string get_restore_path() const
void restore_tqitem(int type, std::shared_ptr< Phase2::EventTypeBase > event, NrnThread &nt)
void write_tqueue(TQItem *q, NrnThread &nt, FileHandler &fh) const
void write_phase2(NrnThread &nt) const
T * soa2aos(T *data, int cnt, int sz, int layout, int *permute) const
void write_checkpoint(NrnThread *nt, int nb_threads) const
const std::string restore_
double restore_time() const
todo : need to broadcast this rather than all reading a double
void data_write(FileHandler &F, T *data, int cnt, int sz, int layout, int *permute) const
void restore_tqueue(NrnThread &, const Phase2 &p2)
bool should_restore() const
CheckPoints(const std::string &save, const std::string &restore)
THIS FILE IS AUTO GENERATED DONT MODIFY IT.
void nrn_inverse_i_layout(int i, int &icnt, int cnt, int &isz, int sz, int layout)
int * inverse_permute(int *p, int n)
NrnThreadChkpnt * nrnthread_chkpnt
static int permute(int i, NrnThread &nt)
int const size_t const size_t n
static double save(void *v)
Represent main neuron object computed by single thread.
Non-template stable handle to a generic value.