Lines Matching full:if
11 …Note: If `vec_copy` is non-null, it is assumed to be a valid pointer to a `Vec` and `VecDestroy()`…
30 …Note: If `dm_copy` is non-null, it is assumed to be a valid pointer to a `DM` and `DMDestroy()` wi…
58 …If the types differ, `array_ceed` is freed with `free()` and `array_petsc` is allocated with `mall…
74 if (sizeof(int_c) == sizeof(int_p)) { in IntArrayCeedToPetsc()
87 …If the types differ, `array_petsc` is freed with `PetscFree()` and `array_ceed` is allocated with …
103 if (sizeof(int_c) == sizeof(int_p)) { in IntArrayPetscToCeed()
249 @return CeedElemTopology, or 0 if no equivelent CeedElemTopology was found
278 if (strstr(vec_type, VECCUDA)) *mat_type = MATAIJCUSPARSE; in DefaultMatTypeFromVecType()
279 else if (strstr(vec_type, VECHIP)) *mat_type = MATAIJHIPSPARSE; in DefaultMatTypeFromVecType()
280 else if (strstr(vec_type, VECKOKKOS)) *mat_type = MATAIJKOKKOS; in DefaultMatTypeFromVecType()
301 if (!bound) { in MatGetMemTypeFromVecType()
305 if (strstr(vec_type, VECCUDA)) *mem_type = PETSC_MEMTYPE_CUDA; in MatGetMemTypeFromVecType()
306 else if (strstr(vec_type, VECHIP)) *mem_type = PETSC_MEMTYPE_HIP; in MatGetMemTypeFromVecType()
307 else if (strstr(vec_type, VECKOKKOS)) *mem_type = PETSC_MEMTYPE_KOKKOS; in MatGetMemTypeFromVecType()