Can set the density for intitial condition from astaroth.conf.

This commit is contained in:
JackHsu
2019-08-02 17:31:49 +08:00
parent 3c87fe0b48
commit 239e8b4d3e

View File

@@ -564,6 +564,7 @@ acmesh_init_to(const InitType& init_type, AcMesh* mesh)
}
case INIT_TYPE_GAUSSIAN_RADIAL_EXPL:
acmesh_clear(mesh);
vertex_buffer_set(VTXBUF_LNRHO, mesh->info.real_params[AC_ampl_lnrho], mesh);
// acmesh_init_to(INIT_TYPE_RANDOM, mesh);
gaussian_radial_explosion(mesh);