Okay. Then what's the need for DMSetPreallocateOnly()? Oh, I see: preallocate the space, but don't set the exact sparsity pattern.
Okay. Then what's the need for DMSetPreallocateOnly()?