Searched refs:non_dim_grid (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/ts/utils/dmplexlandau/ |
| H A D | plexland.c | 1076 PetscInt ii, nt, nm, nc, num_species_grid[LANDAU_MAX_GRIDS], non_dim_grid; in ProcessOptions() local 1237 non_dim_grid = 0; in ProcessOptions() 1238 …e for setting v_0, m_0, t_0. (Not recommended)", "plexland.c", non_dim_grid, &non_dim_grid, &flg)); in ProcessOptions() 1239 …if (non_dim_grid != 0) PetscCall(PetscInfo(dummy, "Normalization grid set to %" PetscInt_FMT ", bu… in ProcessOptions() 1240 …heck(non_dim_grid >= 0 && non_dim_grid < ctx->num_species, ctx->comm, PETSC_ERR_ARG_WRONG, "Normal… in ProcessOptions() 1241 …ctx->v_0 = ctx->thermal_speed[non_dim_grid]; /* arbitrary units for non dimensionalization: global… in ProcessOptions() 1242 ctx->m_0 = ctx->masses[non_dim_grid]; /* arbitrary reference mass, electrons */ in ProcessOptions() 1243 …tx->epsilon0 * ctx->m_0 / PetscSqr(ctx->charges[non_dim_grid])) / ctx->lambdas[non_dim_grid][non_d… in ProcessOptions() 1351 …mps[1], (double)((ctx->num_species > 2) ? ctx->thermal_temps[2] : 0), non_dim_grid, (double)ctx->v… in ProcessOptions()
|