Searched refs:num_species (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/ts/utils/dmplexlandau/tutorials/ |
| H A D | ex2.c | 159 …PetscCheck(ctx->num_species == 2, PETSC_COMM_SELF, PETSC_ERR_PLIB, "ctx->num_species %" PetscInt_F… in testSpitzer() 168 for (ii = 0; ii < ctx->num_species; ii++) q[ii] = ctx->charges[ii]; in testSpitzer() 294 if (ctx->num_species > 1) { in testStable() 324 for (ii = 0; ii < ctx->num_species; ii++) qv0[ii] = ctx->charges[ii] * ctx->v_0; in EInduction() 329 PetscCall(PetscDSSetConstants(prob, ctx->num_species, qv0)); in EInduction() 549 rectx->imp_idx = ctx->num_species - 1; /* default ionized impurity as last one */ in ProcessREOptions() 587 …PetscCheck((rectx->imp_idx < ctx->num_species && rectx->imp_idx >= 1) || ctx->num_species <= 1, PE… in ProcessREOptions()
|
| H A D | ex1.c | 365 …PetscCheck(ctx->num_species == 2, PETSC_COMM_WORLD, PETSC_ERR_ARG_WRONG, "Must have two species: u… in main()
|
| /petsc/src/ts/utils/dmplexlandau/ |
| H A D | plexland.c | 139 for (PetscInt fieldA = 0; fieldA < ctx->num_species; fieldA++) { in LandauFormJacobian_Internal() 1189 ctx->num_species = nt; in ProcessOptions() 1190 …for (ii = 0; ii < ctx->num_species; ii++) ctx->thermal_temps[ii] *= 1.1604525e7; /* convert to Kel… in ProcessOptions() 1193 … == ctx->num_species - 1, ctx->comm, PETSC_ERR_ARG_WRONG, "num ion masses %" PetscInt_FMT " != num… in ProcessOptions() 1196 … nm == ctx->num_species, ctx->comm, PETSC_ERR_ARG_WRONG, "wrong num n: %" PetscInt_FMT " != num sp… in ProcessOptions() 1201 …c == ctx->num_species - 1, ctx->comm, PETSC_ERR_ARG_WRONG, "num charges %" PetscInt_FMT " != num s… in ProcessOptions() 1209 …num_species == nt, ctx->comm, PETSC_ERR_ARG_WRONG, "-dm_landau_num_species_grid: sum %" PetscInt_F… in ProcessOptions() 1212 if (ctx->num_species > LANDAU_MAX_GRIDS) { in ProcessOptions() 1214 num_species_grid[1] = ctx->num_species - 1; in ProcessOptions() 1217 ctx->num_grids = ctx->num_species; in ProcessOptions() [all …]
|
| /petsc/include/ |
| H A D | petsclandau.h | 162 PetscInt num_species; member
|