Lines Matching refs:vol

1602 PETSC_UNUSED static inline void Volume_Triangle_Internal(PetscReal *vol, PetscReal coords[])  in Volume_Triangle_Internal()  argument
1623 *vol = 0.5 * detM; in Volume_Triangle_Internal()
1627 PETSC_UNUSED static inline void Volume_Tetrahedron_Internal(PetscReal *vol, PetscReal coords[]) in Volume_Tetrahedron_Internal() argument
1657 *vol = -onesixth * detM; in Volume_Tetrahedron_Internal()
1661 static inline void Volume_Tetrahedron_Origin_Internal(PetscReal *vol, PetscReal coords[]) in Volume_Tetrahedron_Origin_Internal() argument
1664 DMPlex_Det3D_Internal(vol, coords); in Volume_Tetrahedron_Origin_Internal()
1665 *vol *= -onesixth; in Volume_Tetrahedron_Origin_Internal()
2642 …puteGeometryFVM_0D_Internal(DM dm, PetscInt dim, PetscInt cell, PetscReal *vol, PetscReal centroid… in DMPlexComputeGeometryFVM_0D_Internal() argument
2682 if (vol) *vol = 1.0; in DMPlexComputeGeometryFVM_0D_Internal()
2687 …puteGeometryFVM_1D_Internal(DM dm, PetscInt dim, PetscInt cell, PetscReal *vol, PetscReal centroid… in DMPlexComputeGeometryFVM_1D_Internal() argument
2720 if (vol) { in DMPlexComputeGeometryFVM_1D_Internal()
2721 *vol = 0.0; in DMPlexComputeGeometryFVM_1D_Internal()
2722 for (d = 0; d < cdim; ++d) *vol += PetscSqr(PetscRealPart(coords[d] - coords[cdim + d])); in DMPlexComputeGeometryFVM_1D_Internal()
2723 *vol = PetscSqrtReal(*vol); in DMPlexComputeGeometryFVM_1D_Internal()
2730 …puteGeometryFVM_2D_Internal(DM dm, PetscInt dim, PetscInt cell, PetscReal *vol, PetscReal centroid… in DMPlexComputeGeometryFVM_2D_Internal() argument
2784 if (vol) *vol = 0.5 * norm; in DMPlexComputeGeometryFVM_2D_Internal()
2795 …puteGeometryFVM_3D_Internal(DM dm, PetscInt dim, PetscInt cell, PetscReal *vol, PetscReal centroid… in DMPlexComputeGeometryFVM_3D_Internal() argument
2901 if (vol) *vol = PetscAbsReal(vsum); in DMPlexComputeGeometryFVM_3D_Internal()
2927 PetscErrorCode DMPlexComputeCellGeometryFVM(DM dm, PetscInt cell, PetscReal *vol, PetscReal centroi… in DMPlexComputeCellGeometryFVM() argument
2938 PetscCall(DMPlexComputeGeometryFVM_0D_Internal(dm, dim, cell, vol, centroid, normal)); in DMPlexComputeCellGeometryFVM()
2941 PetscCall(DMPlexComputeGeometryFVM_1D_Internal(dm, dim, cell, vol, centroid, normal)); in DMPlexComputeCellGeometryFVM()
2944 PetscCall(DMPlexComputeGeometryFVM_2D_Internal(dm, dim, cell, vol, centroid, normal)); in DMPlexComputeCellGeometryFVM()
2947 PetscCall(DMPlexComputeGeometryFVM_3D_Internal(dm, dim, cell, vol, centroid, normal)); in DMPlexComputeCellGeometryFVM()