Code Monkey home page Code Monkey logo

Comments (8)

ulrikeyang avatar ulrikeyang commented on August 12, 2024

from hypre.

bobby-philip avatar bobby-philip commented on August 12, 2024

I have a nonsymmetric system and empirically tried a bunch of different configurations to see which one would converge best. What I have is:

call HYPRE_BoomerAMGSetStrongThrshld (amg_solver, 0.25_REAL64, error_status)
call HYPRE_BoomerAMGSetCycleRelaxType (amg_solver, 8_SINT, 1_INT64, error_status)
call HYPRE_BoomerAMGSetCycleRelaxType (amg_solver, 8_SINT, 2_INT64, error_status)
call HYPRE_BoomerAMGSetCycleRelaxType (amg_solver, 9_SINT, 3_INT64, error_status)
call HYPRE_BoomerAMGSetCoarsenType (amg_solver, 10_INT64)
call HYPRE_BoomerAMGSetMaxCoarseSize (amg_solver, 16_INT64, error_status)
call HYPRE_BoomerAMGSetInterpType (amg_solver, 7_INT64, error_status)
call HYPRE_BoomerAMGSetPMaxElmts (amg_solver, 0_INT64, error_status)
call HYPRE_BoomerAMGSetMaxRowSum(amg_solver, 0.7_REAL64, error_status)

from hypre.

bobby-philip avatar bobby-philip commented on August 12, 2024

If this set of parameters is problematic, it would be great if you could suggest an alternative set of parameters for nonsymmetric systems that would not incur a high setup cost as I am using BoomerAMG as a preconditioner.

from hypre.

bensworth avatar bensworth commented on August 12, 2024

@bobby-philip what kind of problem are you solving? We recently added a nonsymmetric AMG routine to hypre called AIR that works well on some nonsymmetric problems, primarily designed for transport applications. The setup cost is not particularly low right now, but convergence is quite good on some problems. There is not an example yet, but I am happy to help get you setup w/ the parameters.

from hypre.

bobby-philip avatar bobby-philip commented on August 12, 2024

Hi, I had actually sent Ruipeng a matrix where AIR does not perform well - convergence is bad. Would be wonderful if you could look at it. At present I have the AIR options turned off in the application I am working with but it would be easy to turn them back on and modify according to your suggestions. I did read the papers you and Tom and written. It was nice :-)

from hypre.

bensworth avatar bensworth commented on August 12, 2024

Happy to look at it, send me an email at ben (dot) southworth (at) colorado.edu!

from hypre.

bobby-philip avatar bobby-philip commented on August 12, 2024

I've sent you an email with an example matrix

from hypre.

rfalgout avatar rfalgout commented on August 12, 2024

Has this issue been resolved? Thanks! -Rob

from hypre.

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.