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

Wet-state closure kernels used by implicit finite-volume experiments. More...

#include "FvKernels.hpp"
#include <array>
Include dependency graph for ImplicitWetKernels.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  openswmm::fv::implicit_wet::Jet
 
struct  openswmm::fv::implicit_wet::Closure
 
struct  openswmm::fv::implicit_wet::State
 
struct  openswmm::fv::implicit_wet::Flux
 

Namespaces

namespace  openswmm
 
namespace  openswmm::fv
 
namespace  openswmm::fv::implicit_wet
 

Functions

Jet openswmm::fv::implicit_wet::operator+ (const Jet &a, const Jet &b)
 Add two forward-mode values.
 
Jet openswmm::fv::implicit_wet::operator- (const Jet &a, const Jet &b)
 Subtract two forward-mode values.
 
Jet openswmm::fv::implicit_wet::operator* (const Jet &a, const Jet &b)
 Multiply two forward-mode values using the product rule.
 
Jet openswmm::fv::implicit_wet::operator/ (const Jet &a, const Jet &b)
 Divide two forward-mode values using the quotient rule.
 
Jet openswmm::fv::implicit_wet::mapped (double value, double slope, const Jet &x)
 Lift a known scalar function value and slope through an input jet.
 
Jet openswmm::fv::implicit_wet::minimum (const Jet &a, const Jet &b)
 Select the local minimum branch and preserve that branch derivative.
 
Jet openswmm::fv::implicit_wet::maximum (const Jet &a, const Jet &b)
 Select the local maximum branch and preserve that branch derivative.
 
bool openswmm::fv::implicit_wet::finite (const Jet &x)
 Check a primal value and every directional derivative for finite arithmetic.
 
Closure openswmm::fv::implicit_wet::closure (const FvClosure &c, const Jet &h)
 Differentiate wet closure area, width and pressure integral with respect to depth.
 
double openswmm::fv::implicit_wet::radiusSlope (const FvClosure &c, double h)
 Evaluate the active wet friction-radius derivative with respect to depth.
 
State openswmm::fv::implicit_wet::state (const FvClosure &table, const Jet &h, const Jet &velocity, uint8_t press)
 Construct a differentiated wet face state from depth and velocity.
 
Flux openswmm::fv::implicit_wet::flux (const State &l, const State &r)
 Differentiate the active wet HLL hydraulic flux and pressure-bore bounds.
 

Detailed Description

Wet-state closure kernels used by implicit finite-volume experiments.

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