inciter::dg::TransportPhysicsAdvection class

Contents

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 static functions

static void diffusionRhs(tk::ctr::ncomp_t, tk::ctr::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&)
Add diffusion contribution to rhs at 2nd step stage (no-op)
static auto diffusion_dt(tk::ctr::ncomp_t, tk::ctr::ncomp_t, tk::real, const std::vector<std::array<tk::real, 4>>&) -> tk::real

Function documentation

static tk::real inciter::dg::TransportPhysicsAdvection::diffusion_dt(tk::ctr::ncomp_t, tk::ctr::ncomp_t, tk::real, const std::vector<std::array<tk::real, 4>>&)

Returns A large time step size, i.e., ignore

Compute the minimum time step size based on the diffusion