Skip to content

Commit 5eb105e

Browse files
authored
fix merge error (trixi-framework#845)
1 parent 258634a commit 5eb105e

File tree

1 file changed

+6
-5
lines changed
  • src/schemes/fluid/entropically_damped_sph

1 file changed

+6
-5
lines changed

src/schemes/fluid/entropically_damped_sph/system.jl

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ See [Entropically Damped Artificial Compressibility for SPH](@ref edac) for more
5252
- `color_value`: The value used to initialize the color of particles in the system.
5353
5454
"""
55-
struct EntropicallyDampedSPHSystem{NDIMS, ELTYPE <: Real, IC, M, DC, K, V, TV,
56-
PF, ST, SRFT, SRFN, B, PR, C} <: FluidSystem{NDIMS}
55+
struct EntropicallyDampedSPHSystem{NDIMS, ELTYPE <: Real, IC, M, DC, K, V, COR, PF, TV,
56+
ST, SRFT, SRFN, B, PR, C} <: FluidSystem{NDIMS}
5757
initial_condition :: IC
5858
mass :: M # Vector{ELTYPE}: [particle]
5959
density_calculator :: DC
@@ -62,7 +62,7 @@ struct EntropicallyDampedSPHSystem{NDIMS, ELTYPE <: Real, IC, M, DC, K, V, TV,
6262
viscosity :: V
6363
nu_edac :: ELTYPE
6464
acceleration :: SVector{NDIMS, ELTYPE}
65-
correction :: Nothing
65+
correction :: COR
6666
pressure_acceleration_formulation :: PF
6767
transport_velocity :: TV
6868
source_terms :: ST
@@ -151,8 +151,9 @@ function EntropicallyDampedSPHSystem(initial_condition, smoothing_kernel,
151151

152152
EntropicallyDampedSPHSystem{NDIMS, ELTYPE, typeof(initial_condition), typeof(mass),
153153
typeof(density_calculator), typeof(smoothing_kernel),
154-
typeof(viscosity), typeof(transport_velocity),
155-
typeof(pressure_acceleration), typeof(source_terms),
154+
typeof(viscosity), typeof(correction),
155+
typeof(pressure_acceleration),
156+
typeof(transport_velocity), typeof(source_terms),
156157
typeof(surface_tension), typeof(surface_normal_method),
157158
typeof(buffer), Nothing,
158159
typeof(cache)}(initial_condition, mass, density_calculator,

0 commit comments

Comments
 (0)