Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
AMReX_Hypre.H File Reference
#include <AMReX_Config.H>
#include <AMReX_Geometry.H>
#include <AMReX_MultiFab.H>
#include <AMReX_BndryData.H>
#include "HYPRE.h"
#include "_hypre_utilities.h"
#include "HYPRE_parcsr_ls.h"
#include <memory>

Go to the source code of this file.

Classes

class  amrex::Hypre
 Lightweight base class shared by HYPRE-backed linear solvers, HypreABecLap, HypreABecLap2, and HypreABecLap3. More...
 

Namespaces

namespace  amrex
 
namespace  amrex::HypreDefaults
 BoomerAMG defaults.
 

Functions

void amrex::HypreDefaults::setGpuOptions (HYPRE_Solver solver)
 Coarsening, interpolation and transpose options for GPU builds.
 
std::unique_ptr< Hypre > amrex::makeHypre (const BoxArray &grids, const DistributionMapping &dmap, const Geometry &geom, MPI_Comm comm_, Hypre::Interface interface, const iMultiFab *overset_mask=nullptr)
 Factory that instantiates the requested HYPRE interface.
 

Variables

constexpr bool amrex::HypreDefaults::gpu = false
 
constexpr bool amrex::HypreDefaults::old_default = !gpu
 Falgout coarsening with modified classical interpolation.
 
constexpr int amrex::HypreDefaults::coarsen_type = gpu ? 8 : 6
 
constexpr int amrex::HypreDefaults::interp_type = gpu ? 6 : 0
 
constexpr int amrex::HypreDefaults::pmax_elmts = 4
 
constexpr int amrex::HypreDefaults::keep_transpose = gpu ? 1 : 0
 
constexpr int amrex::HypreDefaults::relax_type = gpu ? 18 : 6
 
constexpr int amrex::HypreDefaults::relax_order = gpu ? 0 : 1
 

Detailed Description

Base class and factory helpers that wrap HYPRE solvers for AMReX (struct, semi-struct, and IJ interfaces).