Searched refs:dmN (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/ts/tutorials/hamiltonian/ |
| H A D | ex4.c | 175 DM dmN; // The DM for number density fields member 270 options->dmN = NULL; in ProcessOptions() 487 PetscCall(DMGetNamedGlobalVector(ctx->dmN, "n", &n)); in SetupContext() 489 PetscCall(DMRestoreNamedGlobalVector(ctx->dmN, "n", &n)); in SetupContext() 525 PetscCall(DMGetNamedGlobalVector(ctx->dmN, "nres", &nres)); in SetupContext() 527 PetscCall(DMRestoreNamedGlobalVector(ctx->dmN, "nres", &nres)); in SetupContext() 933 PetscCall(DMCreateMassMatrix(sw, ctx->dmN, &M_p)); in ComputeMomentFields() 934 PetscCall(DMCreateGradientMatrix(sw, ctx->dmN, &D_p)); in ComputeMomentFields() 945 PetscCall(DMGetGlobalVector(ctx->dmN, &nrhs)); in ComputeMomentFields() 946 PetscCall(DMGetGlobalVector(ctx->dmN, &nflux)); in ComputeMomentFields() [all …]
|