AMReX-Codes / amrex

AMReX: Software Framework for Block Structured AMR
https://amrex-codes.github.io/amrex
Other
553 stars 352 forks source link

Add more build options for linear solvers #4181

Closed WeiqunZhang closed 1 month ago

WeiqunZhang commented 1 month ago

Add two new CMake build options, AMReX_LINEAR_SOLVERS_INCFLO and AMReX_LINEAR_SOLVERS_EM. Both options depend on AMReX_LINEAR_SOLVERS, and are enabled by default when AMReX_LINEAR_SOLVERS is enabled. By default, the cell-centered MLABecLaplacian and MLPoisson solvers are always included. However, these new build options provide finer control over which solvers to build.

These options are also available in GNU Make as USE_LINEAR_SOLVERS_INCFLO and USE_LINEAR_SOLVER_EM.