Home
last modified time | relevance | path

Searched refs:volume (Results 1 – 25 of 49) sorted by relevance

12

/petsc/src/dm/impls/plex/tutorials/output/
H A Dex17_minSA.out330 volume = 0.000450
338 volume = 0.000447
355 volume = 0.000446
372 volume = 0.000444
380 volume = 0.000443
388 volume = 0.000442
405 volume = 0.000441
413 volume = 0.000441
421 volume = 0.000441
429 volume = 0.000441
[all …]
H A Dex3f90_0.out11 cell: 0 volume: 0.5000 centroid: -0.2500 0.5000 0.5000
12 cell: 1 volume: 0.5000 centroid: 0.2500 0.5000 0.5000
/petsc/src/dm/impls/plex/tests/
H A Dex33.c7 PetscReal volume; /* Analytical volume of the mesh */ member
14 options->volume = -1.0; in ProcessOptions()
18 …-volume", "The analytical volume of the mesh", "ex33.c", options->volume, &options->volume, NULL)); in ProcessOptions()
34 static void volume(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt… in volume() function
56 PetscCall(PetscDSSetObjective(ds, 0, volume)); in CreateDiscretization()
72volume <= 0.0 || PetscAbsReal(ctx->volume - vol) <= tol, PetscObjectComm((PetscObject)dm), PETSC_E… in CheckVolume()
H A Dex72.c63 PetscScalar volume; in main() local
73 PetscCall(DMPlexComputeIntegralFEM(dm, u, &volume, NULL)); in main()
75 …ar((volume - user.exactVol) / user.exactVol) < user.volTol, PETSC_COMM_WORLD, PETSC_ERR_PLIB, "Inv… in main()
H A Dex37.c32 double surface = 0., volume = 0., vol; in ComputeVolume() local
48 volume += vol; in ComputeVolume()
61 …ObjectComm(obj), "DM %s: Surface Area = %.6e Volume = %.6e\n", name ? name : "", surface, volume)); in ComputeVolume()
H A Dex16.c139 PetscBool volume = PETSC_TRUE, domain = PETSC_FALSE; in main() local
144 PetscCall(PetscOptionsGetBool(NULL, NULL, "-volume", &volume, NULL)); in main()
148 if (volume) { in main()
H A Dex60.c72 PetscReal centroid[3], volume, x; in main() local
74 PetscCall(DMPlexComputeCellGeometryFVM(dm, c, &volume, centroid, NULL)); in main()
H A Dex36.c78 …le)geom->centroid[0], (double)geom->centroid[1], (double)geom->centroid[2], (double)geom->volume)); in dm_view_geometry()
/petsc/src/dm/impls/moab/
H A Ddmmbfem.cxx110 …w, PetscReal *phi, PetscReal *dphidx, PetscReal *jacobian, PetscReal *ijacobian, PetscReal *volume) in Compute_Lagrange_Basis_1D_Internal() argument
117 PetscAssertPointer(volume, 11); in Compute_Lagrange_Basis_1D_Internal()
133 jacobian[0] = ijacobian[0] = volume[0] = 0.0; in Compute_Lagrange_Basis_1D_Internal()
141 *volume = jacobian[0]; in Compute_Lagrange_Basis_1D_Internal()
143 jxw[j] *= *volume; in Compute_Lagrange_Basis_1D_Internal()
162 jacobian[0] = ijacobian[0] = volume[0] = 0.0; in Compute_Lagrange_Basis_1D_Internal()
170 *volume = jacobian[0]; in Compute_Lagrange_Basis_1D_Internal()
172 if (jxw) jxw[j] *= *volume; in Compute_Lagrange_Basis_1D_Internal()
220 …PetscReal *dphidx, PetscReal *dphidy, PetscReal *jacobian, PetscReal *ijacobian, PetscReal *volume) in Compute_Lagrange_Basis_2D_Internal() argument
227 PetscAssertPointer(volume, 12); in Compute_Lagrange_Basis_2D_Internal()
[all …]
/petsc/doc/
H A Dpetsc.bib28 volume = {32},
39 volume = {8},
49 volume = {375},
58 volume = {33},
75 volume = {60},
90 volume = {20},
101 volume = {146},
119 volume = {23},
129 volume = {21},
140 volume = {63},
[all …]
/petsc/src/dm/impls/plex/tutorials/
H A Dex10.c31 PetscReal centroid[3], volume, x, y; in CreateDomainLabel() local
33 PetscCall(DMPlexComputeCellGeometryFVM(dm, c, &volume, centroid, NULL)); in CreateDomainLabel()
111 PetscReal volume, centroid[3]; in AdaptMesh() local
114 PetscCall(DMPlexComputeCellGeometryFVM(dmCur, c, &volume, centroid, NULL)); in AdaptMesh()
119 if (volume > volConst[vidx]) { in AdaptMesh()
123 if (volume < volConst[vidx] * ratio) { in AdaptMesh()
H A Dex17.c8 double surface = 0., volume = 0., vol; in ComputeVolume() local
25 volume += vol; in ComputeVolume()
38 …PetscObject)dm), "DM %s: Surface Area = %.6e Volume = %.6e\n", name ? name : "", surface, volume)); in ComputeVolume()
H A Dex19.c14 double surfaceArea = 0., volume = 0.; in surfArea() local
55 volume += vol; in surfArea()
63 PetscCall(PetscPrintf(comm, "%s Volume = %.6e \n", name, (double)volume)); in surfArea()
201 PetscScalar volume, surfaceArea; in main() local
204 …PetscCall(DMPlexGetGeomBodyMassProperties(dmNozzle, body, &volume, &surfaceArea, &centerOfGravity,… in main()
207 if (saloop == 0) equivR = PetscPowReal(volume * (3. / 4.) / PETSC_PI, 1. / 3.); in main()
338 …PetscCall(DMPlexRestoreGeomBodyMassProperties(dmNozzle, body, &volume, &surfaceArea, &centerOfGrav… in main()
H A Dex18.c10 double surfaceArea = 0., volume = 0.; in surfArea() local
52 volume += vol; in surfArea()
60 PetscCall(PetscPrintf(comm, "%s Volume = %.6e \n", name, (double)volume)); in surfArea()
/petsc/src/dm/dt/fe/tests/
H A Dex4.c7 static void volume(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt… in volume() function
36 PetscCall(PetscDSSetObjective(ds, 0, volume)); in SetupDiscretization()
37 PetscCall(PetscDSSetObjective(ds, 1, volume)); in SetupDiscretization()
38 PetscCall(PetscDSSetObjective(ds, 2, volume)); in SetupDiscretization()
/petsc/doc/tutorials/meshing/
H A Dguide_to_subsurface.md74volume constraint, namely that cells with a certain label value should have a certain volume. You …
82 Test 3 from `ex10` constrains the headwater cells (with marker 1) to have volume less than 0.01, an…
/petsc/include/
H A Dpetscfvtypes.h60 PetscReal volume; member
/petsc/doc/manualpages/MANSECHeaders/
H A DDT3 `DT` provides discretization technology, for instance quadrature, finite element, or finite volume
H A DFV3 The `PetscFV` class encapsulates a finite volume space.
/petsc/src/ts/tutorials/advection-diffusion-reaction/output/
H A Dex6_1.out1 ... Use Lax-Wendroff finite volume
/petsc/src/dm/impls/plex/tests/output/
H A Dex3_nonconforming_simplex_2_fv.out1 Finite volume gradient reconstruction: PASS
H A Dex3_nonconforming_tensor_2_fv.out1 Finite volume gradient reconstruction: PASS
H A Dex3_nonconforming_simplex_3_fv.out1 Finite volume gradient reconstruction: PASS
H A Dex3_nonconforming_tensor_3_fv.out1 Finite volume gradient reconstruction: PASS
/petsc/doc/manual/
H A Ddt.md17 … This requires that the PDF must have units which are the inverse of the volume form $dx$, meaning…

12