Home
last modified time | relevance | path

Searched refs:degrees (Results 1 – 25 of 47) sorted by relevance

12

/petsc/src/dm/dt/tests/
H A Dex2.c8 PetscInt i, j, degrees[1000], ndegrees, nsrc_points, ntarget_points; in main() local
17 degrees[0] = 1; in main()
18 degrees[1] = 2; in main()
19 degrees[2] = 3; in main()
20 …PetscCall(PetscOptionsIntArray("-degrees", "list of max degrees to evaluate", "", degrees, &ndegre… in main()
41 …PetscCall(PetscDTReconstructPoly(degrees[i], nsrc_points - 1, src_points, ntarget_points - 1, targ… in main()
46 …(PETSC_COMM_WORLD, "Degree %" PetscInt_FMT " target interval (%g,%g)\n", degrees[i], (double)targe… in main()
H A Dex1.c8 … char *name, PetscInt npoints, const PetscReal *points, PetscInt ndegrees, const PetscInt *degrees) in CheckPoints() argument
15 PetscCall(PetscDTLegendreEval(npoints, points, ndegrees, degrees, B, D, D2)); in CheckPoints()
26 …, "degree %" PetscInt_FMT " at %12.4g: B=%12.4g D=%12.4g D2=%12.4g\n", degrees[j], (double)point… in CheckPoints()
142 PetscInt degrees[1000], ndegrees, npoints, two; in main() local
152 degrees[0] = 0; in main()
153 degrees[1] = 1; in main()
154 degrees[2] = 2; in main()
155 …PetscCall(PetscOptionsIntArray("-degrees", "list of degrees to evaluate", "", degrees, &ndegrees, … in main()
181 PetscCall(CheckPoints("User-provided points", npoints, points, ndegrees, degrees)); in main()
202 PetscCall(CheckPoints("Gauss points", npoints, points, ndegrees, degrees)); in main()
H A Dex9.c44 PetscInt *degrees; in testDerivativesLegendre() local
72 PetscCall(PetscMalloc1(deg + 1, &degrees)); in testDerivativesLegendre()
73 for (i = 0; i < deg + 1; i++) degrees[i] = i; in testDerivativesLegendre()
83 PetscCall(PetscDTLegendreEval(npoints, points1d, deg + 1, degrees, B[d], NULL, NULL)); in testDerivativesLegendre()
153 PetscCall(PetscFree(degrees)); in testDerivativesLegendre()
/petsc/src/mat/graphops/color/utils/
H A Dweights.c35 PetscErrorCode MatColoringGetDegrees(Mat G, PetscInt distance, PetscInt *degrees) in MatColoringGetDegrees() argument
99 degrees[gidx[i] - s] = degree; in MatColoringGetDegrees()
113 PetscInt *degrees; in MatColoringCreateLargestFirstWeights() local
122 PetscCall(PetscMalloc1(n, &degrees)); in MatColoringCreateLargestFirstWeights()
123 PetscCall(MatColoringGetDegrees(G, mc->dist, degrees)); in MatColoringCreateLargestFirstWeights()
131 PetscCall(PetscFree(degrees)); in MatColoringCreateLargestFirstWeights()
137 PetscInt *degrees, *degb, *llprev, *llnext; in MatColoringCreateSmallestLastWeights() local
169 PetscCall(PetscMalloc1(lm, &degrees)); in MatColoringCreateSmallestLastWeights()
207 degrees[i] = degree; in MatColoringCreateSmallestLastWeights()
230 llnext[idx] = degb[degrees[idx]]; in MatColoringCreateSmallestLastWeights()
[all …]
H A Dvalid.c18 const PetscInt *degrees; in MatColoringTest() local
45 PetscCall(PetscSFComputeDegreeBegin(etor, &degrees)); in MatColoringTest()
46 PetscCall(PetscSFComputeDegreeEnd(etor, &degrees)); in MatColoringTest()
48 for (i = 0; i < nrows; i++) nentries += degrees[i]; in MatColoringTest()
51 for (j = 0; j < degrees[i]; j++) { in MatColoringTest()
64 PetscCall(PetscSFComputeDegreeBegin(etoc, &degrees)); in MatColoringTest()
65 PetscCall(PetscSFComputeDegreeEnd(etoc, &degrees)); in MatColoringTest()
67 for (i = 0; i < ncols; i++) nentries += degrees[i]; in MatColoringTest()
70 for (j = 0; j < degrees[i]; j++) { in MatColoringTest()
/petsc/src/ksp/ksp/tutorials/output/
H A Dex59_bddc_fetidp_2.out2 Number of degrees of freedom : 342
6 Number of degrees of freedom : 31
H A Dex59_bddc_fetidp_4.out2 Number of degrees of freedom : 1368
6 Number of degrees of freedom : 138
H A Dex59_bddc_fetidp_ml_eqlimit.out2 Number of degrees of freedom : 156
6 Number of degrees of freedom : 0
H A Dex59_bddc_fetidp_3.out2 Number of degrees of freedom : 1368
6 Number of degrees of freedom : 138
H A Dex59_bddc_fetidp_1.out2 Number of degrees of freedom : 21
6 Number of degrees of freedom : 0
H A Dex59_bddc_fetidp_approximate.out2 Number of degrees of freedom : 4560
H A Dex59_bddc_fetidp_ml_3.out161 Number of degrees of freedom : 342
165 Number of degrees of freedom : 31
/petsc/src/dm/impls/moab/tests/
H A Dex3.cxx81 PetscInt *degrees; in main() local
105 PetscCall(PetscMalloc1(user.nlevels, &degrees)); in main()
106 for (i = 0; i < user.nlevels; i++) degrees[i] = user.degree; in main()
108 PetscCall(DMMoabGenerateHierarchy(user.dm, user.nlevels, degrees)); in main()
139 PetscCall(PetscFree(degrees)); in main()
/petsc/src/vec/is/sf/tutorials/output/
H A Dex1_3.out42 ## Root degrees
H A Dex1_3_basic.out43 ## Root degrees
H A Dex1_10.out99 ## Root degrees
H A Dex1_10_basic.out108 ## Root degrees
H A Dex1_10_basic_vector.out130 ## Root degrees
/petsc/share/petsc/datafiles/meshes/
H A Dgmsh-B2tri.geo22 phi = Pi/180 * GetValue("Rotation (degrees)", 0);
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDMDA.pyx65 The number of degrees of freedom.
165 The number of degrees of freedom.
247 """Set the number of degrees of freedom per vertex.
254 The number of degrees of freedom.
265 """Return the number of degrees of freedom per node.
632 The corner information is independent of the number of degrees of
635 several degrees of freedom.
684 where ``dof`` indicates the number of degrees of freedom per node
708 where ``dof`` indicates the number of degrees of freedom per node
916 rapidly in the x-dimension, then y, then z). Multiple degrees of
H A DSection.pyx101 Offsets are based on the number of degrees of freedom for each point.
312 """Return the number of degrees of freedom for a given point.
334 """Set the number of degrees of freedom associated with a given point.
355 """Add ``numDof`` degrees of freedom associated with a given point.
/petsc/src/ts/tests/
H A Dex5_control.txt23 - All temperature is in degrees Fahrenheit.
/petsc/src/dm/dt/interface/
H A Ddt.c785 …al b, PetscInt k, const PetscReal *points, PetscInt ndegree, const PetscInt *degrees, PetscReal *p) in PetscDTJacobiEval_Internal() argument
792 maxdegree = degrees[ndegree - 1] - k; in PetscDTJacobiEval_Internal()
811 while (l < ndegree && degrees[l] - k < 0) p[l++] = 0.; in PetscDTJacobiEval_Internal()
812 while (l < ndegree && degrees[l] - k == 0) { in PetscDTJacobiEval_Internal()
817 while (l < ndegree && degrees[l] - k == 1) { in PetscDTJacobiEval_Internal()
829 while (l < ndegree && degrees[l] - k == j) { in PetscDTJacobiEval_Internal()
869 PetscInt *degrees; in PetscDTJacobiEvalJet() local
879 PetscCall(PetscMalloc1(degree + 1, &degrees)); in PetscDTJacobiEvalJet()
881 for (i = 0; i <= degree; i++) degrees[i] = i; in PetscDTJacobiEvalJet()
883 …PetscCall(PetscDTJacobiEval_Internal(npoints, alpha, beta, i, points, degree + 1, degrees, psingle… in PetscDTJacobiEvalJet()
[all …]
/petsc/src/snes/tutorials/output/
H A Dex30_1.out4 Slab dip = 45. degrees, Slab velocity = 5. cm/yr
/petsc/doc/developers/
H A Dmatrices.md40 blocked structure (with a block size equal to the number of degrees of
70 simulation; it has 1,501 degrees of freedom, 26,131 matrix nonzeros, a
73 has 15,360 degrees of freedom, 496,000 nonzeros, and a natural block

12