Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexmetric.c11 …PetscBool noInsert = PETSC_FALSE, noSwap = PETSC_FALSE, noMove = PETSC_FALSE, noSurf = PETSC_FALSE; in DMPlexMetricSetFromOptions() local
27 …ool("-dm_plex_metric_no_swap", "Turn off facet swapping", "DMAdaptMetric", noSwap, &noSwap, NULL)); in DMPlexMetricSetFromOptions()
28 PetscCall(DMPlexMetricSetNoSwapping(dm, noSwap)); in DMPlexMetricSetFromOptions()
255 PetscErrorCode DMPlexMetricSetNoSwapping(DM dm, PetscBool noSwap) in DMPlexMetricSetNoSwapping() argument
261 plex->metricCtx->noSwap = noSwap; in DMPlexMetricSetNoSwapping()
281 PetscErrorCode DMPlexMetricNoSwapping(DM dm, PetscBool *noSwap) in DMPlexMetricNoSwapping() argument
287 *noSwap = plex->metricCtx->noSwap; in DMPlexMetricNoSwapping()
/petsc/src/dm/impls/plex/adaptors/mmg/
H A Dmmgadapt.c32 PetscBool flg = PETSC_FALSE, noInsert, noSwap, noMove, noSurf, isotropic, uniform; in DMAdaptMetric_Mmg_Plex() local
156 PetscCall(DMPlexMetricNoSwapping(dm, &noSwap)); in DMAdaptMetric_Mmg_Plex()
163 … PetscCallMMG_NONSTANDARD(MMG2D_Set_iparameter, mmg_mesh, mmg_metric, MMG2D_IPARAM_noswap, noSwap); in DMAdaptMetric_Mmg_Plex()
180 … PetscCallMMG_NONSTANDARD(MMG3D_Set_iparameter, mmg_mesh, mmg_metric, MMG3D_IPARAM_noswap, noSwap); in DMAdaptMetric_Mmg_Plex()
/petsc/src/dm/impls/plex/adaptors/parmmg/
H A Dparmmgadapt.c42 PetscBool flg = PETSC_FALSE, noInsert, noSwap, noMove, noSurf, isotropic, uniform; in DMAdaptMetric_ParMmg_Plex() local
341 PetscCall(DMPlexMetricNoSwapping(dm, &noSwap)); in DMAdaptMetric_ParMmg_Plex()
352 PetscCallMMG_NONSTANDARD(PMMG_Set_iparameter, parmesh, PMMG_IPARAM_noswap, noSwap); in DMAdaptMetric_ParMmg_Plex()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDMPlex.pyx2537 def metricSetNoSwapping(self, noSwap: bool) -> None:
2544 noSwap
2554 cdef PetscBool bval = asBool(noSwap)
2569 cdef PetscBool noSwap = PETSC_FALSE
2570 CHKERR(DMPlexMetricNoSwapping(self.dm, &noSwap))
2571 return toBool(noSwap)
/petsc/include/petsc/private/
H A Ddmpleximpl.h99 PetscBool noSwap; /* Should facet swapping be turned off? */ member