Home
last modified time | relevance | path

Searched refs:petsc_loc (Results 1 – 1 of 1) sorted by relevance

/petsc/src/vec/is/ao/impls/memscalable/
H A Daomemscalable.c10 PetscInt *petsc_loc; /* petsc_loc[j] is the partner for the jth local app slot */ member
25 PetscInt *app, *app_loc, *petsc, *petsc_loc, len, j; in AOView_MemoryScalable() local
46 …T " %3" PetscInt_FMT " %3" PetscInt_FMT "\n", i, aomems->app_loc[i], i, aomems->petsc_loc[i])); in AOView_MemoryScalable()
52 petsc_loc = petsc + map->range[i]; in AOView_MemoryScalable()
54 …PetscCallMPI(MPIU_Recv(petsc_loc, len, MPIU_INT, i, tag_petsc, PetscObjectComm((PetscObject)ao), &… in AOView_MemoryScalable()
56 …Int_FMT " %3" PetscInt_FMT "\n", map->range[i] + j, app_loc[j], map->range[i] + j, petsc_loc[j])); in AOView_MemoryScalable()
63 …PetscCallMPI(MPIU_Send((void *)aomems->petsc_loc, map->n, MPIU_INT, 0, tag_petsc, PetscObjectComm(… in AOView_MemoryScalable()
74 PetscCall(PetscFree2(aomems->app_loc, aomems->petsc_loc)); in AODestroy_MemoryScalable()
248 PetscInt *petsc_loc = aomems->petsc_loc; in AOApplicationToPetsc_MemoryScalable() local
251 PetscCall(AOMap_MemoryScalable_private(ao, n, ia, petsc_loc)); in AOApplicationToPetsc_MemoryScalable()
[all …]