Home
last modified time | relevance | path

Searched refs:ScalarType (Results 1 – 17 of 17) sorted by relevance

/petsc/src/binding/petsc4py/conf/
H A Dstubtest-allowlist4 petsc4py.PETSc.ScalarType
/petsc/src/binding/petsc4py/test/
H A Dtest_optdb.py87 if PETSc.ScalarType is PETSc.ComplexType:
91 PETSc.ScalarType,
100 PETSc.ScalarType,
H A Dtest_stdout.py22 a = np.array([0.0, 0.0, 0.0], dtype=PETSc.ScalarType)
H A Dtest_vec.py317 a = np.zeros(5, dtype=PETSc.ScalarType)
335 a = np.zeros(5, dtype=PETSc.ScalarType)
358 v.setArray(np.array(range(*v.owner_range), dtype=PETSc.ScalarType))
370 v.setArray(np.array(range(*v.owner_range), dtype=PETSc.ScalarType))
H A Dtest_tao_py.py235 if numpy.iscomplexobj(PETSc.ScalarType()):
H A Dtest_ts.py75 if PETSc.ScalarType().dtype.char in 'fF':
H A Dtest_mat_dense.py11 sdt = PETSc.ScalarType
H A Dtest_tao.py296 if numpy.iscomplexobj(PETSc.ScalarType()):
H A Dtest_ksp.py288 if PETSc.ScalarType().dtype.char in 'FDG':
H A Dtest_object.py352 if numpy.iscomplexobj(PETSc.ScalarType()):
H A Dtest_mat_aij.py59 sdt = PETSc.ScalarType
266 tmp = N.empty((m // bs, bs, bs), dtype=PETSc.ScalarType)
H A Dtest_dmplex.py429 if PETSc.ScalarType is PETSc.ComplexType:
/petsc/src/ksp/pc/impls/bjacobi/bjkokkos/
H A Dbjkokkoskernels.kokkos.cxx126 using ScalarType = typename ValuesViewType::non_const_value_type; in run() typedef
130 using ViewType2D = Kokkos::View<ScalarType **, Layout, EXSP>; in run()
240 using ScalarType = typename AMatrixValueView::non_const_value_type; in PCApply_BJKOKKOSKERNELS() typedef
241 using MagnitudeType = typename Kokkos::Details::ArithTraits<ScalarType>::mag_type; in PCApply_BJKOKKOSKERNELS()
244 using Scalar3DViewType = Kokkos::View<ScalarType ***, layout, exec_space>; in PCApply_BJKOKKOSKERNELS()
/petsc/src/binding/petsc4py/demo/legacy/petsc-examples/ksp/
H A Dex23.py85 value = np.zeros(3,dtype=PETSc.ScalarType)
/petsc/src/ts/utils/dmplexlandau/kokkos/
H A Dlandau.kokkos.cxx42 template <class ScalarType>
44 ScalarType gg2[LANDAU_DIM];
45 ScalarType gg3[LANDAU_DIM][LANDAU_DIM];
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDMSwarm.pyx313 … def registerField(self, fieldname: str, blocksize: int, dtype: type | dtype = ScalarType) -> None:
337 if dtype == ScalarType: ctype = PETSC_SCALAR
H A DPETSc.pyx177 ScalarType = PyArray_TypeObjectFromType(NPY_PETSC_SCALAR) variable