Lines Matching refs:gcoords_source
284 if (a->gcoords_source != a->gcoords_target) PetscCall(PetscFree(a->gcoords_source)); in MatDestroy_Htool()
450 if (a->gcoords_target != a->gcoords_source) { in MatAssemblyEnd_Htool()
470 …tegy.create_cluster_tree_from_local_partition(A->cmap->N, a->dim, a->gcoords_source, 2, size, offs… in MatAssemblyEnd_Htool()
884 PetscCall(PetscArraycpy(c->gcoords_target, a->gcoords_source, N * c->dim)); in MatTranspose_Htool()
885 if (a->gcoords_target != a->gcoords_source) { in MatTranspose_Htool()
886 PetscCall(PetscMalloc1(M * c->dim, &c->gcoords_source)); in MatTranspose_Htool()
887 PetscCall(PetscArraycpy(c->gcoords_source, a->gcoords_target, M * c->dim)); in MatTranspose_Htool()
888 } else c->gcoords_source = c->gcoords_target; in MatTranspose_Htool()
1114 PetscCall(PetscCalloc1(A->cmap->N * spacedim, &a->gcoords_source)); in MatCreateHtoolFromKernel()
1115 …PetscCall(PetscArraycpy(a->gcoords_source + A->cmap->rstart * spacedim, coords_source, A->cmap->n … in MatCreateHtoolFromKernel()
1116 …PetscCallMPI(MPIU_Allreduce(MPI_IN_PLACE, a->gcoords_source, A->cmap->N * spacedim, MPIU_REAL, MPI… in MatCreateHtoolFromKernel()
1117 } else a->gcoords_source = a->gcoords_target; in MatCreateHtoolFromKernel()
1158 a->gcoords_source = nullptr; in MatCreate_Htool()