|
peclet.voro 1.0.4
Device-native moving-particle Voronoi dynamics
|
Functions | |
| template<class Real , class Policy , class Sdf > | |
| KOKKOS_INLINE_FUNCTION void | routeCellGradient (const TessellationView< Real > &view, int i, const Real *gl, int nf, const Kokkos::View< Real *, peclet::core::MemSpace > &pos, const Kokkos::View< Real *, peclet::core::MemSpace > &weight, Real L, const Sdf &sdf, const Kokkos::View< Real *, peclet::core::MemSpace > &force, const Kokkos::View< Real *, peclet::core::MemSpace > &forceW) |
Variables | |
| constexpr int | kMaxLocalFacets = 50 |
| Facets one cell may publish (CellBuilder::MAXF_TMP); bounds the per-thread gradient array. | |
| KOKKOS_INLINE_FUNCTION void peclet::voro::energy::detail::routeCellGradient | ( | const TessellationView< Real > & | view, |
| int | i, | ||
| const Real * | gl, | ||
| int | nf, | ||
| const Kokkos::View< Real *, peclet::core::MemSpace > & | pos, | ||
| const Kokkos::View< Real *, peclet::core::MemSpace > & | weight, | ||
| Real | L, | ||
| const Sdf & | sdf, | ||
| const Kokkos::View< Real *, peclet::core::MemSpace > & | force, | ||
| const Kokkos::View< Real *, peclet::core::MemSpace > & | forceW | ||
| ) |
Route cell i's per-facet gradient gl (3 per local facet, nf facets) to the DOFs. pos / weight / L feed the weighted policy's chain (unused by Voronoi; pass empty views).
|
constexpr |
Facets one cell may publish (CellBuilder::MAXF_TMP); bounds the per-thread gradient array.