Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexpreallocate.c701 static PetscErrorCode DMPlexUpdateAllocation_Static(DM dm, PetscLayout rLayout, PetscInt bs, PetscI… in DMPlexUpdateAllocation_Static() argument
708 PetscCall(PetscLayoutGetRange(rLayout, &rStart, &rEnd)); in DMPlexUpdateAllocation_Static()
709 …PetscCheck((rStart % bs) == 0 && (rEnd % bs) == 0, PetscObjectComm((PetscObject)rLayout), PETSC_ER… in DMPlexUpdateAllocation_Static()
761 static PetscErrorCode DMPlexFillMatrix_Static(DM dm, PetscLayout rLayout, PetscInt bs, PetscInt f, … in DMPlexFillMatrix_Static() argument
768 PetscCall(PetscLayoutGetRange(rLayout, &rStart, &rEnd)); in DMPlexFillMatrix_Static()
835 PetscLayout rLayout; in DMPlexPreallocateOperator() local
874 PetscCall(PetscLayoutCreate(comm, &rLayout)); in DMPlexPreallocateOperator()
875 PetscCall(PetscLayoutSetLocalSize(rLayout, locRows)); in DMPlexPreallocateOperator()
876 PetscCall(PetscLayoutSetBlockSize(rLayout, 1)); in DMPlexPreallocateOperator()
877 PetscCall(PetscLayoutSetUp(rLayout)); in DMPlexPreallocateOperator()
[all …]
H A Dplexfem.c3350 PetscLayout rLayout; in DMPlexComputeMassMatrixGeneral() local
3374 PetscCall(PetscLayoutCreate(PetscObjectComm((PetscObject)mass), &rLayout)); in DMPlexComputeMassMatrixGeneral()
3375 PetscCall(PetscLayoutSetLocalSize(rLayout, locRows)); in DMPlexComputeMassMatrixGeneral()
3376 PetscCall(PetscLayoutSetBlockSize(rLayout, 1)); in DMPlexComputeMassMatrixGeneral()
3377 PetscCall(PetscLayoutSetUp(rLayout)); in DMPlexComputeMassMatrixGeneral()
3378 PetscCall(PetscLayoutGetRange(rLayout, &rStart, &rEnd)); in DMPlexComputeMassMatrixGeneral()
3379 PetscCall(PetscLayoutDestroy(&rLayout)); in DMPlexComputeMassMatrixGeneral()
/petsc/src/dm/impls/swarm/
H A Dswarm.c474 PetscLayout rLayout, colLayout; in DMSwarmComputeMassMatrix_Private() local
507 PetscCall(PetscLayoutCreate(comm, &rLayout)); in DMSwarmComputeMassMatrix_Private()
508 PetscCall(PetscLayoutSetLocalSize(rLayout, locRows)); in DMSwarmComputeMassMatrix_Private()
509 PetscCall(PetscLayoutSetBlockSize(rLayout, 1)); in DMSwarmComputeMassMatrix_Private()
510 PetscCall(PetscLayoutSetUp(rLayout)); in DMSwarmComputeMassMatrix_Private()
511 PetscCall(PetscLayoutGetRange(rLayout, &rStart, NULL)); in DMSwarmComputeMassMatrix_Private()
512 PetscCall(PetscLayoutDestroy(&rLayout)); in DMSwarmComputeMassMatrix_Private()
697 PetscLayout rLayout, colLayout; in DMSwarmComputeMassMatrixSquare_Private() local
730 PetscCall(PetscLayoutCreate(comm, &rLayout)); in DMSwarmComputeMassMatrixSquare_Private()
731 PetscCall(PetscLayoutSetLocalSize(rLayout, locRows)); in DMSwarmComputeMassMatrixSquare_Private()
[all …]