[petsc-users] "Exact-ish" preallocation for (mostly) unstructured mesh with periodic boundary conditions?

Ramsey, James J CIV (US) james.j.ramsey14.civ at mail.mil
Mon Mar 4 07:11:01 CST 2013


--------------------------------------------------------------------------------------------

We have code to do this in PETSc right now. You need to specify your topology using DMPlex, and then just use DMCreateMatrix().

--------------------------------------------------------------------------------------------

Isn't DMPlex (as opposed to DMComplex?) is in petsc-dev rather than in the release versions of PETSc?


More information about the petsc-users mailing list