Generalized USER initial conditions routines that can be used for many different (but not all) initial conditions. More...
#include "decs.h"
Go to the source code of this file.
Macros | |
#define | FIELDBETANORMMETHOD 1 |
#define | NORMALIZEFIELDMETHOD 0 |
#define | TAUADJUSTATM (10.0) |
Variables | |
FTYPE | normglobal |
int | inittypeglobal |
Generalized USER initial conditions routines that can be used for many different (but not all) initial conditions.
Definition in file init.tools.c.
#define FIELDBETANORMMETHOD 1 |
Definition at line 1007 of file init.tools.c.
#define NORMALIZEFIELDMETHOD 0 |
Definition at line 1056 of file init.tools.c.
#define TAUADJUSTATM (10.0) |
Definition at line 1277 of file init.tools.c.
int setRin_withchecks | ( | FTYPE * | rin | ) |
int user1_get_maxes | ( | int | eqslice, |
FTYPE * | parms, | ||
FTYPE(*) | prim[NSTORE2][NSTORE3][NPR], | ||
FTYPE * | bsq_max, | ||
FTYPE * | ptot_max, | ||
FTYPE * | beta_min | ||
) |
Definition at line 898 of file init.tools.c.
int user1_get_sigmabsq_atpole | ( | FTYPE(*) | prim[NSTORE2][NSTORE3][NPR], |
FTYPE * | sigma_pole, | ||
FTYPE * | bsq_pole | ||
) |
Definition at line 1190 of file init.tools.c.
Definition at line 796 of file init.tools.c.
int user1_getmax_densities_full | ( | FTYPE(*) | prim[NSTORE2][NSTORE3][NPR], |
SFTYPE * | rhomax, | ||
SFTYPE * | umax, | ||
SFTYPE * | uradmax, | ||
SFTYPE * | utotmax, | ||
SFTYPE * | pmax, | ||
SFTYPE * | pradmax, | ||
SFTYPE * | ptotmax | ||
) |
not really meaningful since different frames
Definition at line 836 of file init.tools.c.
int user1_init_global | ( | void | ) |
int user1_init_primitives | ( | int | inittype, |
FTYPE(*) | prim[NSTORE2][NSTORE3][NPR], | ||
FTYPE(*) | pstag[NSTORE2][NSTORE3][NPR], | ||
FTYPE(*) | ucons[NSTORE2][NSTORE3][NPR], | ||
FTYPE(*) | vpot[NSTORE1+SHIFTSTORE1][NSTORE2+SHIFTSTORE2][NSTORE3+SHIFTSTORE3], | ||
FTYPE(*) | Bhat[NSTORE2][NSTORE3][NPR], | ||
FTYPE(*) | panalytic[NSTORE2][NSTORE3][NPR], | ||
FTYPE(*) | pstaganalytic[NSTORE2][NSTORE3][NPR], | ||
FTYPE(*) | vpotanalytic[NSTORE1+SHIFTSTORE1][NSTORE2+SHIFTSTORE2][NSTORE3+SHIFTSTORE3], | ||
FTYPE(*) | Bhatanalytic[NSTORE2][NSTORE3][NPR], | ||
FTYPE(*) | F1[NSTORE2][NSTORE3][NPR+NSPECIAL], | ||
FTYPE(*) | F2[NSTORE2][NSTORE3][NPR+NSPECIAL], | ||
FTYPE(*) | F3[NSTORE2][NSTORE3][NPR+NSPECIAL], | ||
FTYPE(*) | Atemp[NSTORE1+SHIFTSTORE1][NSTORE2+SHIFTSTORE2][NSTORE3+SHIFTSTORE3] | ||
) |
Definition at line 332 of file init.tools.c.
int user1_init_vpot2field_user | ( | SFTYPE | time, |
int * | fieldfrompotential, | ||
FTYPE(*) | A[NSTORE1+SHIFTSTORE1][NSTORE2+SHIFTSTORE2][NSTORE3+SHIFTSTORE3], | ||
FTYPE(*) | prim[NSTORE2][NSTORE3][NPR], | ||
FTYPE(*) | pstag[NSTORE2][NSTORE3][NPR], | ||
FTYPE(*) | ucons[NSTORE2][NSTORE3][NPR], | ||
FTYPE(*) | Bhat[NSTORE2][NSTORE3][NPR] | ||
) |
Definition at line 661 of file init.tools.c.
int user1_normalize_field | ( | FTYPE | beta, |
FTYPE(*) | prim[NSTORE2][NSTORE3][NPR], | ||
FTYPE(*) | pstag[NSTORE2][NSTORE3][NPR], | ||
FTYPE(*) | ucons[NSTORE2][NSTORE3][NPR], | ||
FTYPE(*) | vpot[NSTORE1+SHIFTSTORE1][NSTORE2+SHIFTSTORE2][NSTORE3+SHIFTSTORE3], | ||
FTYPE(*) | Bhat[NSTORE2][NSTORE3][NPR] | ||
) |
Definition at line 1010 of file init.tools.c.
int user1_post_init_specific_init | ( | void | ) |
int user1_prepre_init_specific_init | ( | void | ) |