Searched refs:newForest (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/ts/utils/dmplexlandau/ |
| H A D | plexland.c | 907 …daptToleranceFEM(PetscFE fem, Vec sol, PetscInt type, PetscInt grid, LandauCtx *ctx, DM *newForest) in adaptToleranceFEM() argument 1002 *newForest = adaptedDM; in adaptToleranceFEM() 1009 } else *newForest = NULL; in adaptToleranceFEM() 1022 DM newForest = NULL; in adapt() local 1023 PetscCall(adaptToleranceFEM(ctx->fe[0], *uu, type, grid, ctx, &newForest)); in adapt() 1024 if (newForest) { in adapt() 1027 PetscCall(DMCreateGlobalVector(newForest, uu)); in adapt() 1028 PetscCall(LandauSetInitialCondition(newForest, *uu, grid, 0, 1, ctx)); in adapt() 1029 ctx->plex[grid] = newForest; in adapt()
|