Lines Matching refs:nt
1076 PetscInt ii, nt, nm, nc, num_species_grid[LANDAU_MAX_GRIDS], non_dim_grid; in ProcessOptions() local
1185 nt = LANDAU_MAX_SPECIES; in ProcessOptions()
1186 …...] in keV (must be set to set number of species)", "plexland.c", ctx->thermal_temps, &nt, &flg)); in ProcessOptions()
1188 …PetscInfo(dummy, "num_species set to number of thermal temps provided (%" PetscInt_FMT ")\n", nt)); in ProcessOptions()
1189 ctx->num_species = nt; in ProcessOptions()
1204 nt = LANDAU_MAX_GRIDS; in ProcessOptions()
1205 …each grid: [ 1, ....] or [S, 0 ....] for single grid", "plexland.c", num_species_grid, &nt, &flg)); in ProcessOptions()
1207 ctx->num_grids = nt; in ProcessOptions()
1208 for (ii = nt = 0; ii < ctx->num_grids; ii++) nt += num_species_grid[ii]; in ProcessOptions()
1209 …nt, ctx->comm, PETSC_ERR_ARG_WRONG, "-dm_landau_num_species_grid: sum %" PetscInt_FMT " != num_spe… in ProcessOptions()
1245 nt = LANDAU_MAX_GRIDS; in ProcessOptions()
1246 …", "Phase space size in units of thermal velocity of grid", "plexland.c", ctx->radius, &nt, &flg)); in ProcessOptions()
1248 …ck(nt >= ctx->num_grids, ctx->comm, PETSC_ERR_ARG_WRONG, "-dm_landau_domain_radius: given %" Petsc… in ProcessOptions()
1249 while (nt--) ctx->radius_par[nt] = ctx->radius_perp[nt] = ctx->radius[nt]; in ProcessOptions()
1251 nt = LANDAU_MAX_GRIDS; in ProcessOptions()
1252 …city domain size in units of thermal velocity of grid", "plexland.c", ctx->radius_par, &nt, &flg)); in ProcessOptions()
1253 …k(nt >= ctx->num_grids, ctx->comm, PETSC_ERR_ARG_WRONG, "-dm_landau_domain_max_par: given %" Petsc… in ProcessOptions()
1254 …ity domain size in units of thermal velocity of grid", "plexland.c", ctx->radius_perp, &nt, &flg)); in ProcessOptions()
1255 …k(nt >= ctx->num_grids, ctx->comm, PETSC_ERR_ARG_WRONG, "-dm_landau_domain_max_perp: given %" Pets… in ProcessOptions()
1270 nt = LANDAU_MAX_GRIDS; in ProcessOptions()
1271 …ement around origin, after (RE) refinements along z", "plexland.c", ctx->numAMRRefine, &nt, &flg)); in ProcessOptions()
1272 …lg || nt >= ctx->num_grids, ctx->comm, PETSC_ERR_ARG_WRONG, "-dm_landau_amr_levels_max: given %" P… in ProcessOptions()
1273 nt = LANDAU_MAX_GRIDS; in ProcessOptions()
1274 …", "Number of levels to uniformly refine after AMR", "plexland.c", ctx->postAMRRefine, &nt, &flg)); in ProcessOptions()
1287 nt = LANDAU_MAX_GRIDS; in ProcessOptions()
1288 … for inner circle on 90 degree grid", "plexland.c", ctx->sphere_inner_radius_90degree, &nt, &flg)); in ProcessOptions()
1289 if (flg && nt < ctx->num_grids) { in ProcessOptions()
1290 …for (PetscInt grid = nt; grid < ctx->num_grids; grid++) ctx->sphere_inner_radius_90degree[grid] = … in ProcessOptions()
1291 } else if (!flg || nt == 0) { in ProcessOptions()
1302 nt = LANDAU_MAX_GRIDS; in ProcessOptions()
1303 … for inner circle on 45 degree grid", "plexland.c", ctx->sphere_inner_radius_45degree, &nt, &flg)); in ProcessOptions()
1304 if (flg && nt < ctx->num_grids) { in ProcessOptions()
1305 …for (PetscInt grid = nt; grid < ctx->num_grids; grid++) ctx->sphere_inner_radius_45degree[grid] = … in ProcessOptions()
1306 } else if (!flg || nt == 0) { in ProcessOptions()
1332 nt = LANDAU_DIM; in ProcessOptions()
1333 …m_cells", "Number of cells in each dimension of base grid", "plexland.c", ctx->cells0, &nt, &flg)); in ProcessOptions()