Searched refs:ScalarType (Results 1 – 17 of 17) sorted by relevance
| /petsc/src/binding/petsc4py/conf/ |
| H A D | stubtest-allowlist | 4 petsc4py.PETSc.ScalarType
|
| /petsc/src/binding/petsc4py/test/ |
| H A D | test_optdb.py | 87 if PETSc.ScalarType is PETSc.ComplexType: 91 PETSc.ScalarType, 100 PETSc.ScalarType,
|
| H A D | test_stdout.py | 22 a = np.array([0.0, 0.0, 0.0], dtype=PETSc.ScalarType)
|
| H A D | test_vec.py | 317 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 D | test_tao_py.py | 235 if numpy.iscomplexobj(PETSc.ScalarType()):
|
| H A D | test_ts.py | 75 if PETSc.ScalarType().dtype.char in 'fF':
|
| H A D | test_mat_dense.py | 11 sdt = PETSc.ScalarType
|
| H A D | test_tao.py | 296 if numpy.iscomplexobj(PETSc.ScalarType()):
|
| H A D | test_ksp.py | 288 if PETSc.ScalarType().dtype.char in 'FDG':
|
| H A D | test_object.py | 352 if numpy.iscomplexobj(PETSc.ScalarType()):
|
| H A D | test_mat_aij.py | 59 sdt = PETSc.ScalarType 266 tmp = N.empty((m // bs, bs, bs), dtype=PETSc.ScalarType)
|
| H A D | test_dmplex.py | 429 if PETSc.ScalarType is PETSc.ComplexType:
|
| /petsc/src/ksp/pc/impls/bjacobi/bjkokkos/ |
| H A D | bjkokkoskernels.kokkos.cxx | 126 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 D | ex23.py | 85 value = np.zeros(3,dtype=PETSc.ScalarType)
|
| /petsc/src/ts/utils/dmplexlandau/kokkos/ |
| H A D | landau.kokkos.cxx | 42 template <class ScalarType> 44 ScalarType gg2[LANDAU_DIM]; 45 ScalarType gg3[LANDAU_DIM][LANDAU_DIM];
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | DMSwarm.pyx | 313 … def registerField(self, fieldname: str, blocksize: int, dtype: type | dtype = ScalarType) -> None: 337 if dtype == ScalarType: ctype = PETSC_SCALAR
|
| H A D | PETSc.pyx | 177 ScalarType = PyArray_TypeObjectFromType(NPY_PETSC_SCALAR) variable
|