Set pre-memory-allocation for PETScMatrix instance for GroundwaterFlow.