shorter time steps to turn on accretion (due to no forcing), and comment for unit_length.
This commit is contained in:
@@ -65,6 +65,7 @@ AC_accretion_range = 0.2
|
|||||||
AC_unit_velocity = 1e5
|
AC_unit_velocity = 1e5
|
||||||
// using density estimate of 100 H2 molecules per cm^3
|
// using density estimate of 100 H2 molecules per cm^3
|
||||||
AC_unit_density = 3e-22
|
AC_unit_density = 3e-22
|
||||||
|
// using 10,000 AU
|
||||||
AC_unit_length = 1.5e17
|
AC_unit_length = 1.5e17
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -270,7 +270,7 @@ run_simulation(void)
|
|||||||
vertex_buffer_set(VTXBUF_ACCRETION, 0.0, mesh);
|
vertex_buffer_set(VTXBUF_ACCRETION, 0.0, mesh);
|
||||||
|
|
||||||
int on_off_switch;
|
int on_off_switch;
|
||||||
if (i < 1000) {
|
if (i < 50) {
|
||||||
on_off_switch = 0; //accretion is off till 1000 steps.
|
on_off_switch = 0; //accretion is off till 1000 steps.
|
||||||
} else {
|
} else {
|
||||||
on_off_switch = 1;
|
on_off_switch = 1;
|
||||||
|
Reference in New Issue
Block a user