Searched refs:mypetsc (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/vec/is/ao/impls/mapping/ |
| H A D | aomapping.c | 238 …eMapping(MPI_Comm comm, PetscInt napp, const PetscInt myapp[], const PetscInt mypetsc[], AO *aoout) in AOCreateMapping() argument 275 if (!mypetsc) { in AOCreateMapping() 280 petsc = (PetscInt *)mypetsc; in AOCreateMapping() 319 if (!mypetsc) PetscCall(PetscFree(petsc)); in AOCreateMapping() 350 const PetscInt *mypetsc, *myapp; in AOCreateMappingIS() local 359 PetscCall(ISGetIndices(ispetsc, &mypetsc)); in AOCreateMappingIS() 361 mypetsc = NULL; in AOCreateMappingIS() 365 PetscCall(AOCreateMapping(comm, napp, myapp, mypetsc, aoout)); in AOCreateMappingIS() 368 if (ispetsc) PetscCall(ISRestoreIndices(ispetsc, &mypetsc)); in AOCreateMappingIS()
|
| /petsc/src/vec/is/ao/impls/basic/ |
| H A D | aobasic.c | 161 const PetscInt *myapp, *mypetsc = NULL; in AOCreate_Basic() local 196 PetscCall(ISGetIndices(ispetsc, &mypetsc)); in AOCreate_Basic() 197 petsc = (PetscInt *)mypetsc; in AOCreate_Basic() 233 if (napp && !mypetsc) PetscCall(PetscFree(petsc)); in AOCreate_Basic() 244 PetscCall(ISRestoreIndices(ispetsc, &mypetsc)); in AOCreate_Basic() 275 …ateBasic(MPI_Comm comm, PetscInt napp, const PetscInt myapp[], const PetscInt mypetsc[], AO *aoout) in AOCreateBasic() argument 278 const PetscInt *app = myapp, *petsc = mypetsc; in AOCreateBasic() 282 if (mypetsc) { in AOCreateBasic() 289 if (mypetsc) PetscCall(ISDestroy(&ispetsc)); in AOCreateBasic()
|
| /petsc/src/vec/is/ao/impls/memscalable/ |
| H A D | aomemscalable.c | 388 const PetscInt *mypetsc, *myapp; in AOCreate_MemoryScalable() local 424 PetscCall(ISGetIndices(ispetsc, &mypetsc)); in AOCreate_MemoryScalable() 425 petsc = (PetscInt *)mypetsc; in AOCreate_MemoryScalable() 452 PetscCall(ISRestoreIndices(ispetsc, &mypetsc)); in AOCreate_MemoryScalable() 484 …Scalable(MPI_Comm comm, PetscInt napp, const PetscInt myapp[], const PetscInt mypetsc[], AO *aoout) in AOCreateMemoryScalable() argument 487 const PetscInt *app = myapp, *petsc = mypetsc; in AOCreateMemoryScalable() 491 if (mypetsc) { in AOCreateMemoryScalable() 498 if (mypetsc) PetscCall(ISDestroy(&ispetsc)); in AOCreateMemoryScalable()
|