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 386 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 392 of file amr_bindings.cpp.

◆ num_leaves()

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

Definition at line 394 of file amr_bindings.cpp.

Referenced by NB_MODULE().

◆ num_levels()

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

Definition at line 395 of file amr_bindings.cpp.

Referenced by NB_MODULE().

◆ apply()

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

Definition at line 398 of file amr_bindings.cpp.

References peclet::amr::pybind::vec1().

Referenced by NB_MODULE().

◆ residual()

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

Definition at line 405 of file amr_bindings.cpp.

Referenced by NB_MODULE().

◆ solve()

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

Definition at line 413 of file amr_bindings.cpp.

References peclet::amr::pybind::vec1().

Referenced by NB_MODULE().


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