Lines Matching refs:determinant
1016 PetscErrorCode DMPlexMetricDeterminantCreate(DM dm, PetscInt f, Vec *determinant, DM *dmDet) in DMPlexMetricDeterminantCreate() argument
1027 PetscCall(VecCreate(comm, determinant)); in DMPlexMetricDeterminantCreate()
1028 PetscCall(VecSetSizes(*determinant, 1, PETSC_DECIDE)); in DMPlexMetricDeterminantCreate()
1029 PetscCall(VecSetFromOptions(*determinant)); in DMPlexMetricDeterminantCreate()
1030 } else PetscCall(DMPlexP1FieldCreate_Private(*dmDet, f, 1, determinant)); in DMPlexMetricDeterminantCreate()
1164 …ec metricIn, PetscBool restrictSizes, PetscBool restrictAnisotropy, Vec metricOut, Vec determinant) in DMPlexMetricEnforceSPD() argument
1200 PetscCall(VecGetArray(determinant, &det)); in DMPlexMetricEnforceSPD()
1202 PetscCall(VecRestoreArray(determinant, &det)); in DMPlexMetricEnforceSPD()
1209 PetscCall(VecGetDM(determinant, &dmDet)); in DMPlexMetricEnforceSPD()
1211 PetscCall(VecGetArray(determinant, &det)); in DMPlexMetricEnforceSPD()
1218 PetscCall(VecRestoreArray(determinant, &det)); in DMPlexMetricEnforceSPD()
1260 …ec metricIn, PetscBool restrictSizes, PetscBool restrictAnisotropy, Vec metricOut, Vec determinant) in DMPlexMetricNormalize() argument
1283 … PETSC_FALSE, (PetscBool)(restrictAnisotropy && restrictAnisotropyFirst), metricOut, determinant)); in DMPlexMetricNormalize()
1296 PetscCall(VecGetArray(determinant, &det)); in DMPlexMetricNormalize()
1298 PetscCall(VecRestoreArray(determinant, &det)); in DMPlexMetricNormalize()
1306 PetscCall(VecGetDM(determinant, &dmDet)); in DMPlexMetricNormalize()
1310 PetscCall(DMPlexComputeIntegralFEM(dmDet, determinant, &integral, NULL)); in DMPlexMetricNormalize()
1329 PetscCall(VecGetArray(determinant, &det)); in DMPlexMetricNormalize()
1341 PetscCall(VecGetDM(determinant, &dmDet)); in DMPlexMetricNormalize()
1352 PetscCall(VecRestoreArray(determinant, &det)); in DMPlexMetricNormalize()