Home
last modified time | relevance | path

Searched refs:R0 (Results 1 – 3 of 3) sorted by relevance

/petsc/src/ksp/ksp/impls/ibcgs/
H A Dibcgs.c63 Vec R0, Rn, Xn, F0, Vn, Zn, Qn, Tn, Sn, B, Un; in KSPSolve_IBCGS() local
84 R0 = ksp->work[0]; in KSPSolve_IBCGS()
85 PetscCall(VecGetArrayRead(R0, (const PetscScalar **)&r0)); in KSPSolve_IBCGS()
86 PetscCall(VecRestoreArrayRead(R0, NULL)); in KSPSolve_IBCGS()
124 PetscCall(VecCopy(Rn_1, R0)); in KSPSolve_IBCGS()
131 PetscCall(KSP_MatMultTranspose(ksp, A, R0, Tn)); in KSPSolve_IBCGS()
134 PetscCall(KSP_PCApplyTranspose(ksp, R0, Tn)); in KSPSolve_IBCGS()
146 PetscCall(VecDot(R0, R0, &phin_1)); in KSPSolve_IBCGS()
150 PetscCall(VecDot(R0, Un_1, &sigman_1)); in KSPSolve_IBCGS()
/petsc/src/ts/tutorials/
H A Dex77.c120 const PetscReal R0 = PetscSqrtReal(x0 * x0 + y0 * y0); in trig_trig_x() local
124 x[0] = R0 * PetscCosReal(p->omega * time + theta0); in trig_trig_x()
125 x[1] = R0 * PetscSinReal(p->omega * time + theta0); in trig_trig_x()
/petsc/src/dm/impls/forest/p4est/
H A Dpforest.h342 PetscReal R2 = 1., R1 = 0.191728, R0 = 0.039856; in DMFTopologyCreate_pforest() local
347 …etscOptionsGetReal(((PetscObject)dm)->options, prefix, "-dm_p4est_sphere_core_radius", &R0, NULL)); in DMFTopologyCreate_pforest()
349 PetscCallP4estReturn((*topo)->geom, p8est_geometry_new_sphere, ((*topo)->conn, R2, R1, R0)); in DMFTopologyCreate_pforest()