Home
last modified time | relevance | path

Searched refs:half (Results 1 – 18 of 18) sorted by relevance

/petsc/src/dm/field/impls/da/
H A Ddmfieldda.c87 PetscInt half = whol >> 1; in MultilinearEvaluate() local
104 for (k = 0; k < half; k++) { in MultilinearEvaluate()
106 etaB[k + half] = work[2 * k + 1]; in MultilinearEvaluate()
110 for (k = 0; k < half; k++) { in MultilinearEvaluate()
111 etaD[k + half] = work[2 * k]; in MultilinearEvaluate()
142 for (k = 0; k < half; k++) { in MultilinearEvaluate()
146 etaB[k + half] = e = work[2 * k + 1]; in MultilinearEvaluate()
150 cf[(k + half) * nc + l] = cfWork[(2 * k + 1) * nc + l]; in MultilinearEvaluate()
205 PetscInt c, i, j, k, dim, cellsPer[3] = {0}, first[3] = {0}, whol, half; in DMFieldEvaluateFE_DA() local
255 half = whol >> 1; in DMFieldEvaluateFE_DA()
[all …]
/petsc/src/snes/tests/
H A Dex241.cxx77 PetscReal half = 0.5; in UserFunction() local
93 if ((half - user->value) < PetscRealPart(x[i]) && PetscRealPart(x[i]) < (half + user->value)) { in UserFunction()
/petsc/src/ts/utils/dmplexlandau/tutorials/output/
H A Dex2_single.out7 DM Object: half-plane 1 MPI process
9 half-plane in 2 dimensions:
/petsc/lib/petsc/bin/maint/
H A Dtoclapack.sh537 half: \$(HALFO) \$(AUXO)
1901 /* nearest' style. B/2 is half a unit in the last place of the two */
1976 static doublereal half;
2098 half = one / 2;
2099 d__1 = -half;
2102 d__1 = -half;
2116 d__1 = half * leps;
2124 c__ = dlamc3_(&half, &d__1);
2125 b = dlamc3_(&half, &c__);
2127 c__ = dlamc3_(&half, &d__1);
[all …]
/petsc/src/ts/tutorials/
H A Dex22f_mf.F90237 PetscReal half, third, twothird, sixth
249 half = one/two
257 f(j, i) = a(j)/hx*(third*u0t(j) + half*x(j, i) - x(j, i + 1) + sixth*x(j, i + 2))
261 f(j, i) = a(j)/hx*(-sixth*x(j, i - 2) + x(j, i - 1) - half*x(j, i) - third*x(j, i + 1))
H A Dex22f.F90208 PetscReal half, third, twothird, sixth
221 half = one/two
229 f(j, i) = a(j)/hx*(third*u0t(j) + half*x(j, i) - x(j, i + 1) &
/petsc/doc/community/meetings/
H A Dmeeting.md28 …n Oxford, UK, during the week of June 1~5, 2026. PETSc occupies the first half of the meeting (Jun…
/petsc/doc/changes/
H A D2028.md253 - Added PetscMaxSum_Op to do max on first half of entries and sum on
254 second half.
/petsc/src/tao/pde_constrained/tutorials/
H A Delliptic.c543 PetscScalar hinv, neg_hinv, half = 0.5, sqrt_beta; in EllipticInitialize() local
838 PetscCall(MatSetValues(user->Av, 1, &i, 1, &j, &half, INSERT_VALUES)); in EllipticInitialize()
840 PetscCall(MatSetValues(user->Av, 1, &i, 1, &j, &half, INSERT_VALUES)); in EllipticInitialize()
845 PetscCall(MatSetValues(user->Av, 1, &i, 1, &j, &half, INSERT_VALUES)); in EllipticInitialize()
847 PetscCall(MatSetValues(user->Av, 1, &i, 1, &j, &half, INSERT_VALUES)); in EllipticInitialize()
851 PetscCall(MatSetValues(user->Av, 1, &i, 1, &j, &half, INSERT_VALUES)); in EllipticInitialize()
853 PetscCall(MatSetValues(user->Av, 1, &i, 1, &j, &half, INSERT_VALUES)); in EllipticInitialize()
H A Dparabolic.c662 PetscScalar hinv, neg_hinv, half = 0.5, sqrt_beta; in ParabolicInitialize() local
824 PetscCall(MatSetValues(user->Av, 1, &i, 1, &j, &half, INSERT_VALUES)); in ParabolicInitialize()
826 PetscCall(MatSetValues(user->Av, 1, &i, 1, &j, &half, INSERT_VALUES)); in ParabolicInitialize()
831 PetscCall(MatSetValues(user->Av, 1, &i, 1, &j, &half, INSERT_VALUES)); in ParabolicInitialize()
833 PetscCall(MatSetValues(user->Av, 1, &i, 1, &j, &half, INSERT_VALUES)); in ParabolicInitialize()
837 PetscCall(MatSetValues(user->Av, 1, &i, 1, &j, &half, INSERT_VALUES)); in ParabolicInitialize()
839 PetscCall(MatSetValues(user->Av, 1, &i, 1, &j, &half, INSERT_VALUES)); in ParabolicInitialize()
/petsc/doc/manual/
H A Dfe.md107 …/a>, we define the Poisson problem over the entire domain, but in the top half we also define a pr…
H A Dperformance.md335 between cores sharing an L2 cache may be roughly half that of two cores
H A Dksp.md860 about half of the floating-point operations for conventional SSOR. The
1697 Under most circumstances, the multiplicative form requires one-half the
H A Dother.md963 the file and line number for that function in one half. Some prefer this because
/petsc/src/tao/leastsquares/impls/pounders/
H A Dpounders.c489 PetscReal dp, half = 0.5, one = 1.0, minvalue = PETSC_INFINITY; in modelimprove() local
515 …PetscCallBLAS("BLASgemv", BLASgemv_("N", &blasn, &blasn, &half, mfqP->Hres, &blasn, &mfqP->Q_tmp[i… in modelimprove()
/petsc/doc/tutorials/physics/
H A Dguide_to_stokes.md241 …undamental frequency. For example, we can create examples with period one half and viscosity $e^{2…
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas4979 (electrolysis/half-cell-voltage #f)
/petsc/doc/
H A Dpetsc.bib1936 half a billion degrees of freedom},
18234 half a billion degrees of freedom},