#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include "variables_global.h"
#include "prototypes.h"
Go to the source code of this file.
Functions | |
int | init_ppm (double **rho_1D, double **pre_1D, double **eng_1D, double **vx_1D, double **vy_1D, double **vz_1D, double **marker_1D, double **dx0, double **xa0, double **xa, double **dx, double **a_coef, double **ai_coef, double **b_coef, double **bi_coef, double **c_coef, double **ci_coef, double **d_x, double **da, double **ar, double **dp, double **dr, double **du, double **pl, double **p6, double **rl, double **r6, double **ul, double **u6, double **vl, double **v6, double **wl, double **w6, double **el, double **e6, double **ql, double **q6, double **deltaa, double **dv, double **dw, double **dq, double **de, double **scratch1, double **scratch2, double **scratch3, double **diffa, double **plft, double **prgh, double **ulft, double **urgh, double **rlft, double **rrgh, double **Cdtdx, double **fCdtdx, double **clft, double **crgh, double **plfti, double **prghi, double **pmid, double **pmold, double **wlft, double **wrgh, double **zlft, double **zrgh, double **umidl, double **umidr, double **umid, double **dm, double **dtbdm, double **upmid, double **xa1, double **xa2, double **xa3, double **vx_1D_old, double **e_int_1D, double **dvol, double **dvol0, double **dvol1, double **delta, double **fluxr, double **fluxu, double **fluxv, double **fluxw, double **fluxe, double **fluxq, double **dm0, double **steep, double **flat, double ***para, double **pressure_solid_1D, double **rhodown, double **rhoup, double **rhofront, double **rhoback, double **vxdown, double **vxup, double **vxfront, double **vxback, double **vydown, double **vyup, double **vyfront, double **vyback, double **vzdown, double **vzup, double **vzfront, double **vzback, int dimension) |
int | ppm_free (double **rho_1D, double **pre_1D, double **eng_1D, double **vx_1D, double **vy_1D, double **vz_1D, double **marker_1D, double **pressure_solid_1D, double **dx0, double **xa0, double **xa, double **dx, double **a_coef, double **ai_coef, double **b_coef, double **bi_coef, double **c_coef, double **ci_coef, double **d_x, double **da, double **ar, double **dp, double **dr, double **du, double **pl, double **p6, double **rl, double **r6, double **ul, double **u6, double **vl, double **v6, double **wl, double **w6, double **el, double **e6, double **ql, double **q6, double **deltaa, double **dv, double **dw, double **dq, double **de, double **scratch1, double **scratch2, double **scratch3, double **diffa, double **plft, double **prgh, double **ulft, double **urgh, double **rlft, double **rrgh, double **Cdtdx, double **fCdtdx, double **clft, double **crgh, double **plfti, double **prghi, double **pmid, double **pmold, double **wlft, double **wrgh, double **zlft, double **zrgh, double **umidl, double **umidr, double **umid, double **dm, double **dtbdm, double **upmid, double **xa1, double **xa2, double **xa3, double **vx_1D_old, double **e_int_1D, double **dvol, double **dvol0, double **dvol1, double **delta, double **fluxr, double **fluxu, double **fluxv, double **fluxw, double **fluxe, double **fluxq, double **dm0, double **steep, double **flat, double ***para, double **rhodown, double **rhoup, double **rhofront, double **rhoback, double **vxdown, double **vxup, double **vxfront, double **vxback, double **vydown, double **vyup, double **vyfront, double **vyback, double **vzdown, double **vzup, double **vzfront, double **vzback, int dimension) |
int | init_diffusion (double **temperature_1D, double **temperature_1D_future, double **mass, int **dom_1D) |
int | free_diffusion (double **temperature_1D, double **temperature_1D_future, double **mass, int **dom_1D) |
int | init_viscosity (double **viscosity_array, double **vx_flux, double **vy_flux, double **vz_flux, int **dom_1D) |
int | free_viscosity (double **viscosity_array, double **vx_flux, double **vy_flux, double **vz_flux, int **dom_1D) |
int free_diffusion | ( | double ** | temperature_1D, |
double ** | temperature_1D_future, | ||
double ** | mass, | ||
int ** | dom_1D | ||
) |
Definition at line 336 of file init.c.
Referenced by diffusion().
int free_viscosity | ( | double ** | viscosity_array, |
double ** | vx_flux, | ||
double ** | vy_flux, | ||
double ** | vz_flux, | ||
int ** | dom_1D | ||
) |
Definition at line 358 of file init.c.
int init_diffusion | ( | double ** | temperature_1D, |
double ** | temperature_1D_future, | ||
double ** | mass, | ||
int ** | dom_1D | ||
) |
Definition at line 326 of file init.c.
References max_array_length.
Referenced by diffusion().
int init_ppm | ( | double ** | rho_1D, |
double ** | pre_1D, | ||
double ** | eng_1D, | ||
double ** | vx_1D, | ||
double ** | vy_1D, | ||
double ** | vz_1D, | ||
double ** | marker_1D, | ||
double ** | dx0, | ||
double ** | xa0, | ||
double ** | xa, | ||
double ** | dx, | ||
double ** | a_coef, | ||
double ** | ai_coef, | ||
double ** | b_coef, | ||
double ** | bi_coef, | ||
double ** | c_coef, | ||
double ** | ci_coef, | ||
double ** | d_x, | ||
double ** | da, | ||
double ** | ar, | ||
double ** | dp, | ||
double ** | dr, | ||
double ** | du, | ||
double ** | pl, | ||
double ** | p6, | ||
double ** | rl, | ||
double ** | r6, | ||
double ** | ul, | ||
double ** | u6, | ||
double ** | vl, | ||
double ** | v6, | ||
double ** | wl, | ||
double ** | w6, | ||
double ** | el, | ||
double ** | e6, | ||
double ** | ql, | ||
double ** | q6, | ||
double ** | deltaa, | ||
double ** | dv, | ||
double ** | dw, | ||
double ** | dq, | ||
double ** | de, | ||
double ** | scratch1, | ||
double ** | scratch2, | ||
double ** | scratch3, | ||
double ** | diffa, | ||
double ** | plft, | ||
double ** | prgh, | ||
double ** | ulft, | ||
double ** | urgh, | ||
double ** | rlft, | ||
double ** | rrgh, | ||
double ** | Cdtdx, | ||
double ** | fCdtdx, | ||
double ** | clft, | ||
double ** | crgh, | ||
double ** | plfti, | ||
double ** | prghi, | ||
double ** | pmid, | ||
double ** | pmold, | ||
double ** | wlft, | ||
double ** | wrgh, | ||
double ** | zlft, | ||
double ** | zrgh, | ||
double ** | umidl, | ||
double ** | umidr, | ||
double ** | umid, | ||
double ** | dm, | ||
double ** | dtbdm, | ||
double ** | upmid, | ||
double ** | xa1, | ||
double ** | xa2, | ||
double ** | xa3, | ||
double ** | vx_1D_old, | ||
double ** | e_int_1D, | ||
double ** | dvol, | ||
double ** | dvol0, | ||
double ** | dvol1, | ||
double ** | delta, | ||
double ** | fluxr, | ||
double ** | fluxu, | ||
double ** | fluxv, | ||
double ** | fluxw, | ||
double ** | fluxe, | ||
double ** | fluxq, | ||
double ** | dm0, | ||
double ** | steep, | ||
double ** | flat, | ||
double *** | para, | ||
double ** | pressure_solid_1D, | ||
double ** | rhodown, | ||
double ** | rhoup, | ||
double ** | rhofront, | ||
double ** | rhoback, | ||
double ** | vxdown, | ||
double ** | vxup, | ||
double ** | vxfront, | ||
double ** | vxback, | ||
double ** | vydown, | ||
double ** | vyup, | ||
double ** | vyfront, | ||
double ** | vyback, | ||
double ** | vzdown, | ||
double ** | vzup, | ||
double ** | vzfront, | ||
double ** | vzback, | ||
int | dimension | ||
) |
all quantities used in the hydro computation are initiated with zeros
Definition at line 18 of file init.c.
References max_array_length.
Referenced by sweep_x(), sweep_y(), and sweep_z().
int init_viscosity | ( | double ** | viscosity_array, |
double ** | vx_flux, | ||
double ** | vy_flux, | ||
double ** | vz_flux, | ||
int ** | dom_1D | ||
) |
Definition at line 346 of file init.c.
References max_array_length.
int ppm_free | ( | double ** | rho_1D, |
double ** | pre_1D, | ||
double ** | eng_1D, | ||
double ** | vx_1D, | ||
double ** | vy_1D, | ||
double ** | vz_1D, | ||
double ** | marker_1D, | ||
double ** | pressure_solid_1D, | ||
double ** | dx0, | ||
double ** | xa0, | ||
double ** | xa, | ||
double ** | dx, | ||
double ** | a_coef, | ||
double ** | ai_coef, | ||
double ** | b_coef, | ||
double ** | bi_coef, | ||
double ** | c_coef, | ||
double ** | ci_coef, | ||
double ** | d_x, | ||
double ** | da, | ||
double ** | ar, | ||
double ** | dp, | ||
double ** | dr, | ||
double ** | du, | ||
double ** | pl, | ||
double ** | p6, | ||
double ** | rl, | ||
double ** | r6, | ||
double ** | ul, | ||
double ** | u6, | ||
double ** | vl, | ||
double ** | v6, | ||
double ** | wl, | ||
double ** | w6, | ||
double ** | el, | ||
double ** | e6, | ||
double ** | ql, | ||
double ** | q6, | ||
double ** | deltaa, | ||
double ** | dv, | ||
double ** | dw, | ||
double ** | dq, | ||
double ** | de, | ||
double ** | scratch1, | ||
double ** | scratch2, | ||
double ** | scratch3, | ||
double ** | diffa, | ||
double ** | plft, | ||
double ** | prgh, | ||
double ** | ulft, | ||
double ** | urgh, | ||
double ** | rlft, | ||
double ** | rrgh, | ||
double ** | Cdtdx, | ||
double ** | fCdtdx, | ||
double ** | clft, | ||
double ** | crgh, | ||
double ** | plfti, | ||
double ** | prghi, | ||
double ** | pmid, | ||
double ** | pmold, | ||
double ** | wlft, | ||
double ** | wrgh, | ||
double ** | zlft, | ||
double ** | zrgh, | ||
double ** | umidl, | ||
double ** | umidr, | ||
double ** | umid, | ||
double ** | dm, | ||
double ** | dtbdm, | ||
double ** | upmid, | ||
double ** | xa1, | ||
double ** | xa2, | ||
double ** | xa3, | ||
double ** | vx_1D_old, | ||
double ** | e_int_1D, | ||
double ** | dvol, | ||
double ** | dvol0, | ||
double ** | dvol1, | ||
double ** | delta, | ||
double ** | fluxr, | ||
double ** | fluxu, | ||
double ** | fluxv, | ||
double ** | fluxw, | ||
double ** | fluxe, | ||
double ** | fluxq, | ||
double ** | dm0, | ||
double ** | steep, | ||
double ** | flat, | ||
double *** | para, | ||
double ** | rhodown, | ||
double ** | rhoup, | ||
double ** | rhofront, | ||
double ** | rhoback, | ||
double ** | vxdown, | ||
double ** | vxup, | ||
double ** | vxfront, | ||
double ** | vxback, | ||
double ** | vydown, | ||
double ** | vyup, | ||
double ** | vyfront, | ||
double ** | vyback, | ||
double ** | vzdown, | ||
double ** | vzup, | ||
double ** | vzfront, | ||
double ** | vzback, | ||
int | dimension | ||
) |
all quantities within the hydro part are freed in this function
Definition at line 174 of file init.c.
References max_array_length.
Referenced by sweep_x(), sweep_y(), and sweep_z().