1 #ifndef NRN_NRNCORE_IO_H 2 #define NRN_NRNCORE_IO_H 14 std::string
get_filename(
const std::string &path, std::string file_name);
19 return v.empty() ?
NULL : &v[0];
35 #define writeint(p, size) writeint_(p, size, f) 36 #define writedbl(p, size) writedbl_(p, size, f) 47 #endif //NRN_NRNCORE_IO_H
void write_globals(const char *fname)
T * begin_ptr(std::vector< T > &v)
Represent main neuron object computed by single thread.
void write_nrnthread_task(const char *, CellGroup *cgs, bool append)
Write all dataset ids to files.dat.
const char * bbcore_write_version
void append(Item *ql, Item *q)
void(*)(double *, int *, int *, int *, double *, Datum *, Datum *, NrnThread *) bbcore_write_t
void nrnbbcore_vecplay_write(FILE *f, NrnThread &nt)
void write_contiguous_art_data(double **data, int nitem, int szitem, FILE *f)
void write_memb_mech_types(const char *fname)
std::string get_filename(const std::string &path, std::string file_name)
static const char * fname(const char *name)
double * contiguous_art_data(double **data, int nitem, int szitem)
Compartment mapping information for NrnThread.
size_t size()
number of cells
void writedbl_(double *p, size_t size, FILE *f)
VEC * cgs(MTX_FN A, void *A_params, VEC *b, VEC *r0, double tol, VEC *x)
void nrn_write_mapping_info(const char *path, int gid, NrnMappingInfo &minfo)
dump mapping information to gid_3.dat file
std::string get_write_path()
void write_nrnthread(const char *fname, NrnThread &nt, CellGroup &cg)
void writeint_(int *p, size_t size, FILE *f)
void create_dir_path(const std::string &path)
create directory with given path