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

Shared 1D FV species transport kernels — bodies moved VERBATIM from hydraulics/fv/ExplicitFvSolver.cpp (phase E0; see the header). More...

Include dependency graph for SpeciesTransportKernels.cpp:

Namespaces

namespace  openswmm
 
namespace  openswmm::transport
 
namespace  openswmm::transport::fvkernels
 

Functions

void openswmm::transport::fvkernels::reconstructScalars (const SpeciesKernelView &v, double dt)
 
void openswmm::transport::fvkernels::limitSpeciesFluxes (const SpeciesKernelView &v, int species, double dt)
 Assemble the face species fluxes and limit them (Zalesak FCT).
 
void openswmm::transport::fvkernels::dispersionSolve (const SpeciesKernelView &v, double dt)
 

Detailed Description

Shared 1D FV species transport kernels — bodies moved VERBATIM from hydraulics/fv/ExplicitFvSolver.cpp (phase E0; see the header).

Local reference aliases at the top of each function reproduce the member names the bodies were written against (mesh_, state_, cell_slope_, ...) so the moved code is textually identical to the pre-move solver code — the cheapest possible bitwise-identity argument. Do not "clean up" the aliases: they are the point.

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