Home
last modified time | relevance | path

Searched refs:num_species_grid (Results 1 – 1 of 1) sorted by relevance

/petsc/src/ts/utils/dmplexlandau/
H A Dplexland.c1076 PetscInt ii, nt, nm, nc, num_species_grid[LANDAU_MAX_GRIDS], non_dim_grid; in ProcessOptions() local
1104 num_species_grid[grid] = 0; in ProcessOptions()
1114 num_species_grid[0] = 1; // one species default in ProcessOptions()
1205 …each grid: [ 1, ....] or [S, 0 ....] for single grid", "plexland.c", num_species_grid, &nt, &flg)); in ProcessOptions()
1208 for (ii = nt = 0; ii < ctx->num_grids; ii++) nt += num_species_grid[ii]; in ProcessOptions()
1213 num_species_grid[0] = 1; in ProcessOptions()
1214 num_species_grid[1] = ctx->num_species - 1; in ProcessOptions()
1218 for (ii = 0; ii < ctx->num_grids; ii++) num_species_grid[ii] = 1; in ProcessOptions()
1221 …ctx->num_grids; ii++) ctx->species_offset[ii + 1] = ctx->species_offset[ii] + num_species_grid[ii]; in ProcessOptions()