Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexadapt.c62 const PetscReal coarseRatio = refRatio == (PetscReal)PETSC_DEFAULT ? PetscSqr(0.5) : 1 / refRatio; in DMPlexLabelToMetricConstraint() local
121 metric[v * 4 + 0] += vol * coarseRatio * sol[0]; in DMPlexLabelToMetricConstraint()
122 metric[v * 4 + 1] += vol * coarseRatio * sol[1]; in DMPlexLabelToMetricConstraint()
123 metric[v * 4 + 2] += vol * coarseRatio * sol[1]; in DMPlexLabelToMetricConstraint()
124 metric[v * 4 + 3] += vol * coarseRatio * sol[2]; in DMPlexLabelToMetricConstraint()
126 metric[v * 9 + 0] += vol * coarseRatio * sol[0]; in DMPlexLabelToMetricConstraint()
127 metric[v * 9 + 1] += vol * coarseRatio * sol[1]; in DMPlexLabelToMetricConstraint()
128 metric[v * 9 + 3] += vol * coarseRatio * sol[1]; in DMPlexLabelToMetricConstraint()
129 metric[v * 9 + 2] += vol * coarseRatio * sol[2]; in DMPlexLabelToMetricConstraint()
130 metric[v * 9 + 6] += vol * coarseRatio * sol[2]; in DMPlexLabelToMetricConstraint()
[all …]