Searched refs:unplacedarray (Results 1 – 10 of 10) sorted by relevance
| /petsc/src/vec/vec/impls/seq/seqviennacl/ |
| H A D | vecviennacl.cxx | 301 v->array = v->unplacedarray; in VecResetArray_SeqViennaCL_Private() 302 v->unplacedarray = 0; in VecResetArray_SeqViennaCL_Private() 1075 …PetscCheck(!((Vec_Seq *)vin->data)->unplacedarray, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "Vec… in VecViennaCLPlaceArray() 1076 …((Vec_Seq *)vin->data)->unplacedarray = (PetscScalar *)((Vec_ViennaCL *)vin->spptr)->GPUarray; /*… in VecViennaCLPlaceArray() 1101 ((Vec_ViennaCL *)vin->spptr)->GPUarray = (ViennaCLVector *)((Vec_Seq *)vin->data)->unplacedarray; in VecViennaCLResetArray() 1102 ((Vec_Seq *)vin->data)->unplacedarray = 0; in VecViennaCLResetArray()
|
| /petsc/src/vec/vec/impls/mpi/ |
| H A D | pbvec.c | 14 …PetscCheck(!v->unplacedarray, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "VecPlaceArray() was alre… in VecPlaceArray_MPI() 15 v->unplacedarray = v->array; /* save previous array so reset can bring it back */ in VecPlaceArray_MPI() 136 v->array = v->unplacedarray; in VecResetArray_MPI() 137 v->unplacedarray = NULL; in VecResetArray_MPI()
|
| /petsc/src/mat/impls/dense/seq/ |
| H A D | dense.h | 15 …PetscScalar *unplacedarray; /* if one called MatDensePlaceArray(), this is where it stashed the o… member
|
| H A D | dense.c | 1665 …PetscCheck(!a->unplacedarray, PETSC_COMM_SELF, PETSC_ERR_ORDER, "Need to call MatDenseResetArray()… in MatDensePlaceArray_SeqDense() 1666 a->unplacedarray = a->v; in MatDensePlaceArray_SeqDense() 1683 a->v = a->unplacedarray; in MatDenseResetArray_SeqDense() 1685 a->unplacedarray = NULL; in MatDenseResetArray_SeqDense() 1719 if (!l->unplaced_user_alloc) PetscCall(PetscFree(l->unplacedarray)); in MatDestroy_SeqDense()
|
| /petsc/src/mat/impls/dense/seq/cupm/ |
| H A D | matseqdensecupm.hpp | 37 …PetscScalar *unplacedarray; // if one called MatCUPMDensePlaceArray(), this is where it stashed th… member 1033 …PetscCheck(!mcu->unplacedarray, PETSC_COMM_SELF, PETSC_ERR_ORDER, "MatDense%sResetArray() must be … in Reset() 1238 …PetscCheck(!mcu->unplacedarray, PETSC_COMM_SELF, PETSC_ERR_ORDER, "MatDense%sResetArray() must be … in PlaceArray() 1245 mcu->unplacedarray = util::exchange(mcu->d_v, const_cast<PetscScalar *>(array)); in PlaceArray() 1259 …PetscCheck(!mcu->unplacedarray, PETSC_COMM_SELF, PETSC_ERR_ORDER, "MatDense%sResetArray() must be … in ReplaceArray() 1286 mcu->d_v = util::exchange(mcu->unplacedarray, nullptr); in ResetArray()
|
| /petsc/src/vec/vec/impls/seq/ |
| H A D | dvec2.c | 857 …PetscCheck(!v->unplacedarray, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "VecPlaceArray() was alre… in VecPlaceArray_Seq() 858 v->unplacedarray = v->array; /* save previous array so reset can bring it back */ in VecPlaceArray_Seq()
|
| H A D | bvec2.c | 146 v->array = v->unplacedarray; in VecResetArray_Seq() 147 v->unplacedarray = NULL; in VecResetArray_Seq()
|
| /petsc/include/petsc/private/ |
| H A D | vecimpl.h | 233 …PetscScalar *unplacedarray; /* if one called VecPlaceArray(), this is where it stashed the origi…
|
| H A D | veccupmimpl.h | 731 auto &backup_array = VecIMPLCast(v)->unplacedarray; in PlaceArray() 815 auto &host_array = vimpl->unplacedarray; in ResetArray()
|
| /petsc/src/vec/vec/impls/seq/cupm/ |
| H A D | vecseqcupm_impl.hpp | 366 wseq->unplacedarray = nullptr; in GetLocalVector()
|