82 #define EPATH "/efield/E_1DS_XXXXXXXXXX/"
85 real rhomin, rhomax, reff;
87 f, qid, __FILE__, __LINE__) ) {
return 1;}
89 f, qid, __FILE__, __LINE__) ) {
return 1;}
91 f, qid, __FILE__, __LINE__) ) {
return 1;}
93 f, qid, __FILE__, __LINE__) ) {
return 1;}
97 f, qid, __FILE__, __LINE__) ) {
return 1;}
98 int err =
E_1DS_init(data, nrho, rhomin, rhomax, reff, dvdrho);
122 #define EPATH "/efield/E_TC_XXXXXXXXXX/"
126 f, qid, __FILE__, __LINE__) ) {
return 1;}
int E_1DS_init(E_1DS_data *data, int nrho, real rhomin, real rhomax, real reff, real *dvdrho)
Initialize 1DS electric field data.
int E_TC_init(E_TC_data *data, real exyz[3])
Initialize electric field data and check inputs.
Header file for E_field.c.
Main header file for ASCOT5.
int hdf5_efield_init(hid_t f, E_field_data *data, char *qid)
Read electric field data from HDF5 file.
int hdf5_efield_read_TC(hid_t f, E_TC_data *data, char *qid)
Read magnetic field data of type E_TC.
int hdf5_efield_read_1DS(hid_t f, E_1DS_data *data, char *qid)
Read E1DS electric field data from HDF5 file.
Header file for hdf5_efielc.c.
herr_t hdf5_find_group(hid_t loc, const char *path)
Checks if given group exists within given hdf5 file. Negative value is returned if the group doesn't ...
int hdf5_read_double(const char *var, real *ptr, hid_t file, char *qid, const char *errfile, int errline)
Read double-valued data from ASCOT5 HDF5 file.
char * hdf5_gen_path(const char *original, char *qid, char *path)
Generate a valid path from a given template and qid.
int hdf5_read_int(const char *var, int *ptr, hid_t file, char *qid, const char *errfile, int errline)
Read int-valued data from ASCOT5 HDF5 file.
Header file for hdf5_helpers.h.
Macros for printing console output.
1D spline electric field parameters on the target
Trivial Cartesian electric field simulation data.
Electric field simulation data.