5
5
@muladd begin
6
6
# ! format: noindent
7
7
8
- # Dimension agnostic, i.e., valid for all 1D, 2D, and 3D meshes
8
+ # Dimension and meshtype agnostic, i.e., valid for all 1D, 2D, and 3D meshes
9
+ function create_cache (mesh, equations,
10
+ volume_integral:: VolumeIntegralFluxDifferencing , dg:: DG , uEltype)
11
+ return NamedTuple ()
12
+ end
13
+
14
+ # Dimension and meshtype agnostic, i.e., valid for all 1D, 2D, and 3D meshes
9
15
function calc_volume_integral! (du, u, mesh,
10
16
nonconservative_terms, equations,
11
17
volume_integral:: VolumeIntegralWeakForm ,
@@ -19,7 +25,7 @@ function calc_volume_integral!(du, u, mesh,
19
25
return nothing
20
26
end
21
27
22
- # Dimension agnostic, i.e., valid for all 1D, 2D, and 3D meshes.
28
+ # Dimension and meshtype agnostic, i.e., valid for all 1D, 2D, and 3D meshes.
23
29
# For curved meshes averaging of the mapping terms, stored in `cache.elements.contravariant_vectors`,
24
30
# is peeled apart from the evaluation of the physical fluxes in each Cartesian direction.
25
31
function calc_volume_integral! (du, u, mesh,
@@ -35,7 +41,7 @@ function calc_volume_integral!(du, u, mesh,
35
41
return nothing
36
42
end
37
43
38
- # Dimension agnostic, i.e., valid for all 1D, 2D, and 3D meshes
44
+ # Dimension and meshtype agnostic, i.e., valid for all 1D, 2D, and 3D meshes
39
45
function calc_volume_integral! (du, u, mesh,
40
46
nonconservative_terms, equations,
41
47
volume_integral:: VolumeIntegralShockCapturingHG ,
@@ -74,7 +80,7 @@ function calc_volume_integral!(du, u, mesh,
74
80
return nothing
75
81
end
76
82
77
- # Dimension agnostic, i.e., valid for all 1D, 2D, and 3D meshes
83
+ # Dimension and meshtype agnostic, i.e., valid for all 1D, 2D, and 3D meshes
78
84
function calc_volume_integral! (du, u, mesh,
79
85
nonconservative_terms, equations,
80
86
volume_integral:: VolumeIntegralPureLGLFiniteVolume ,
@@ -89,5 +95,4 @@ function calc_volume_integral!(du, u, mesh,
89
95
90
96
return nothing
91
97
end
92
-
93
- end # @muladd
98
+ end # @muladd
0 commit comments