Searched refs:hausd (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexmetric.c | 13 …in = 1.0e-30, h_max = 1.0e+30, a_max = 1.0e+05, p = 1.0, target = 1000.0, beta = 1.3, hausd = 0.01; in DMPlexMetricSetFromOptions() local 49 …m_plex_metric_hausdorff_number", "Metric Hausdorff number", "DMAdaptMetric", hausd, &hausd, NULL)); in DMPlexMetricSetFromOptions() 50 PetscCall(DMPlexMetricSetHausdorffNumber(dm, hausd)); in DMPlexMetricSetFromOptions() 699 PetscErrorCode DMPlexMetricSetHausdorffNumber(DM dm, PetscReal hausd) in DMPlexMetricSetHausdorffNumber() argument 705 …PetscCheck(hausd > 0.0, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Metric Hausdorff number must b… in DMPlexMetricSetHausdorffNumber() 706 plex->metricCtx->hausdorffNumber = hausd; in DMPlexMetricSetHausdorffNumber() 733 PetscErrorCode DMPlexMetricGetHausdorffNumber(DM dm, PetscReal *hausd) in DMPlexMetricGetHausdorffNumber() argument 739 *hausd = plex->metricCtx->hausdorffNumber; in DMPlexMetricGetHausdorffNumber()
|
| /petsc/src/binding/petsc4py/test/ |
| H A D | test_dmplex.py | 173 hausd = 0.01 189 self.plex.metricSetHausdorffNumber(hausd) 206 self.assertTrue(np.isclose(self.plex.metricGetHausdorffNumber(), hausd))
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | DMPlex.pyx | 2922 def metricSetHausdorffNumber(self, hausd: float) -> None: 2929 hausd 2938 cdef PetscReal rval = asReal(hausd) 2952 cdef PetscReal hausd = 0 2953 CHKERR(DMPlexMetricGetHausdorffNumber(self.dm, &hausd)) 2954 return toReal(hausd)
|