peclet-amr 0.2.0
Block-local-Morton AMR octree + collocated cut-cell Navier–Stokes solver (header-only C++20, Kokkos + MPI)
Loading...
Searching...
No Matches
peclet::amr::pybind::Poisson Class Reference
Inheritance diagram for peclet::amr::pybind::Poisson:

Public Member Functions

 Poisson (const Octree &oct, bool periodic)
 
void release () noexcept override
 
Index num_leaves () const
 
std::size_t num_levels () const
 
nb::ndarray< nb::numpy, double > apply (DArray u)
 
double residual (DArray u, DArray rhs)
 
nb::tuple solve (DArray rhs, std::optional< DArray > x0, int cycles, int pre, int post, double tol)
 

Detailed Description

Definition at line 382 of file amr_bindings.cpp.

Constructor & Destructor Documentation

◆ Poisson()

peclet::amr::pybind::Poisson::Poisson ( const Octree &  oct,
bool  periodic 
)
inline

Member Function Documentation

◆ release()

void peclet::amr::pybind::Poisson::release ( )
inlineoverridenoexcept

Definition at line 388 of file amr_bindings.cpp.

◆ num_leaves()

Index peclet::amr::pybind::Poisson::num_leaves ( ) const
inline

Definition at line 390 of file amr_bindings.cpp.

◆ num_levels()

std::size_t peclet::amr::pybind::Poisson::num_levels ( ) const
inline

◆ apply()

nb::ndarray< nb::numpy, double > peclet::amr::pybind::Poisson::apply ( DArray  u)
inline

◆ residual()

double peclet::amr::pybind::Poisson::residual ( DArray  u,
DArray  rhs 
)
inline

◆ solve()

nb::tuple peclet::amr::pybind::Poisson::solve ( DArray  rhs,
std::optional< DArray >  x0,
int  cycles,
int  pre,
int  post,
double  tol 
)
inline

The documentation for this class was generated from the following file: