![]() |
NEURON
|
#include "nrncore_io.h"#include "nrncore_write/data/cell_group.h"#include "nrncore_write/callbacks/nrncore_callbacks.h"#include <cstdlib>#include "nrnmpi.h"#include "section.h"#include "hocdec.h"#include "ocfile.h"#include "nrnran123.h"#include "cvodeobj.h"#include "netcvode.h"#include "vrecitem.h"#include <fstream>#include <sstream>#include "nrnsection_mapping.h"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) |
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) |
| void | write_memb_mech_types (const char *fname) |
| void | write_globals (const char *fname) |
| void | write_nrnthread (const char *path, NrnThread &nt, CellGroup &cg) |
| void | writeint_ (int *p, size_t size, FILE *f) |
| void | writedbl_ (double *p, size_t size, FILE *f) |
| void | write_uint32vec (std::vector< uint32_t > &vec, FILE *f) |
| void | nrnbbcore_vecplay_write (FILE *f, NrnThread &nt) |
| static void | fgets_no_newline (char *s, int size, FILE *f) |
| void | write_nrnthread_task (const char *path, CellGroup *cgs, bool append) |
| Write all dataset ids to files.dat. More... | |
| void | nrn_write_mapping_info (const char *path, int gid, NrnMappingInfo &minfo) |
| dump mapping information to gid_3.dat file More... | |
Variables | |
| short * | nrn_is_artificial_ |
| int * | bbcore_dparam_size |
| bbcore_write_t * | nrn_bbcore_write_ |
| NetCvode * | net_cvode_instance |
| void(* | nrnthread_v_transfer_ )(NrnThread *) |
| int | chkpnt |
| const char * | bbcore_write_version = "1.8" |
Definition at line 317 of file nrncore_io.cpp.
Definition at line 316 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.
|
static |
Definition at line 343 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 531 of file nrncore_io.cpp.
| void nrnbbcore_vecplay_write | ( | FILE * | f, |
| NrnThread & | nt | ||
| ) |
Definition at line 319 of file nrncore_io.cpp.
| void write_globals | ( | const char * | fname | ) |
Definition at line 74 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 116 of file nrncore_io.cpp.
| void write_nrnthread_task | ( | const char * | path, |
| CellGroup * | cgs, | ||
| bool | append | ||
| ) |
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 366 of file nrncore_io.cpp.
| void write_uint32vec | ( | std::vector< uint32_t > & | vec, |
| FILE * | f | ||
| ) |
Definition at line 310 of file nrncore_io.cpp.
| void writedbl_ | ( | double * | p, |
| size_t | size, | ||
| FILE * | f | ||
| ) |
Definition at line 304 of file nrncore_io.cpp.
| void writeint_ | ( | int * | p, |
| size_t | size, | ||
| FILE * | f | ||
| ) |
Definition at line 298 of file nrncore_io.cpp.
|
extern |
Definition at line 117 of file nrncore_write.cpp.
| const char* bbcore_write_version = "1.8" |
Definition at line 25 of file nrncore_io.cpp.
| int chkpnt |
Definition at line 24 of file nrncore_io.cpp.
|
extern |
Definition at line 26 of file cvodestb.cpp.
|
extern |
Definition at line 139 of file fadvance.cpp.