Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
trixi-framework
GitHub Repository: trixi-framework/Trixi.jl
Path: blob/main/src/equations/equations_parabolic.jl
5586 views
1
# specify transformation of conservative variables prior to taking gradients.
2
# specialize this function to compute gradients e.g., of primitive variables instead of conservative
3
gradient_variable_transformation(::AbstractEquationsParabolic) = cons2cons
4
5
# By default, the gradients are taken with respect to the conservative variables.
6
# this is reflected by the type parameter `GradientVariablesConservative` in the abstract
7
# type `AbstractEquationsParabolic{NDIMS, NVARS, GradientVariablesConservative}`.
8
struct GradientVariablesConservative end
9
10
include("laplace_diffusion.jl")
11
12
include("laplace_diffusion_entropy_variables.jl")
13
14
include("linear_diffusion_equation.jl")
15
16
include("compressible_navier_stokes.jl")
17
18