Definition at line 17 of file nrn_checkpoint.hpp.
#include <nrn_checkpoint.hpp>
|
void | write_time () const |
|
void | write_phase2 (NrnThread &nt) const |
|
template<typename T > |
void | data_write (FileHandler &F, T *data, int cnt, int sz, int layout, int *permute) const |
|
template<typename T > |
T * | soa2aos (T *data, int cnt, int sz, int layout, int *permute) const |
|
void | write_tqueue (TQItem *q, NrnThread &nt, FileHandler &fh) const |
|
void | write_tqueue (NrnThread &nt, FileHandler &fh) const |
|
void | restore_tqitem (int type, std::shared_ptr< Phase2::EventTypeBase > event, NrnThread &nt) |
|
◆ CheckPoints()
coreneuron::CheckPoints::CheckPoints |
( |
const std::string & |
save, |
|
|
const std::string & |
restore |
|
) |
| |
◆ data_write()
template<typename T >
void coreneuron::CheckPoints::data_write |
( |
FileHandler & |
F, |
|
|
T * |
data, |
|
|
int |
cnt, |
|
|
int |
sz, |
|
|
int |
layout, |
|
|
int * |
permute |
|
) |
| const |
|
private |
◆ get_restore_path()
std::string coreneuron::CheckPoints::get_restore_path |
( |
| ) |
const |
|
inline |
◆ get_save_path()
std::string coreneuron::CheckPoints::get_save_path |
( |
| ) |
const |
|
inline |
◆ initialize()
bool coreneuron::CheckPoints::initialize |
( |
| ) |
|
◆ restore_time()
double coreneuron::CheckPoints::restore_time |
( |
| ) |
const |
todo : need to broadcast this rather than all reading a double
Definition at line 46 of file nrn_checkpoint.cpp.
◆ restore_tqitem()
◆ restore_tqueue()
void coreneuron::CheckPoints::restore_tqueue |
( |
NrnThread & |
nt, |
|
|
const Phase2 & |
p2 |
|
) |
| |
◆ should_restore()
bool coreneuron::CheckPoints::should_restore |
( |
| ) |
const |
|
inline |
◆ should_save()
bool coreneuron::CheckPoints::should_save |
( |
| ) |
const |
|
inline |
◆ soa2aos()
template<typename T >
T * coreneuron::CheckPoints::soa2aos |
( |
T * |
data, |
|
|
int |
cnt, |
|
|
int |
sz, |
|
|
int |
layout, |
|
|
int * |
permute |
|
) |
| const |
|
private |
◆ write_checkpoint()
void coreneuron::CheckPoints::write_checkpoint |
( |
NrnThread * |
nt, |
|
|
int |
nb_threads |
|
) |
| const |
if openmp threading needed: #pragma omp parallel for private(i) shared(nt, nb_threads) schedule(runtime)
Definition at line 60 of file nrn_checkpoint.cpp.
◆ write_phase2()
void coreneuron::CheckPoints::write_phase2 |
( |
NrnThread & |
nt | ) |
const |
|
private |
◆ write_time()
void coreneuron::CheckPoints::write_time |
( |
| ) |
const |
|
private |
◆ write_tqueue() [1/2]
◆ write_tqueue() [2/2]
◆ patstim_index
int coreneuron::CheckPoints::patstim_index |
|
private |
◆ patstim_te
double coreneuron::CheckPoints::patstim_te |
|
private |
◆ restore_
const std::string coreneuron::CheckPoints::restore_ |
|
private |
◆ restored
bool coreneuron::CheckPoints::restored |
|
private |
◆ save_
const std::string coreneuron::CheckPoints::save_ |
|
private |
The documentation for this class was generated from the following files: