|
peclet-amr 0.2.0
Block-local-Morton AMR octree + collocated cut-cell Navier–Stokes solver (header-only C++20, Kokkos + MPI)
|
Classes | |
| class | DistributedOctree |
| class | Flow |
| class | FlowDiagnostics |
| class | Octree |
| class | Poisson |
Typedefs | |
| using | BO = amr::BlockOctree< 3 > |
| using | DO = amr::DistributedOctree< 3 > |
| using | Code = BO::Code |
| using | Coord = BO::Coord |
| using | DArray = nb::ndarray< double, nb::c_contig > |
| using | SpacingArg = std::variant< double, std::array< double, 3 > > |
Functions | |
| template<class T > | |
| nb::ndarray< nb::numpy, T > | vec1 (std::vector< T > v) |
| template<class T > | |
| nb::ndarray< nb::numpy, T > | vec2 (std::vector< T > v, std::size_t cols) |
| nb::ndarray< nb::numpy, double > | leafCenters (const BO &t, const amr::AmrGeometry< 3 > &geo) |
| nb::ndarray< nb::numpy, double > | leafSizes (const BO &t, const amr::AmrGeometry< 3 > &geo, int axis) |
| nb::ndarray< nb::numpy, std::int32_t > | leafLevels (const BO &t) |
| nb::ndarray< nb::numpy, std::uint64_t > | leafCodes (const BO &t) |
| nb::ndarray< nb::numpy, double > | vecToArray (std::vector< double > v) |
| std::vector< double > | asField (const BO &t, const DArray &field, const char *who) |
| std::array< double, 3 > | spacingsFromExtent (const std::array< double, 3 > &extent, const std::array< long, 3 > &cells) |
| double | spacingFromExtent (const std::array< double, 3 > &extent, const std::array< long, 3 > &cells) |
| std::array< double, 3 > | spacingOf (const SpacingArg &sp) |
| std::array< long, 3 > | rootCellsOf (const std::array< long, 3 > &cells, unsigned lmax, const char *who) |
| std::array< double, 3 > | resolveSpacing (const std::optional< SpacingArg > &spacing, const std::optional< std::array< double, 3 > > &extent, const std::array< long, 3 > &cells, const char *who) |
| template<class T > | |
| void | bindOctreeCommon (nb::class_< T > &c) |
Definition at line 72 of file amr_bindings.cpp.
Definition at line 73 of file amr_bindings.cpp.
Definition at line 74 of file amr_bindings.cpp.
Definition at line 75 of file amr_bindings.cpp.
| using peclet::amr::pybind::DArray = typedef nb::ndarray<double, nb::c_contig> |
Definition at line 76 of file amr_bindings.cpp.
| using peclet::amr::pybind::SpacingArg = typedef std::variant<double, std::array<double, 3> > |
Definition at line 200 of file amr_bindings.cpp.
Definition at line 81 of file amr_bindings.cpp.
References peclet::amr::DistributedOctree< Dim, Bits >::size(), and peclet::amr::transferFieldGradients().
Definition at line 86 of file amr_bindings.cpp.
References peclet::amr::transferFieldGradients().
| nb::ndarray< nb::numpy, double > peclet::amr::pybind::leafCenters | ( | const BO & | t, |
| const amr::AmrGeometry< 3 > & | geo | ||
| ) |
Definition at line 93 of file amr_bindings.cpp.
References peclet::amr::transferFieldGradients().
Referenced by peclet::amr::pybind::Octree::centers(), and peclet::amr::pybind::DistributedOctree::centers().
| nb::ndarray< nb::numpy, double > peclet::amr::pybind::leafSizes | ( | const BO & | t, |
| const amr::AmrGeometry< 3 > & | geo, | ||
| int | axis | ||
| ) |
Definition at line 107 of file amr_bindings.cpp.
References peclet::amr::transferFieldGradients().
Referenced by peclet::amr::pybind::Octree::sizes(), and peclet::amr::pybind::DistributedOctree::sizes().
Definition at line 118 of file amr_bindings.cpp.
References peclet::amr::transferFieldGradients().
Referenced by peclet::amr::pybind::Octree::levels(), and peclet::amr::pybind::DistributedOctree::levels().
Definition at line 127 of file amr_bindings.cpp.
References peclet::amr::transferFieldGradients().
Referenced by peclet::amr::pybind::Octree::codes(), and peclet::amr::pybind::DistributedOctree::codes().
Definition at line 136 of file amr_bindings.cpp.
References peclet::amr::transferFieldGradients().
Referenced by peclet::amr::pybind::Octree::adapt(), peclet::amr::pybind::DistributedOctree::adapt(), peclet::amr::pybind::Octree::lohner_indicator(), and peclet::amr::pybind::DistributedOctree::lohner_indicator().
| std::vector< double > peclet::amr::pybind::asField | ( | const BO & | t, |
| const DArray & | field, | ||
| const char * | who | ||
| ) |
Definition at line 141 of file amr_bindings.cpp.
References peclet::amr::transferFieldGradients().
Referenced by peclet::amr::pybind::Octree::adapt(), peclet::amr::pybind::DistributedOctree::adapt(), peclet::amr::pybind::DistributedOctree::face_neighbor_gather(), peclet::amr::pybind::Octree::lohner_indicator(), peclet::amr::pybind::DistributedOctree::lohner_indicator(), peclet::amr::pybind::Octree::write_vtu(), and peclet::amr::pybind::DistributedOctree::write_vtu().
|
inline |
Definition at line 167 of file amr_bindings.cpp.
References peclet::amr::transferFieldGradients().
Referenced by resolveSpacing(), and spacingFromExtent().
|
inline |
Definition at line 183 of file amr_bindings.cpp.
References spacingsFromExtent(), and peclet::amr::transferFieldGradients().
|
inline |
Definition at line 201 of file amr_bindings.cpp.
References peclet::amr::transferFieldGradients().
Referenced by resolveSpacing().
|
inline |
Definition at line 209 of file amr_bindings.cpp.
References peclet::amr::transferFieldGradients().
|
inline |
Definition at line 228 of file amr_bindings.cpp.
References spacingOf(), spacingsFromExtent(), and peclet::amr::transferFieldGradients().
Definition at line 888 of file amr_bindings.cpp.
References peclet::amr::transferFieldGradients().