Searched refs:commgrid (Results 1 – 1 of 1) sorted by relevance
1067 Mat_Elemental_Grid *commgrid; in MatDestroy_Elemental() local1078 PetscCallMPI(MPI_Comm_get_attr(icomm, Petsc_Elemental_keyval, (void **)&commgrid, &iflg)); in MatDestroy_Elemental()1079 if (--commgrid->grid_refct == 0) { in MatDestroy_Elemental()1080 delete commgrid->grid; in MatDestroy_Elemental()1081 PetscCall(PetscFree(commgrid)); in MatDestroy_Elemental()1339 Mat_Elemental_Grid *commgrid; in MatCreate_Elemental() local1359 PetscCallMPI(MPI_Comm_get_attr(icomm, Petsc_Elemental_keyval, (void **)&commgrid, &iflg)); in MatCreate_Elemental()1361 PetscCall(PetscNew(&commgrid)); in MatCreate_Elemental()1368 commgrid->grid = new El::Grid(cxxcomm, optv1); /* use user-provided grid height */ in MatCreate_Elemental()1370 commgrid->grid = new El::Grid(cxxcomm); /* use Elemental default grid sizes */ in MatCreate_Elemental()[all …]