Searched refs:oarray (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | arraynpy.pxi | 170 cdef inline ndarray oarray(object ob, int typenum): function 178 cdef ndarray ary = oarray(ob, NPY_PETSC_BOOL) 186 cdef ndarray ary = oarray(ob, NPY_PETSC_INT) 194 cdef ndarray ary = oarray(ob, NPY_PETSC_REAL) 202 cdef ndarray ary = oarray(ob, NPY_PETSC_SCALAR) 210 cdef ndarray ary = oarray(ob, NPY_INTP)
|
| /petsc/src/ksp/pc/impls/patch/ |
| H A D | pcpatch.c | 1896 const PetscInt *parray, *oarray; in PCPatchComputeFunction_DMPlex_Private() local 1909 PetscCall(ISGetIndices(patch->offs, &oarray)); in PCPatchComputeFunction_DMPlex_Private() 1916 … PetscCall(PetscSectionSetFieldOffset(patch->patchSection, point, f, oarray[(poff + p) * Nf + f])); in PCPatchComputeFunction_DMPlex_Private() 1917 …spaces == 1) PetscCall(PetscSectionSetOffset(patch->patchSection, point, oarray[(poff + p) * Nf + … in PCPatchComputeFunction_DMPlex_Private() 1922 PetscCall(ISRestoreIndices(patch->offs, &oarray)); in PCPatchComputeFunction_DMPlex_Private() 1978 const PetscInt *parray, *oarray; in PCPatchComputeOperator_DMPlex_Private() local 1990 PetscCall(ISGetIndices(patch->offs, &oarray)); in PCPatchComputeOperator_DMPlex_Private() 1997 … PetscCall(PetscSectionSetFieldOffset(patch->patchSection, point, f, oarray[(poff + p) * Nf + f])); in PCPatchComputeOperator_DMPlex_Private() 1998 …spaces == 1) PetscCall(PetscSectionSetOffset(patch->patchSection, point, oarray[(poff + p) * Nf + … in PCPatchComputeOperator_DMPlex_Private() 2003 PetscCall(ISRestoreIndices(patch->offs, &oarray)); in PCPatchComputeOperator_DMPlex_Private()
|