| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex60.c | 162 Vec metric1, metric2, metricComb, determinant; in main() local 185 PetscCall(DMPlexMetricDeterminantCreate(dm, 0, &determinant, &dmDet)); in main() 187 …tscCall(DMPlexMetricEnforceSPD(dm, metrics[0], PETSC_FALSE, PETSC_FALSE, metricComb, determinant)); in main() 189 …tscCall(DMPlexMetricEnforceSPD(dm, metrics[1], PETSC_FALSE, PETSC_FALSE, metricComb, determinant)); in main() 202 PetscCall(DMPlexMetricEnforceSPD(dm, metric, PETSC_TRUE, PETSC_TRUE, metric1, determinant)); in main() 206 PetscCall(VecDuplicate(determinant, &err)); in main() 209 PetscCall(VecAXPY(err, -1, determinant)); in main() 223 PetscCall(DMPlexMetricNormalize(dm, metric, PETSC_TRUE, PETSC_TRUE, metric1, determinant)); in main() 247 PetscCall(VecDestroy(&determinant)); in main()
|
| H A D | ex19.c | 69 Vec f, g, H, determinant; in ComputeMetricSensor() local 106 PetscCall(DMPlexMetricDeterminantCreate(dm, 0, &determinant, &dmDet)); in ComputeMetricSensor() 107 PetscCall(DMPlexMetricNormalize(dmHess, H, PETSC_TRUE, PETSC_TRUE, *metric, determinant)); in ComputeMetricSensor() 108 PetscCall(VecDestroy(&determinant)); in ComputeMetricSensor()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexmetric.c | 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() [all …]
|
| /petsc/src/ksp/ksp/tests/output/ |
| H A D | ex81_1.out | 18 (RINFOG(12) RINFOG(13))*2^INFOG(34) (determinant): (0.,0.)*(2^0) 37 INFOG(34) (exponent of the determinant if determinant is requested): 0 67 (RINFOG(12) RINFOG(13))*2^INFOG(34) (determinant): (0.,0.)*(2^0) 86 INFOG(34) (exponent of the determinant if determinant is requested): 0
|
| H A D | ex81_2.out | 30 (RINFOG(12) RINFOG(13))*2^INFOG(34) (determinant): (0.,0.)*(2^0) 49 INFOG(34) (exponent of the determinant if determinant is requested): 0 98 (RINFOG(12) RINFOG(13))*2^INFOG(34) (determinant): (0.,0.)*(2^0) 117 INFOG(34) (exponent of the determinant if determinant is requested): 0
|
| /petsc/src/ksp/ksp/tutorials/output/ |
| H A D | ex52_1.out | 2 Mumps determinant = (0.900768, 0.) * 2^99
|
| H A D | ex52f_1.out | 2 Mumps determinant=( 9.01E-01 0.00E+00)*2^ 99
|
| H A D | ex52_4.out | 5 Mumps determinant = (0.760785, 0.) * 2^4245
|
| H A D | ex52_5.out | 2 Mumps determinant = (0.874416, 0.) * 2^4238
|
| /petsc/src/dm/impls/plex/tests/output/ |
| H A D | ex60_iso_3d_pragmatic.out | 3 Metric determinant L2 error: 0.0000%
|
| H A D | ex60_uniform_3d_pragmatic.out | 3 Metric determinant L2 error: 0.0000%
|
| H A D | ex60_iso_2d_pragmatic.out | 3 Metric determinant L2 error: 0.0000%
|
| H A D | ex60_iso_3d_parmmg.out | 3 Metric determinant L2 error: 0.0000%
|
| H A D | ex60_iso_3d_mmg.out | 3 Metric determinant L2 error: 0.0000%
|
| H A D | ex60_uniform_2d_pragmatic.out | 3 Metric determinant L2 error: 0.0000%
|
| H A D | ex60_uniform_3d_mmg.out | 3 Metric determinant L2 error: 0.0000%
|
| H A D | ex60_uniform_3d_parmmg.out | 3 Metric determinant L2 error: 0.0000%
|
| H A D | ex60_uniform_2d_mmg.out | 3 Metric determinant L2 error: 0.0000%
|
| H A D | ex60_iso_2d_mmg.out | 3 Metric determinant L2 error: 0.0000%
|
| /petsc/src/dm/impls/moab/ |
| H A D | dmmbfem.cxx | 11 …Code DMatrix_Invert_2x2_Internal(const PetscReal *inmat, PetscReal *outmat, PetscReal *determinant) in DMatrix_Invert_2x2_Internal() argument 20 if (determinant) *determinant = det; in DMatrix_Invert_2x2_Internal() 29 …Code DMatrix_Invert_3x3_Internal(const PetscReal *inmat, PetscReal *outmat, PetscReal *determinant) in DMatrix_Invert_3x3_Internal() argument 43 if (determinant) *determinant = det; in DMatrix_Invert_3x3_Internal() 52 …rrorCode DMatrix_Invert_4x4_Internal(PetscReal *inmat, PetscReal *outmat, PetscScalar *determinant) in DMatrix_Invert_4x4_Internal() argument 73 if (determinant) *determinant = det; in DMatrix_Invert_4x4_Internal()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | DMPlex.pyx | 3025 """Create the determinant field for a Riemannian metric. 3036 determinant : Vec 3037 The determinant field. 3048 cdef Vec determinant = Vec() 3050 CHKERR(DMPlexMetricDeterminantCreate(self.dm, ival, &determinant.vec, &dmDet.dm)) 3051 return (determinant, dmDet) 3053 …def metricEnforceSPD(self, Vec metric, Vec ometric, Vec determinant, restrictSizes: bool | None = … argument 3064 determinant 3065 The output determinant. 3075 determinant : Vec [all …]
|
| /petsc/doc/changes/ |
| H A D | 318.md | 270 - Add `DMPlexMetricDeterminantCreate()` for creating determinant fields for Riemannian metrics 272 : - pass determinant Vec, rather than its address 276 - pass determinant Vec, rather than its address
|
| H A D | 317.md | 247 - output the determinant
|
| /petsc/src/snes/utils/dm/ |
| H A D | dmadapt.c | 1439 Vec xGrad, xHess, metric, determinant; in DMAdaptorAdapt_Sequence_Private() local 1508 PetscCall(DMPlexMetricDeterminantCreate(dmMetric, 0, &determinant, &dmDet)); in DMAdaptorAdapt_Sequence_Private() 1509 … PetscCall(DMPlexMetricNormalize(dmMetric, xHess, PETSC_TRUE, PETSC_TRUE, metric, determinant)); in DMAdaptorAdapt_Sequence_Private() 1510 PetscCall(VecDestroy(&determinant)); in DMAdaptorAdapt_Sequence_Private()
|
| /petsc/doc/manual/ |
| H A D | dmplex.md | 714 …c metricIn, PetscBool restrictSizes, PetscBool restrictAnisotropy, Vec metricOut, Vec determinant); 751 …c metricIn, PetscBool restrictSizes, PetscBool restrictAnisotropy, Vec metricOut, Vec determinant);
|