Home
last modified time | relevance | path

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

/petsc/src/dm/impls/stag/tutorials/
H A Dex4.c16 DM dm_stokes, dm_coefficients, dm_faces; member
65 DM dm_stokes, dm_coefficients; in main() local
105 …agCreateCompatibleDMStag(dm_stokes, 2, 0, 1, 0, &ctx->levels[ctx->n_levels - 1]->dm_coefficients)); in main()
106 …agCreateCompatibleDMStag(dm_stokes, 0, 2, 0, 1, &ctx->levels[ctx->n_levels - 1]->dm_coefficients)); in main()
108 dm_coefficients = ctx->levels[ctx->n_levels - 1]->dm_coefficients; in main()
109 PetscCall(DMSetUp(dm_coefficients)); in main()
110 …PetscCall(DMStagSetUniformCoordinatesProduct(dm_coefficients, ctx->xmin, ctx->xmax, ctx->ymin, ctx… in main()
115 …PetscCall(DMCoarsen(ctx->levels[level]->dm_coefficients, MPI_COMM_NULL, &ctx->levels[level - 1]->d… in main()
423 level_ctx->dm_coefficients = NULL; in LevelCtxCreate()
435 if (level_ctx->dm_coefficients) PetscCall(DMDestroy(&level_ctx->dm_coefficients)); in LevelCtxDestroy()
[all …]