Home
last modified time | relevance | path

Searched refs:Re (Results 1 – 5 of 5) sorted by relevance

/petsc/src/mat/utils/
H A Dgetcolv.c29 PetscInt i, j, nz, N, Rs, Re, rs, re; in MatGetColumnVector() local
39 PetscCall(MatGetOwnershipRange(A, &Rs, &Re)); in MatGetColumnVector()
41Re == re, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Matrix %" PetscInt_FMT " %" PetscInt_FMT " does … in MatGetColumnVector()
48 for (i = Rs; i < Re; i++) { in MatGetColumnVector()
/petsc/src/ts/tutorials/
H A Dex46.c75 const PetscReal Re = REYN; in f0_mms1_u() local
85 … + 2.0 * x[0] * x[1] * x[1] - 4.0 * x[0] * x[0] * x[1] - 2.0 * x[0] * x[0] * x[0] + 4.0 / Re - 1.0; in f0_mms1_u()
86 … + 2.0 * x[1] * x[1] * x[1] - 4.0 * x[0] * x[1] * x[1] - 2.0 * x[0] * x[0] * x[1] + 4.0 / Re - 1.0; in f0_mms1_u()
91 const PetscReal Re = REYN; in f0_mms2_u() local
101Re * ((1.0L / 2.0L) * PetscSinReal(2 * t + 2 * x[0]) + PetscSinReal(2 * t + x[0] + x[1]) + PetscCo… in f0_mms2_u()
102Re * ((1.0L / 2.0L) * PetscSinReal(2 * t + 2 * x[1]) + PetscSinReal(2 * t + x[0] + x[1]) + PetscCo… in f0_mms2_u()
107 const PetscReal Re = REYN; in f1_u() local
112 for (d = 0; d < dim; ++d) f1[comp * dim + d] = 1.0 / Re * u_x[comp * dim + d]; in f1_u()
183 const PetscReal Re = REYN; in g3_uu() local
188 for (d = 0; d < dim; ++d) g3[((compI * Ncomp + compI) * dim + d) * dim + d] = 1.0 / Re; in g3_uu()
H A Dex76.c223 const PetscReal Re = PetscRealPart(constants[REYNOLDS]); in f0_conduct_quadratic_v() local
229 …+ 2. * X[0] * X[0] * X[0] + 4. * X[0] * X[0] * X[1] - 2. * X[0] * X[1] * X[1]) - 4. * mu / Re + 1.; in f0_conduct_quadratic_v()
230 …+ 2. * X[0] * X[0] * X[1] + 4. * X[0] * X[1] * X[1] - 2. * X[1] * X[1] * X[1]) - 4. * mu / Re + 1.; in f0_conduct_quadratic_v()
807 const PetscReal Re = PetscRealPart(constants[REYNOLDS]); in f1_conduct_v() local
809 const PetscReal coef = mu / Re; in f1_conduct_v()
1025 const PetscReal Re = PetscRealPart(constants[REYNOLDS]); in g3_conduct_vu() local
1033 g3[((c * Nc + c) * dim + d) * dim + d] += mu / Re; // gradU in g3_conduct_vu()
1035 g3[((c * Nc + d) * dim + d) * dim + c] += mu / Re; // gradU transpose in g3_conduct_vu()
1037 g3[((c * Nc + d) * dim + c) * dim + d] -= 2.0 / 3.0 * mu / Re; in g3_conduct_vu()
/petsc/doc/manual/
H A Dsnes.md23 where $\mathbf{F}: \, \Re^n \to \Re^n$. Newton-like methods provide the
994 $\| \cdot \|$ denotes an arbitrary norm in $\Re^n$ .
/petsc/doc/
H A Dpetsc.bib3532 author = {Michele De Stefano and Federico Golfr\'{e} Andreasi and Simone Re and Massimo