class
TransportPhysicsAdvectionContents
- Reference
Physics policy for advection using continuous Galerkin (no-op)
This class is a no-op, consistent with no additional physics needed to make the basic implementation in Transport the advection equation.
Public functions
-
void diffusionRhs(ncomp_
t , ncomp_t , tk::real , tk::real , const std::array<std::array<tk::real , 3>, 4>&, const std::array<std::size_t, 4>&, const std::vector<std::array<tk::real , 4>>&, const std::vector<const tk::real *>&, tk::Fields&) const - Add diffusion contribution to rhs (no-op for advection only)
-
auto diffusion_dt(tk::
ctr:: , tk::ncomp_t ctr:: , tk::ncomp_t real , const std::vector<std::array<tk::real , 4>>&) const -> tk::real
Function documentation
tk::real inciter::cg::TransportPhysicsAdvection:: diffusion_dt(tk::ctr::ncomp_t ,
tk::ctr::ncomp_t ,
tk::real ,
const std::vector<std::array<tk::real , 4>>&) const
Returns | A large time step size, i.e., ignore |
---|
Compute the minimum time step size based on the diffusion