Heat equation
dg1d.HeatEq.advection_rhs!
— Methodadvection_rhs!(du, u, t, pblm::Problem, [formulation])
Compute RHS expression of advection-diffusion equation
∂t u = - ∂x f(u) + ∂x μ(u) ∂x u = - ∂x f(u) - ∂x μ(u) g(u)
using a DG scheme in strong form with central fluxes and return result inplace in du
.
Supported formulation
s are :strong
and :weak
.
dg1d.HeatEq.ldg_aux_rhs!
— Methodldgauxrhs!(q, u, pblm::Problem)
Compute RHS expression of auxiliary LDG equation
q = - ∂x u
using a DG scheme in strong form with central flux. Result is returned inplace in q
.
Supported formulation
s are :strong
and :weak
.
dg1d.HeatEq.rhs!
— Methodrhs!(du, u, t, pblm::Problem, [formulation])
Compute RHS expression of advection-diffusion equation
∂t u = - ∂x f(u) + ∂x μ(u) ∂x u = - ∂x f(u) - ∂x μ(u) g(u)
using a DG scheme in strong form with central fluxes. Result is returned inplace in du
.
Supported formulation
s are :strong
and :weak
.