Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/hamiltonian/
H A Dex4.c178 DM dmP; // The DM for momentum density fields member
272 options->dmP = NULL; in ProcessOptions()
496 PetscCall(DMGetNamedGlobalVector(ctx->dmP, "p", &p)); in SetupContext()
498 PetscCall(DMRestoreNamedGlobalVector(ctx->dmP, "p", &p)); in SetupContext()
534 PetscCall(DMGetNamedGlobalVector(ctx->dmP, "pres", &pres)); in SetupContext()
536 PetscCall(DMRestoreNamedGlobalVector(ctx->dmP, "pres", &pres)); in SetupContext()
949 PetscCall(DMGetGlobalVector(ctx->dmP, &prhs)); in ComputeMomentFields()
950 PetscCall(DMGetGlobalVector(ctx->dmP, &pflux)); in ComputeMomentFields()
952 PetscCall(DMGetNamedGlobalVector(ctx->dmP, "p", &p)); in ComputeMomentFields()
1002 PetscCall(DMRestoreGlobalVector(ctx->dmP, &prhs)); in ComputeMomentFields()
[all …]