| /petsc/src/tao/unconstrained/impls/lmvm/tests/ |
| H A D | ex1.c | 41 VecType vec_type; in main() local 43 PetscCall(VecGetType(ctx.b, &vec_type)); in main() 44 …PetscCall(MatCreateDenseFromVecType(comm, vec_type, M, N, PETSC_DECIDE, PETSC_DECIDE, -1, NULL, &c… in main()
|
| /petsc/src/tao/unconstrained/tutorials/ |
| H A D | rosenbrock4.h | 146 VecType vec_type; in CreateHessian() local 198 PetscCall(MatGetVecType(H, &vec_type)); in CreateHessian() 201 PetscCall(VecSetType(user->Hvalues, vec_type)); in CreateHessian() 206 PetscCall(VecSetType(user->fvector, vec_type)); in CreateHessian() 229 …PetscCall(MatCreateDenseFromVecType(PETSC_COMM_SELF, vec_type, warmup_size, warmup_size, warmup_si… in CreateHessian() 253 VecType vec_type; in CreateVectors() local 265 PetscCall(VecGetType(x, &vec_type)); in CreateVectors() 282 PetscCall(VecSetType(user->off_process_values, vec_type)); in CreateVectors() 300 PetscCall(VecSetType(user->gvalues, vec_type)); in CreateVectors()
|
| /petsc/src/ksp/ksp/utils/lmvm/ |
| H A D | lmproducts.c | 24 VecType vec_type; in LMProductsCreate() local 28 PetscCall(VecGetType((*dots)->diagonal_local, &vec_type)); in LMProductsCreate() 31 PetscCall(VecSetType((*dots)->diagonal_dup, vec_type)); in LMProductsCreate() 34 VecType vec_type; in LMProductsCreate() local 36 PetscCall(MatGetVecType(basis->vecs, &vec_type)); in LMProductsCreate() 37 …PetscCall(MatCreateDenseFromVecType(PetscObjectComm((PetscObject)basis->vecs), vec_type, m_local, … in LMProductsCreate()
|
| H A D | lmvmutils.c | 62 VecType vec_type; in MatLMVMCreateJ0() local 69 PetscCall(MatGetVecType(B, &vec_type)); in MatLMVMCreateJ0() 70 PetscCall(MatSetVecType(*J0, vec_type)); in MatLMVMCreateJ0() 285 VecType vec_type; in MatLMVMSetJ0Diag() local 296 PetscCall(VecGetType(V, &vec_type)); in MatLMVMSetJ0Diag() 297 PetscCall(MatSetVecType(J0diag, vec_type)); in MatLMVMSetJ0Diag()
|
| /petsc/src/ksp/ksp/utils/lmvm/dense/ |
| H A D | denseqn.c | 148 VecType vec_type; in MatAllocate_LMVMDQN_Internal() local 165 PetscCall(VecGetType(lmvm->Xprev, &vec_type)); in MatAllocate_LMVMDQN_Internal() 167 PetscCall(MatCreateDenseFromVecType(comm, vec_type, m, m, M, M, -1, NULL, &lqn->StY_triu)); in MatAllocate_LMVMDQN_Internal() 168 PetscCall(MatCreateDenseFromVecType(comm, vec_type, m, m, M, M, -1, NULL, &lqn->YtS_triu)); in MatAllocate_LMVMDQN_Internal() 172 PetscCall(MatCreateDenseFromVecType(comm, vec_type, m, m, M, M, -1, NULL, &lqn->YtS_triu)); in MatAllocate_LMVMDQN_Internal() 177 PetscCall(MatCreateDenseFromVecType(comm, vec_type, m, m, M, M, -1, NULL, &lqn->StY_triu)); in MatAllocate_LMVMDQN_Internal()
|
| /petsc/doc/changes/ |
| H A D | 314.md | 56 CUDA backend, and then use -vec_type kokkos -mat_type aijkokkos. 94 - Fix memory leaks when requesting -vec_type
|
| H A D | 2024.md | 167 `VecCreate(`) are now `-vec_type mpi` or `-vec_type shared`
|
| /petsc/src/tao/constrained/impls/almm/ |
| H A D | almm.c | 142 VecType vec_type; in TaoSetUp_ALMM() local 151 PetscCall(VecGetType(tao->solution, &vec_type)); in TaoSetUp_ALMM()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexsfc.c | 1108 VecType vec_type; in DMPeriodicCoordinateSetUp_Internal() local 1139 PetscCall(VecGetType(L, &vec_type)); in DMPeriodicCoordinateSetUp_Internal() 1140 PetscCall(VecSetType(P, vec_type)); in DMPeriodicCoordinateSetUp_Internal()
|
| /petsc/src/vec/vec/interface/ |
| H A D | rvector.c | 1436 VecType vec_type; in VecConcatenate() local 1453 PetscCall(VecGetType(*X, &vec_type)); in VecConcatenate() 1464 PetscCall(VecSetType(Ytmp, vec_type)); in VecConcatenate()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | DM.pyx | 821 def setVecType(self, vec_type: Vec.Type | str) -> None: 832 vec_type = str2bytes(vec_type, &vtype)
|
| H A D | Mat.pyx | 642 def setVecType(self, vec_type: Vec.Type | str) -> None: 649 vec_type 658 vec_type = str2bytes(vec_type, &cval) 675 def setNestVecType(self, vec_type: Vec.Type | str) -> None: 682 vec_type 691 vec_type = str2bytes(vec_type, &cval)
|
| H A D | Vec.pyx | 199 def setType(self, vec_type: Type | str) -> None: 206 vec_type 215 vec_type = str2bytes(vec_type, &cval)
|
| /petsc/src/ksp/ksp/tutorials/output/ |
| H A D | ex2_help.out | 78 -vec_type <now seq : formerly seq>: Vector type (one of) shared standard mpi seq (VecSetType)
|
| /petsc/doc/faq/ |
| H A D | index.md | 240 `VecSetType()` or `-vec_type seqcuda`, `mpicuda`, or `cuda` when 251 with `VecSetType()` or `-vec_type seqviennacl`, `mpiviennacl`, or `viennacl`
|
| /petsc/doc/manual/ |
| H A D | vec.md | 56 parallel) over all processes in `comm`. The option `-vec_type <type>`
|