Home
last modified time | relevance | path

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

/petsc/src/binding/petsc4py/demo/legacy/dmplex/
H A Danisotropic_adaptation.py28 targetComplexity = 10000.0 # Analogous to number of vertices in adapted mesh variable
89 dmHess.metricSetTargetComplexity(targetComplexity)
/petsc/src/dm/impls/plex/
H A Dplexmetric.c540 PetscErrorCode DMPlexMetricSetTargetComplexity(DM dm, PetscReal targetComplexity) in DMPlexMetricSetTargetComplexity() argument
546 …PetscCheck(targetComplexity > 0.0, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Metric complexity m… in DMPlexMetricSetTargetComplexity()
547 plex->metricCtx->targetComplexity = targetComplexity; in DMPlexMetricSetTargetComplexity()
564 PetscErrorCode DMPlexMetricGetTargetComplexity(DM dm, PetscReal *targetComplexity) in DMPlexMetricGetTargetComplexity() argument
570 *targetComplexity = plex->metricCtx->targetComplexity; in DMPlexMetricGetTargetComplexity()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDMPlex.pyx2820 def metricSetTargetComplexity(self, targetComplexity: float) -> None:
2827 targetComplexity
2836 cdef PetscReal rval = asReal(targetComplexity)
2850 cdef PetscReal targetComplexity = 0
2851 CHKERR(DMPlexMetricGetTargetComplexity(self.dm, &targetComplexity))
2852 return toReal(targetComplexity)
/petsc/include/petsc/private/
H A Ddmpleximpl.h104 PetscReal targetComplexity; /* Target metric complexity */ member