Re: [petsc-users] Using DMPlex

2017-12-25 Thread Mohammad Hassan Baghaei
Hello I want to know whether is it possible that a specific field in the section have been defined at some time on edges and other times on the vertices. This change in the dof , I think, may cause problem, especially in the global vector size of the dm. At times when the field changes to be

Re: [petsc-users] Linear system solvers for unsymmetrical matrix

2017-12-25 Thread Smith, Barry F.
Normally for pressure Poisson's with standard discretizations such as finite differences, finite elements/volumes multigrid (either geometric or algebraic depending on the circumstances) is absolutely the go to method and it is rare to have a reason to use something else. For SPH you will

Re: [petsc-users] Linear system solvers for unsymmetrical matrix

2017-12-25 Thread Smith, Barry F.
Most of the linear solvers in PETSc are suitable for non symmetric problems. You should not use KSPCG, KSPCR or PCCHOLESKY since they are only for symmetric problems. Finding the best solver for your problem depends on your problem and how large a problem you want to solve. Please tell