Lines Matching refs:nPetscComplex
643 PetscInt nPetscComplex = 0; in PetscSFLinkSetUp_Kokkos() local
656 PetscCall(MPIPetsc_Type_compare_contig(unit, MPIU_COMPLEX, &nPetscComplex)); in PetscSFLinkSetUp_Kokkos()
726 } else if (nPetscComplex) { in PetscSFLinkSetUp_Kokkos()
728 if (nPetscComplex == 8) PackInit_ComplexType<Kokkos::complex<PetscReal>, 8, 1>(link); in PetscSFLinkSetUp_Kokkos()
729 else if (nPetscComplex % 8 == 0) PackInit_ComplexType<Kokkos::complex<PetscReal>, 8, 0>(link); in PetscSFLinkSetUp_Kokkos()
730 else if (nPetscComplex == 4) PackInit_ComplexType<Kokkos::complex<PetscReal>, 4, 1>(link); in PetscSFLinkSetUp_Kokkos()
731 else if (nPetscComplex % 4 == 0) PackInit_ComplexType<Kokkos::complex<PetscReal>, 4, 0>(link); in PetscSFLinkSetUp_Kokkos()
732 else if (nPetscComplex == 2) PackInit_ComplexType<Kokkos::complex<PetscReal>, 2, 1>(link); in PetscSFLinkSetUp_Kokkos()
733 else if (nPetscComplex % 2 == 0) PackInit_ComplexType<Kokkos::complex<PetscReal>, 2, 0>(link); in PetscSFLinkSetUp_Kokkos()
734 else if (nPetscComplex == 1) PackInit_ComplexType<Kokkos::complex<PetscReal>, 1, 1>(link); in PetscSFLinkSetUp_Kokkos()
735 else if (nPetscComplex % 1 == 0) in PetscSFLinkSetUp_Kokkos()