Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
AMReX_PETSc.H File Reference
#include <AMReX_Config.H>
#include <AMReX_Geometry.H>
#include <AMReX_MultiFab.H>
#include <AMReX_LayoutData.H>
#include <AMReX_BndryData.H>
#include <petscsystypes.h>

Go to the source code of this file.

Classes

class  amrex::PETScABecLap
 PETSc wrapper that assembles/solves (a alpha - b div beta grad) phi = rhs. More...
 

Namespaces

namespace  amrex
 

Functions

std::unique_ptr< PETScABecLapamrex::makePetsc (const BoxArray &grids, const DistributionMapping &dmap, const Geometry &geom, MPI_Comm comm_)
 Factory helper that instantiates a PETSc ABec Laplacian on one level.
 

Detailed Description

PETSc-backed ABecLaplacian solver hooks (constructor, coefficients, and helpers).