Setting inv_dsx etc explicitly is no longer required as they are set to default values in acc/stdlib/stdderiv.h

This commit is contained in:
jpekkila
2020-01-28 18:22:27 +02:00
parent 0ccd4e3dbc
commit 67f2fcc88d
2 changed files with 0 additions and 12 deletions

View File

@@ -28,11 +28,6 @@ main(void)
{
AcMeshInfo info;
acLoadConfig(AC_DEFAULT_CONFIG, &info);
// Some real params must be calculated (for the MHD case) // TODO DANGEROUS
info.real_params[AC_inv_dsx] = (AcReal)(1.0) / info.real_params[AC_dsx];
info.real_params[AC_inv_dsy] = (AcReal)(1.0) / info.real_params[AC_dsy];
info.real_params[AC_inv_dsz] = (AcReal)(1.0) / info.real_params[AC_dsz];
info.real_params[AC_cs2_sound] = info.real_params[AC_cs_sound] * info.real_params[AC_cs_sound];
// Alloc
AcMesh model, candidate;