Lines Matching refs:dmN

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()
948 PetscCall(DMGetNamedGlobalVector(ctx->dmN, "n", &n)); in ComputeMomentFields()
1001 PetscCall(DMRestoreGlobalVector(ctx->dmN, &nrhs)); in ComputeMomentFields()
1025 PetscCall(DMGetNamedGlobalVector(ctx->dmN, "nres", &nres)); in ComputeMomentFields()
1037 PetscCall(DMRestoreNamedGlobalVector(ctx->dmN, "nres", &nres)); in ComputeMomentFields()
1061 PetscCall(DMRestoreGlobalVector(ctx->dmN, &nflux)); in ComputeMomentFields()
1064 PetscCall(DMRestoreNamedGlobalVector(ctx->dmN, "n", &n)); in ComputeMomentFields()
1081 PetscCall(DMGetNamedGlobalVector(ctx->dmN, "n", &n)); in MonitorMomentFields()
1083 PetscCall(DMRestoreNamedGlobalVector(ctx->dmN, "n", &n)); in MonitorMomentFields()
1093 PetscCall(DMGetNamedGlobalVector(ctx->dmN, "nres", &nres)); in MonitorMomentFields()
1095 PetscCall(DMRestoreNamedGlobalVector(ctx->dmN, "nres", &nres)); in MonitorMomentFields()
1689 PetscCall(DMCreateSubDM(ctx->dmMom, 1, &field, &ctx->isN, &ctx->dmN)); in CreateMomentFields()
1690 PetscCall(DMCreateMassMatrix(ctx->dmN, ctx->dmN, &ctx->MN)); in CreateMomentFields()
3058 PetscCall(DMDestroy(&ctx.dmN)); in main()