Home
last modified time | relevance | path

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

/petsc/src/dm/impls/forest/
H A Dforest.c596 PetscErrorCode DMForestSetAdjacencyCodimension(DM dm, PetscInt adjCodim) in DMForestSetAdjacencyCodimension() argument
603 PetscCall(DMForestSetAdjacencyDimension(dm, dim - adjCodim)); in DMForestSetAdjacencyCodimension()
650 PetscErrorCode DMForestGetAdjacencyCodimension(DM dm, PetscInt *adjCodim) in DMForestGetAdjacencyCodimension() argument
657 PetscAssertPointer(adjCodim, 2); in DMForestGetAdjacencyCodimension()
659 *adjCodim = dim - forest->adjDim; in DMForestGetAdjacencyCodimension()
1470 …PetscInt adjDim, adjCodim, overlap, minRefinement, initRefinement, maxRefinement… in DMSetFromOptions_Forest() local
1528 PetscCall(DMForestGetAdjacencyCodimension(dm, &adjCodim)); in DMSetFromOptions_Forest()
1529 …define adjacency in the forest", "DMForestSetAdjacencyCodimension", adjCodim, &adjCodim, &flg, 1)); in DMSetFromOptions_Forest()
1530 if (flg) PetscCall(DMForestSetAdjacencyCodimension(dm, adjCodim)); in DMSetFromOptions_Forest()
/petsc/src/dm/impls/forest/p4est/
H A Dpforest.h4111 PetscInt adjDim, adjCodim, coordDim; in DMConvert_pforest_plex() local
4150 PetscCall(DMForestGetAdjacencyCodimension(dm, &adjCodim)); in DMConvert_pforest_plex()
4154 } else if (adjCodim == 1) { in DMConvert_pforest_plex()
4163 … dimension %" PetscInt_FMT " / codimension %" PetscInt_FMT " not supported yet", adjDim, adjCodim); in DMConvert_pforest_plex()