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

Kokkos kernels for explicit surface water source preparation. More...

#include <Kokkos_Core.hpp>
Include dependency graph for KokkosSourceKernels.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  openswmm::twoD::gpu::SourceBudget
 

Namespaces

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

Functions

KOKKOS_INLINE_FUNCTION double openswmm::twoD::gpu::sourceSink (double rate, double h, double dry)
 Apply the cubic wet/dry ramp to a held nonnegative sink demand.
 
KOKKOS_INLINE_FUNCTION SourceBudget openswmm::twoD::gpu::sourceBudget (double volume, double h, double area, double dt, double dry, double rain_rate, double coupling_rate, double infil_rate, double evap_rate)
 Compute a donor-limited water-only cell source update without mutating device arrays.
 

Detailed Description

Kokkos kernels for explicit surface water source preparation.

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