Searched refs:vimpl (Results 1 – 2 of 2) sorted by relevance
100 const auto vimpl = VecIMPLCast(v); variable106 PetscAssertPointer(vimpl, 1);114 PetscCall(PetscPrintf(comm, "Host ptr: %p\n", vimpl->array));467 if (const auto vimpl = VecIMPLCast(v)) { in DestroyHost_() local468 if (auto &array_allocated = vimpl->array_allocated) { in DestroyHost_()760 const auto vimpl = VecIMPLCast(v); in ReplaceArray() local761 auto &host_array = vimpl->array_allocated; in ReplaceArray()765 if (host_array != vimpl->array) PetscCall(CopyToHost_(dctx, v)); in ReplaceArray()772 vimpl->array = host_array; in ReplaceArray()814 const auto vimpl = VecIMPLCast(v); in ResetArray() local[all …]
119 const auto vimpl = VecIMPLCast(v); in Duplicate() local120 const auto nghost = vimpl->nghost; in Duplicate()129 if (const auto locrep = vimpl->localrep) { in Duplicate()138 …if (const auto scatter = (yimpl->localupdate = vimpl->localupdate)) PetscCall(PetscObjectReference… in Duplicate()