Home
last modified time | relevance | path

Searched refs:btx (Results 1 – 4 of 4) sorted by relevance

/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDMStag.pyx119 cdef PetscDMBoundaryType btx = DM_BOUNDARY_NONE
122 asBoundary(boundary_types, &btx, &bty, &btz)
151 CHKERR(DMStagCreate1d(ccomm, btx, M, dof0, dof1, stype, swidth, lx, &newda))
153 …CHKERR(DMStagCreate2d(ccomm, btx, bty, M, N, m, n, dof0, dof1, dof2, stype, swidth, lx, ly, &newda…
155 …CHKERR(DMStagCreate3d(ccomm, btx, bty, btz, M, N, P, m, n, p, dof0, dof1, dof2, dof3, stype, swidt…
218 cdef PetscDMBoundaryType btx = DM_BOUNDARY_NONE
221 asBoundary(boundary_types, &btx, &bty, &btz)
222 CHKERR(DMStagSetBoundaryTypes(self.dm, btx, bty, btz))
489 cdef PetscDMBoundaryType btx = DM_BOUNDARY_NONE
493 CHKERR(DMStagGetBoundaryTypes(self.dm, &btx, &bty, &btz))
[all …]
H A DDMDA.pyx103 cdef PetscDMBoundaryType btx = DM_BOUNDARY_NONE
131 asBoundary(boundary_type, &btx, &bty, &btz)
142 btx, bty, btz, stype, swidth,
181 cdef PetscDMBoundaryType btx = DM_BOUNDARY_NONE
191 &btx, &bty, &btz,
201 asBoundary(boundary_type, &btx, &bty, &btz)
210 btx, bty, btz, stype, swidth,
401 cdef PetscDMBoundaryType btx = DM_BOUNDARY_NONE
404 asBoundary(boundary_type, &btx, &bty, &btz)
405 CHKERR(DMDASetBoundaryType(self.dm, btx, bty, btz))
[all …]
H A Dpetscdmstag.pxi237 cdef inline tuple toStagBoundaryTypes(PetscInt dim, PetscDMBoundaryType btx, PetscDMBoundaryType bt… argument
238 if dim == 1: return (toStagBoundary(btx),)
239 if dim == 2: return (toStagBoundary(btx), toStagBoundary(bty))
240 if dim == 3: return (toStagBoundary(btx), toStagBoundary(bty), toStagBoundary(btz))
/petsc/src/ksp/ksp/impls/qcg/
H A Dqcg.c149 PetscReal q1, q2, xnorm, step1, step2, rnrm = 0.0, btx, xtax; in KSPSolve_QCG() local
309 PetscCall(VecDotRealPart(B, X, &btx)); in KSPSolve_QCG()
312 pcgP->quadratic = btx + .5 * xtax; in KSPSolve_QCG()