|
peclet-amr 0.2.0
Block-local-Morton AMR octree + collocated cut-cell Navier–Stokes solver (header-only C++20, Kokkos + MPI)
|
Public Member Functions | |
| Flow (const Octree &oct, double rho, double mu, double dt) | |
| Flow (DistributedOctree &d, double rho, double mu, double dt) | |
| void | rebalance_mpi (std::function< double(double, double, double)> sdf) |
| void | release () noexcept override |
| Index | num_leaves () const |
| void | set_body_force (double fx, double fy, double fz) |
| void | set_advection (bool on) |
| void | set_ghost_projection (bool on, int matrix_order, int rhs_order) |
| void | set_ghost_sampled (bool on, double rho, long max_samples) |
| void | set_cf_scheme (int scheme) |
| void | begin_adapt () |
| void | set_pressure (nb::ndarray< double, nb::c_contig > h) |
| void | set_dt (double dt) |
| void | finish_adapt (std::function< double(double, double, double)> sdf) |
| void | set_advection_scheme (int s) |
| void | set_implicit_advection (bool on) |
| void | set_solid (std::function< double(double, double, double)> sdf) |
| void | set_solid_spheres (nb::ndarray< const double, nb::c_contig > centers, nb::ndarray< const double, nb::c_contig > radii, bool periodic) |
| void | set_outer_iterations (int n, double tol) |
| void | set_pressure_tolerance (double rtol) |
| void | set_pressure_pcg (bool on) |
| void | set_momentum_tolerance (double rtol) |
| void | set_pressure_bottom (const std::string &mode) |
| void | set_pressure_bottom_extent (long cells) |
| long | pressure_bottom_extent () const |
| void | step (int mom_iters, int pres_iters) |
| nb::ndarray< nb::numpy, double > | velocity (int c) const |
| nb::ndarray< nb::numpy, double > | velocities () const |
| nb::ndarray< nb::numpy, bool > | is_fluid () const |
| double | divergence_norm () |
| nb::ndarray< nb::numpy, double > | pressure () const |
| nb::ndarray< nb::numpy, double > | face_field () const |
| void | set_velocity (int c, nb::ndarray< double, nb::c_contig > h) |
| void | project (int pres_iters) |
| amr::AmrFlow & | engine () |
| The developer tier (QUALITY_PLAN D2): FlowDiagnostics reaches the solver through this. | |
Definition at line 461 of file amr_bindings.cpp.
|
inline |
Definition at line 463 of file amr_bindings.cpp.
References peclet::amr::pybind::Octree::geoRef(), peclet::amr::AmrGeometry< Dim >::h0, peclet::amr::pybind::Octree::octreeRef(), and peclet::amr::AmrGeometry< Dim >::origin.
|
inline |
Definition at line 804 of file amr_bindings.cpp.
References peclet::amr::pybind::DistributedOctree::ref().
|
inline |
Definition at line 481 of file amr_bindings.cpp.
Referenced by NB_MODULE().
|
inlineoverridenoexcept |
Definition at line 486 of file amr_bindings.cpp.
|
inline |
Definition at line 488 of file amr_bindings.cpp.
Referenced by NB_MODULE().
|
inline |
Definition at line 489 of file amr_bindings.cpp.
|
inline |
Definition at line 490 of file amr_bindings.cpp.
Referenced by NB_MODULE().
|
inline |
Definition at line 491 of file amr_bindings.cpp.
|
inline |
Definition at line 494 of file amr_bindings.cpp.
|
inline |
Definition at line 497 of file amr_bindings.cpp.
|
inline |
Definition at line 501 of file amr_bindings.cpp.
Referenced by NB_MODULE().
|
inline |
Definition at line 502 of file amr_bindings.cpp.
|
inline |
Definition at line 505 of file amr_bindings.cpp.
|
inline |
Definition at line 506 of file amr_bindings.cpp.
Referenced by NB_MODULE().
|
inline |
Definition at line 511 of file amr_bindings.cpp.
|
inline |
Definition at line 512 of file amr_bindings.cpp.
Referenced by NB_MODULE().
|
inline |
Definition at line 517 of file amr_bindings.cpp.
Referenced by NB_MODULE().
|
inline |
Definition at line 535 of file amr_bindings.cpp.
|
inline |
Definition at line 563 of file amr_bindings.cpp.
|
inline |
Definition at line 564 of file amr_bindings.cpp.
|
inline |
Definition at line 567 of file amr_bindings.cpp.
Referenced by NB_MODULE().
|
inline |
Definition at line 568 of file amr_bindings.cpp.
|
inline |
Definition at line 573 of file amr_bindings.cpp.
Referenced by NB_MODULE().
|
inline |
Definition at line 574 of file amr_bindings.cpp.
Referenced by NB_MODULE().
|
inline |
Definition at line 577 of file amr_bindings.cpp.
Referenced by NB_MODULE().
|
inline |
Definition at line 580 of file amr_bindings.cpp.
|
inline |
Definition at line 583 of file amr_bindings.cpp.
References peclet::amr::pybind::vec1().
Referenced by NB_MODULE().
|
inline |
Definition at line 592 of file amr_bindings.cpp.
References peclet::amr::pybind::vec2().
Referenced by NB_MODULE().
|
inline |
Definition at line 595 of file amr_bindings.cpp.
Referenced by NB_MODULE().
|
inline |
Definition at line 606 of file amr_bindings.cpp.
Referenced by NB_MODULE().
|
inline |
Definition at line 609 of file amr_bindings.cpp.
References peclet::amr::pybind::vec1().
Referenced by NB_MODULE().
|
inline |
Definition at line 611 of file amr_bindings.cpp.
References peclet::amr::pybind::vec1().
Referenced by NB_MODULE().
|
inline |
Definition at line 614 of file amr_bindings.cpp.
|
inline |
Definition at line 618 of file amr_bindings.cpp.
|
inline |
The developer tier (QUALITY_PLAN D2): FlowDiagnostics reaches the solver through this.
Definition at line 620 of file amr_bindings.cpp.