Heat equation

dg1d.HeatEq.advection_rhs!Method

advection_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 formulations are :strong and :weak.

dg1d.HeatEq.ldg_aux_rhs!Method

ldgauxrhs!(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 formulations are :strong and :weak.

dg1d.HeatEq.rhs!Method

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. Result is returned inplace in du.

Supported formulations are :strong and :weak.