Home
last modified time | relevance | path

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

/petsc/src/dm/impls/stag/tutorials/
H A Dex4.c18 PetscInt cells_x, cells_y, cells_z; /* redundant with DMs */ member
28 PetscInt cells_x, cells_y, cells_z; /* Redundant with finest DMs */ member
90 …PetscCall(DMStagCreate2d(ctx->comm, DM_BOUNDARY_NONE, DM_BOUNDARY_NONE, ctx->cells_x, ctx->cells_y… in main()
96 …3d(ctx->comm, DM_BOUNDARY_NONE, DM_BOUNDARY_NONE, DM_BOUNDARY_NONE, ctx->cells_x, ctx->cells_y, ct… in main()
101 PetscCall(DMStagGetGlobalSizes(dm_stokes, &ctx->cells_x, &ctx->cells_y, &ctx->cells_z)); in main()
456 ctx->cells_x = 32; in CtxCreateAndSetFromOptions()
458 ctx->cells_x = 16; in CtxCreateAndSetFromOptions()
460 …PetscCall(PetscOptionsGetInt(NULL, NULL, "-s", &ctx->cells_x, NULL)); /* shortcut. Usually, use -s… in CtxCreateAndSetFromOptions()
461 ctx->cells_z = ctx->cells_y = ctx->cells_x; in CtxCreateAndSetFromOptions()