Searched refs:detM (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexmetric.c | 1343 PetscScalar *Mp, *detM; in DMPlexMetricNormalize() local 1346 PetscCall(DMPlexPointLocalRef(dmDet, v, det, &detM)); in DMPlexMetricNormalize() 1347 fact = factGlob * PetscPowReal(PetscAbsScalar(detM[0]), -1.0 / (2 * p + dim)); in DMPlexMetricNormalize() 1349 if (restrictSizes) PetscCall(DMPlexMetricModify_Private(nrow, h_min, h_max, a_max, Mp, detM)); in DMPlexMetricNormalize()
|
| H A D | plexgeometry.c | 1617 PetscReal M[4], detM; in Volume_Triangle_Internal() local 1622 DMPlex_Det2D_Internal(&detM, M); in Volume_Triangle_Internal() 1623 *vol = 0.5 * detM; in Volume_Triangle_Internal() 1646 PetscReal M[9], detM; in Volume_Tetrahedron_Internal() local 1656 DMPlex_Det3D_Internal(&detM, M); in Volume_Tetrahedron_Internal() 1657 *vol = -onesixth * detM; in Volume_Tetrahedron_Internal()
|