Searched refs:adjDim (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/dm/impls/forest/ |
| H A D | forest.c | 567 PetscErrorCode DMForestSetAdjacencyDimension(DM dm, PetscInt adjDim) in DMForestSetAdjacencyDimension() argument 575 …PetscCheck(adjDim >= 0, PetscObjectComm((PetscObject)dm), PETSC_ERR_ARG_OUTOFRANGE, "adjacency dim… in DMForestSetAdjacencyDimension() 577 …k(adjDim <= dim, PetscObjectComm((PetscObject)dm), PETSC_ERR_ARG_OUTOFRANGE, "adjacency dim cannot… in DMForestSetAdjacencyDimension() 578 forest->adjDim = adjDim; in DMForestSetAdjacencyDimension() 623 PetscErrorCode DMForestGetAdjacencyDimension(DM dm, PetscInt *adjDim) in DMForestGetAdjacencyDimension() argument 629 PetscAssertPointer(adjDim, 2); in DMForestGetAdjacencyDimension() 630 *adjDim = forest->adjDim; in DMForestGetAdjacencyDimension() 659 *adjCodim = dim - forest->adjDim; in DMForestGetAdjacencyCodimension() 1470 …PetscInt adjDim, adjCodim, overlap, minRefinement, initRefinement, maxRefinement… in DMSetFromOptions_Forest() local 1523 PetscCall(DMForestGetAdjacencyDimension(dm, &adjDim)); in DMSetFromOptions_Forest() [all …]
|
| /petsc/include/petsc/private/ |
| H A D | dmforestimpl.h | 26 PetscInt adjDim; member
|
| /petsc/src/dm/impls/forest/p4est/ |
| H A D | pforest.h | 4111 PetscInt adjDim, adjCodim, coordDim; in DMConvert_pforest_plex() local 4149 PetscCall(DMForestGetAdjacencyDimension(dm, &adjDim)); in DMConvert_pforest_plex() 4152 if (adjDim == 0) { in DMConvert_pforest_plex() 4157 } else if (adjDim == 1) { in DMConvert_pforest_plex() 4161 …tComm((PetscObject)dm), PETSC_ERR_ARG_WRONG, "Invalid adjacency dimension %" PetscInt_FMT, adjDim); in DMConvert_pforest_plex() 4163 … dimension %" PetscInt_FMT " / codimension %" PetscInt_FMT " not supported yet", adjDim, adjCodim); in DMConvert_pforest_plex()
|