Searched refs:targetComplexity (Results 1 – 4 of 4) sorted by relevance
28 targetComplexity = 10000.0 # Analogous to number of vertices in adapted mesh variable89 dmHess.metricSetTargetComplexity(targetComplexity)
540 PetscErrorCode DMPlexMetricSetTargetComplexity(DM dm, PetscReal targetComplexity) in DMPlexMetricSetTargetComplexity() argument546 …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() argument570 *targetComplexity = plex->metricCtx->targetComplexity; in DMPlexMetricGetTargetComplexity()
2820 def metricSetTargetComplexity(self, targetComplexity: float) -> None:2827 targetComplexity2836 cdef PetscReal rval = asReal(targetComplexity)2850 cdef PetscReal targetComplexity = 02851 CHKERR(DMPlexMetricGetTargetComplexity(self.dm, &targetComplexity))2852 return toReal(targetComplexity)
104 PetscReal targetComplexity; /* Target metric complexity */ member