![]() |
NEURON
|
#include <string>#include <vector>Go to the source code of this file.
Macros | |
| #define | writeint(p, size) writeint_(p, size, f) |
| #define | writedbl(p, size) writedbl_(p, size, f) |
Typedefs | |
| typedef void(* | bbcore_write_t) (double *, int *, int *, int *, double *, Datum *, Datum *, NrnThread *) |
Functions | |
| void | create_dir_path (const std::string &path) |
| create directory with given path More... | |
| std::string | get_write_path () |
| std::string | get_filename (const std::string &path, std::string file_name) |
| template<typename T > | |
| T * | begin_ptr (std::vector< T > &v) |
| void | write_memb_mech_types (const char *fname) |
| void | write_globals (const char *fname) |
| void | write_nrnthread (const char *fname, NrnThread &nt, CellGroup &cg) |
| void | writeint_ (int *p, size_t size, FILE *f) |
| void | writedbl_ (double *p, size_t size, FILE *f) |
| void | write_contiguous_art_data (double **data, int nitem, int szitem, FILE *f) |
| double * | contiguous_art_data (double **data, int nitem, int szitem) |
| void | write_nrnthread_task (const char *, CellGroup *cgs, bool append) |
| Write all dataset ids to files.dat. More... | |
| void | nrnbbcore_vecplay_write (FILE *f, NrnThread &nt) |
| void | nrn_write_mapping_info (const char *path, int gid, NrnMappingInfo &minfo) |
| dump mapping information to gid_3.dat file More... | |
Variables | |
| const char * | bbcore_write_version |
| int | chkpnt |
Definition at line 36 of file nrncore_io.h.
Definition at line 35 of file nrncore_io.h.
| typedef void(* bbcore_write_t) (double *, int *, int *, int *, double *, Datum *, Datum *, NrnThread *) |
Definition at line 37 of file nrncore_io.h.
Definition at line 18 of file nrncore_io.h.
Definition at line 290 of file nrncore_io.cpp.
| void create_dir_path | ( | const std::string & | path | ) |
create directory with given path
Definition at line 28 of file nrncore_io.cpp.
| std::string get_filename | ( | const std::string & | path, |
| std::string | file_name | ||
| ) |
Definition at line 51 of file nrncore_io.cpp.
| std::string get_write_path | ( | ) |
Definition at line 43 of file nrncore_io.cpp.
| void nrn_write_mapping_info | ( | const char * | path, |
| int | gid, | ||
| NrnMappingInfo & | minfo | ||
| ) |
dump mapping information to gid_3.dat file
full path of mapping file
number of gids in NrnThread
all cells mapping information in NrnThread
gid, #section, #compartments, #sectionlists
section list name, number of sections, number of segments
section - segment mapping
Definition at line 502 of file nrncore_io.cpp.
Definition at line 302 of file nrncore_io.cpp.
Definition at line 280 of file nrncore_io.cpp.
| void write_globals | ( | const char * | fname | ) |
Definition at line 72 of file nrncore_io.cpp.
| void write_memb_mech_types | ( | const char * | fname | ) |
Definition at line 58 of file nrncore_io.cpp.
Definition at line 114 of file nrncore_io.cpp.
Write all dataset ids to files.dat.
Format of the files.dat file is:
version string -1 (if model uses gap junction) n (number of datasets) in format %10d id1 id2 ... idN
Writing the file with task, correspondent number of threads and list of correspondent first gids
Definition at line 348 of file nrncore_io.cpp.
| void writedbl_ | ( | double * | p, |
| size_t | size, | ||
| FILE * | f | ||
| ) |
Definition at line 271 of file nrncore_io.cpp.
Definition at line 265 of file nrncore_io.cpp.
| const char* bbcore_write_version |
Definition at line 25 of file nrncore_io.cpp.
| int chkpnt |
Definition at line 24 of file nrncore_io.cpp.