OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
KokkosSweKernels.hpp File Reference

Experimental Kokkos kernels for shallow water equation evaluation. More...

Include dependency graph for KokkosSweKernels.hpp:

Go to the source code of this file.

Classes

struct  openswmm::twoD::gpu::swe_kernels::Mesh
 
struct  openswmm::twoD::gpu::swe_kernels::State
 
struct  openswmm::twoD::gpu::swe_kernels::Gradients
 
struct  openswmm::twoD::gpu::swe_kernels::Transfers
 

Namespaces

namespace  openswmm
 
namespace  openswmm::twoD
 
namespace  openswmm::twoD::gpu
 
namespace  openswmm::twoD::gpu::swe_kernels
 

Macros

#define OPENSWMM_KERNEL_FN   KOKKOS_INLINE_FUNCTION
 

Functions

void openswmm::twoD::gpu::swe_kernels::gradients (const Mesh &mesh, const State &state, const Gradients &grad, const IView &cells, int count, double dry)
 Launch connected-wet-neighbor reconstruction for eta, velocity and depth gradients.
 
void openswmm::twoD::gpu::swe_kernels::faces (const Mesh &mesh, const State &state, const Gradients &grad, const Transfers &acc, const IView &face_list, int count, const IView &face_tier, double dt, double dry, double beta, bool second_order, bool global_step)
 Launch one Euler stage's interior-face water and momentum receipt booking.
 
void openswmm::twoD::gpu::swe_kernels::gather (const Mesh &mesh, const State &state, const Transfers &acc, const IView &cells, int count, const DView &dmx, const DView &dmy)
 Gather and clear selected cells' owned interior-face receipt sides.
 
void openswmm::twoD::gpu::swe_kernels::momentum (const Mesh &mesh, const State &state, const IView &cells, int count, const DView &dmx, const DView &dmy, const IView &wall_ptr, const IView &wall_slot, const DView &roughness, double dt, double dry)
 Launch selected-cell momentum adoption with physical-wall pressure and Manning friction.
 
void openswmm::twoD::gpu::swe_kernels::averageLedger (const DView &initial, const DView &live)
 Retain half the two-stage increment of a cumulative RK2 ledger.
 

Detailed Description

Experimental Kokkos kernels for shallow water equation evaluation.

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License
Apache-2.0

Macro Definition Documentation

◆ OPENSWMM_KERNEL_FN

#define OPENSWMM_KERNEL_FN   KOKKOS_INLINE_FUNCTION