Searched refs:newmax (Results 1 – 2 of 2) sorted by relevance
64 …PetscClassId newmax = PETSC_SMALLEST_CLASSID + 2 * (PETSC_LARGEST_CLASSID - PETSC_SMALLEST… in PetscFortranCallbackRegister() local67 PetscCall(PetscCalloc1(newmax - PETSC_SMALLEST_CLASSID, &newbase)); in PetscFortranCallbackRegister()72 _maxclassid = newmax; in PetscFortranCallbackRegister()
787 unsigned int newmax = maxZoneID + 1; in DMPlexCreateFluent() local789 while (newmax < s.zoneID + 1) newmax *= 2; in DMPlexCreateFluent()790 PetscCall(PetscCalloc2(newmax, &tmp, newmax, &tmpL)); in DMPlexCreateFluent()795 maxZoneID = newmax; in DMPlexCreateFluent()