Searched refs:maxbs (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/impls/da/ |
| H A D | grvtk.c | 46 PetscInt dim, mx, my, mz, cdim, bs, maxnnodes, maxbs, i, j, k; in DMDAVTKWriteAll_VTS() local 85 maxbs = 0; /* Used for the temporary array size on rank 0 */ in DMDAVTKWriteAll_VTS() 116 maxbs = PetscMax(maxbs, bs); in DMDAVTKWriteAll_VTS() 148 …PetscCall(PetscMalloc2(maxnnodes * PetscMax(3, maxbs), &array, maxnnodes * PetscMax(3, maxbs), &ar… in DMDAVTKWriteAll_VTS() 271 PetscInt dim, mx, my, mz, maxnnodes, maxbs, i, j, k; in DMDAVTKWriteAll_VTR() local 299 maxbs = 0; /* Used for the temporary array size on rank 0 */ in DMDAVTKWriteAll_VTR() 333 maxbs = PetscMax(maxbs, bs); in DMDAVTKWriteAll_VTR() 364 …scCall(PetscMalloc2(PetscMax(maxnnodes * maxbs, info.xm + info.ym + info.zm), &array, PetscMax(max… in DMDAVTKWriteAll_VTR()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexnatural.c | 495 PetscInt nleaves, bs, maxbs; in DMPlexCreateNaturalVector() local 505 … PetscCallMPI(MPIU_Allreduce(&bs, &maxbs, 1, MPIU_INT, MPI_MAX, PetscObjectComm((PetscObject)dm))); in DMPlexCreateNaturalVector() 506 if (bs == 1 && maxbs > 1) bs = maxbs; in DMPlexCreateNaturalVector()
|