Home
last modified time | relevance | path

Searched refs:defaultvectype (Results 1 – 25 of 30) sorted by relevance

12

/petsc/src/mat/impls/lrc/
H A Dlrc.c219 PetscCall(PetscStrcmp(U->defaultvectype, V->defaultvectype, &match)); in MatLRCSetMats()
220 …WRONG, "Matrix U and V must have the same VecType %s != %s", U->defaultvectype, V->defaultvectype); in MatLRCSetMats()
222 PetscCall(PetscStrcmp(A->defaultvectype, U->defaultvectype, &match)); in MatLRCSetMats()
223 …WRONG, "Matrix A and U must have the same VecType %s != %s", A->defaultvectype, U->defaultvectype); in MatLRCSetMats()
262 PetscCall(MatSetVecType(N, U->defaultvectype)); in MatSetUp_LRC()
/petsc/src/mat/impls/submat/
H A Dsubmat.c213 PetscCall(PetscFree(N->defaultvectype)); in MatCreateSubMatrixVirtual()
214 PetscCall(PetscStrallocpy(A->defaultvectype, &N->defaultvectype)); in MatCreateSubMatrixVirtual()
296 PetscCall(PetscFree(N->defaultvectype)); in MatSubMatrixVirtualUpdate()
297 PetscCall(PetscStrallocpy(A->defaultvectype, &N->defaultvectype)); in MatSubMatrixVirtualUpdate()
/petsc/src/mat/interface/
H A Dmatreg.c228 *vtype = mat->defaultvectype; in MatGetVecType()
252 PetscCall(PetscFree(mat->defaultvectype)); in MatSetVecType()
253 PetscCall(PetscStrallocpy(vtype, &mat->defaultvectype)); in MatSetVecType()
H A Dmatrix.c1462 PetscCall(PetscFree((*A)->defaultvectype)); in MatDestroy()
9664 PetscCall(VecSetType(*right, mat->defaultvectype)); in MatCreateVecs()
9675 PetscCall(VecSetType(*left, mat->defaultvectype)); in MatCreateVecs()
/petsc/src/mat/impls/aij/mpi/mpiviennacl/
H A Dmpiaijviennacl.cxx51 PetscCall(PetscFree(A->defaultvectype)); in MatCreate_MPIAIJViennaCL()
52 PetscCall(PetscStrallocpy(VECVIENNACL, &A->defaultvectype)); in MatCreate_MPIAIJViennaCL()
/petsc/src/mat/impls/sell/mpi/mpihip/
H A Dmpisellhip.hip.cxx64 PetscCall(PetscFree(A->defaultvectype)); in MatConvert_MPISELL_MPISELLHIP()
65 PetscCall(PetscStrallocpy(VECHIP, &A->defaultvectype)); in MatConvert_MPISELL_MPISELLHIP()
/petsc/src/mat/impls/sell/mpi/mpicuda/
H A Dmpisellcuda.cu64 PetscCall(PetscFree(A->defaultvectype)); in MatConvert_MPISELL_MPISELLCUDA()
65 PetscCall(PetscStrallocpy(VECCUDA, &A->defaultvectype)); in MatConvert_MPISELL_MPISELLCUDA()
/petsc/src/mat/impls/shell/
H A Dshellcnv.c238 PetscCall(PetscFree(M->defaultvectype)); in MatConvertFrom_Shell()
239 PetscCall(PetscStrallocpy(A->defaultvectype, &M->defaultvectype)); in MatConvertFrom_Shell()
H A Dshell.c1561 PetscCall(PetscFree(mat->defaultvectype)); in MatShellSetVecType_Shell()
1562 PetscCall(PetscStrallocpy(vtype, (char **)&mat->defaultvectype)); in MatShellSetVecType_Shell()
/petsc/src/mat/impls/aij/seq/seqviennacl/
H A Daijviennacl.cxx462 PetscCall(PetscFree(B->defaultvectype)); in MatConvert_SeqAIJ_SeqAIJViennaCL()
463 PetscCall(PetscStrallocpy(VECVIENNACL, &B->defaultvectype)); in MatConvert_SeqAIJ_SeqAIJViennaCL()
/petsc/src/mat/utils/
H A Dgcreate.c106 PetscCall(PetscStrallocpy(VECSTANDARD, &B->defaultvectype)); in MatCreate()
470 PetscCall(PetscFree(A->defaultvectype)); in MatHeaderMerge()
/petsc/src/mat/impls/aij/mpi/mpihipsparse/
H A Dmpiaijhipsparse.hip.cxx444 PetscCall(PetscFree(A->defaultvectype)); in MatConvert_MPIAIJ_MPIAIJHIPSPARSE()
445 PetscCall(PetscStrallocpy(VECHIP, &A->defaultvectype)); in MatConvert_MPIAIJ_MPIAIJHIPSPARSE()
/petsc/src/mat/impls/diagonal/
H A Ddiagonal.c604 PetscCall(PetscFree((*J)->defaultvectype)); in MatCreateDiagonal()
605 PetscCall(PetscStrallocpy(type, &(*J)->defaultvectype)); in MatCreateDiagonal()
/petsc/src/mat/impls/h2opus/cuda/
H A Dmath2opus.cu1251 PetscCall(PetscFree(A->defaultvectype)); in MatBindToCPU_H2OPUS()
1253 PetscCall(PetscStrallocpy(VECCUDA, &A->defaultvectype)); in MatBindToCPU_H2OPUS()
1255 PetscCall(PetscStrallocpy(VECSTANDARD, &A->defaultvectype)); in MatBindToCPU_H2OPUS()
1329 PetscCall(PetscFree(A->defaultvectype)); in MatCreate_H2OPUS()
1330 PetscCall(PetscStrallocpy(VECCUDA, &A->defaultvectype)); in MatCreate_H2OPUS()
/petsc/src/mat/impls/aij/mpi/mpicusparse/
H A Dmpiaijcusparse.cu466 PetscCall(PetscFree(A->defaultvectype)); in MatConvert_MPIAIJ_MPIAIJCUSPARSE()
467 PetscCall(PetscStrallocpy(VECCUDA, &A->defaultvectype)); in MatConvert_MPIAIJ_MPIAIJCUSPARSE()
/petsc/src/mat/impls/dense/mpi/cupm/
H A Dmatmpidensecupm.hpp149 …PetscCall(PetscStrFreeAllocpy(to_host ? VECSTANDARD : VecMPI_CUPM::VECCUPM(), &B->defaultvectype)); in Convert_Dispatch_()
/petsc/src/mat/impls/aij/seq/kokkos/
H A Daijkok.kokkos.cxx583 PetscCall(PetscFree(A->defaultvectype)); in MatConvert_SeqAIJ_SeqAIJKokkos()
584 PetscCall(PetscStrallocpy(VECKOKKOS, &A->defaultvectype)); /* Allocate and copy the string */ in MatConvert_SeqAIJ_SeqAIJKokkos()
629 PetscCall(PetscFree(mat->defaultvectype)); in MatDuplicate_SeqAIJKokkos()
630 PetscCall(PetscStrallocpy(VECKOKKOS, &mat->defaultvectype)); /* Allocate and copy the string */ in MatDuplicate_SeqAIJKokkos()
/petsc/src/mat/impls/sell/seq/seqhip/
H A Dsellhip.hip.cxx953 PetscCall(PetscFree(B->defaultvectype)); in MatConvert_SeqSELL_SeqSELLHIP()
954 PetscCall(PetscStrallocpy(VECHIP, &B->defaultvectype)); in MatConvert_SeqSELL_SeqSELLHIP()
/petsc/src/mat/impls/sell/seq/seqcuda/
H A Dsellcuda.cu960 PetscCall(PetscFree(B->defaultvectype)); in MatConvert_SeqSELL_SeqSELLCUDA()
961 PetscCall(PetscStrallocpy(VECCUDA, &B->defaultvectype)); in MatConvert_SeqSELL_SeqSELLCUDA()
/petsc/src/mat/impls/dense/seq/
H A Ddense.c3378 PetscCall(PetscStrcmpAny(A->defaultvectype, &isstd, VECSTANDARD, VECSEQ, VECMPI, "")); in MatDenseCreateColumnVec_Private()
3379 PetscCall(PetscStrcmpAny(A->defaultvectype, &iskok, VECKOKKOS, VECSEQKOKKOS, VECMPIKOKKOS, "")); in MatDenseCreateColumnVec_Private()
3380 PetscCall(PetscStrcmpAny(A->defaultvectype, &iscuda, VECCUDA, VECSEQCUDA, VECMPICUDA, "")); in MatDenseCreateColumnVec_Private()
3381 PetscCall(PetscStrcmpAny(A->defaultvectype, &iship, VECHIP, VECSEQHIP, VECMPIHIP, "")); in MatDenseCreateColumnVec_Private()
3407 …ck(*v, PetscObjectComm((PetscObject)A), PETSC_ERR_SUP, "Not coded for type %s", A->defaultvectype); in MatDenseCreateColumnVec_Private()
/petsc/src/mat/impls/aij/mpi/kokkos/
H A Dmpiaijkok.kokkos.cxx1734 PetscCall(PetscFree(B->defaultvectype)); in MatConvert_MPIAIJ_MPIAIJKokkos()
1735 PetscCall(PetscStrallocpy(VECKOKKOS, &B->defaultvectype)); in MatConvert_MPIAIJ_MPIAIJKokkos()
/petsc/src/mat/impls/maij/
H A Dmaij.c1043 PetscCall(MatSetVecType(B, A->defaultvectype)); in MatCreateMAIJ()
/petsc/include/petsc/private/
H A Dmatimpl.h506 char *defaultvectype; member
/petsc/src/mat/impls/dense/seq/cupm/
H A Dmatseqdensecupm.hpp916 …PetscCall(PetscStrFreeAllocpy(to_host ? VECSTANDARD : VecSeq_CUPM::VECCUPM(), &B->defaultvectype)); in Convert_Dispatch_()
/petsc/src/mat/impls/is/
H A Dmatis.c2564 PetscCall(PetscFree(A->defaultvectype)); in MatISSetUpScatters_Private()
2565 PetscCall(PetscStrallocpy(rtype, &A->defaultvectype)); in MatISSetUpScatters_Private()

12