Giter Site home page Giter Site logo

Comments (5)

jandrej avatar jandrej commented on July 18, 2024 1

When choosing a preconditioner you have to think about the matrix structure. In an implicit time dependent formulation your most dominant eigenvalues are determined by a mass-type matrix with a scaled diagonal proportional to the time step chosen. As a result you see that the inverse diagonal (Jacobi) is an efficient preconditioner.

from mfem.

najlkin avatar najlkin commented on July 18, 2024

Yes, choice of the preconditioner very much depends on the problem. AMS or similar preconditioners are mainly useful for diffusive cases or hyperbolic with long steps (which get diffusive as well due to numerical effects). For hyperbolic problems with short steps, your solution is just the same profile, but slightly shifted, so there is nothing much to precondition other than a plain integral projection and a cheap Jacobi makes most sense intuitively 😉

from mfem.

Wayne901 avatar Wayne901 commented on July 18, 2024

Thank you jandrej and najlkin, I've checked an article Wathen and it seems Jacobi preconditioner is the appropriate one for mass matrix.
I mostly dealt with Poisson and Helmholtz (definite and indefinite) equations before, where Jacobi behaves poorly. Is there a more efficient preconditioner than Jacobi for a mass-dominated matrix? For example, element-wise Schwarz domain decomposition? I'm interested in the case when applying high-order basis functions.

from mfem.

najlkin avatar najlkin commented on July 18, 2024

Even with Jacobi there is a lot to play with, there are multiple parameters of DSmoother or you may use different HypreSmoother options for Jacobi (or Gauss-Seidel). Feel free to experiment! 😉

from mfem.

Wayne901 avatar Wayne901 commented on July 18, 2024

Thank you @najlkin! I'll compare the performance of different Jacobi settings then.

from mfem.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.