49 #include "mignoneeos.c"
50 #include "grbpwf99eos.c"
51 #include "kazfulleos.c"
187 void compute_allextras(
int whicheos,
int justnum,
FTYPE *EOSextra,
FTYPE rho0,
FTYPE u,
int *numextrasreturn,
FTYPE *extras)
189 (*(ptr_compute_allextras[whicheos]))(justnum,EOSextra,rho0,u,numextrasreturn,extras);
194 int get_extrasprocessed(
int whicheos,
int doall,
FTYPE *EOSextra,
FTYPE *pr,
FTYPE *extras,
FTYPE *processed)
196 return((*(ptr_get_extrasprocessed[whicheos]))(doall,EOSextra,pr,extras,processed));
231 void fix_primitive_eos_scalars(
int whicheos,
FTYPE *EOSextra,
FTYPE *pr)
237 void getall_forinversion(
int whicheos,
int eomtype,
int whichd,
FTYPE *EOSextra,
FTYPE quant1,
FTYPE quant2,
FTYPE *fun,
FTYPE *dfunofrho,
FTYPE *dfunofu)
239 return( (*(
ptr_getall_forinversion[whicheos]))(eomtype, whichd, EOSextra,quant1,quant2,fun,dfunofrho,dfunofu) );
265 int pickeos_eomtype(
int whicheosinput,
int whicheom,
int *whicheosoutput)
280 *whicheosoutput=whicheosinput;
303 int initeos_eomtype(
void)
331 ptr_compute_allextras[whicheos] = &compute_allextras_idealgas;
332 ptr_get_extrasprocessed[whicheos] = &get_extrasprocessed_idealgas;
367 ptr_compute_allextras[whicheos] = &compute_allextras_mignone;
368 ptr_get_extrasprocessed[whicheos] = &get_extrasprocessed_mignone;
402 ptr_compute_allextras[whicheos] = &compute_allextras_grbpwf99;
403 ptr_get_extrasprocessed[whicheos] = &get_extrasprocessed_grbpwf99;
439 ptr_compute_allextras[whicheos] = &compute_allextras_kazfull;
440 ptr_get_extrasprocessed[whicheos] = &get_extrasprocessed_kazfull;
476 ptr_compute_allextras[whicheos] = &compute_allextras_coldgrmhd;
477 ptr_get_extrasprocessed[whicheos] = &get_extrasprocessed_coldgrmhd;