GithubHelp home page GithubHelp logo

Comments (4)

zingale avatar zingale commented on August 13, 2024

Hypre is only used in Castro for the implicit part of the radiation solve and that is only done a level at a time.

from castro.

zongy17 avatar zongy17 commented on August 13, 2024

Thanks for your comments! I tried reading the Castro's paper (https://arxiv.org/abs/1105.2466), and noticed that in Section 4, it said

The AMR version of the implicit radiation diffusion update is based on Howell & Greenough (2003), but with
several important differences: The present algorithm is fully-implicit, not time-centered. The optional multilevel
linear solve at the beginning of each coarse time step is no longer included—this feature was introduced to improve accuracy but we now consider it unnecessary in most cases. Finally, the multilevel linear solve for flux synchronization between coarse and fine levels is replaced by a new algorithm we call the “deferred sync.” These changes entirely eliminate the need to compute linear system solutions coupling different levels of the AMR hierarchy, while not compromising conservation of total
energy. Performance is significantly improved because multilevel linear solvers tend to be more complex and
expensive than those for single-level systems.

So, Castro does NOT do a multi-AMR level composite solve (i.e., all unknowns on different AMR levels are solved simultaneously) at any time, because consecutive single-level solve is more efficient. The single-level solve means that an external multigrid solver could be used for each AMR level independently. For Structured AMR problems, single-level solve one-by-one is enough.

Is my understanding correct?

from castro.

zingale avatar zingale commented on August 13, 2024

For gravity, the multigrid does composite solves.

The radiation stuff is not widely used, and I don't fully remember the details.

from castro.

zingale avatar zingale commented on August 13, 2024

closing due to lack of activity

from castro.

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.