Skip to content

Commit 3eed915

Browse files
committed
fixup! fixup! Add HeterogenousContainer
1 parent ff48351 commit 3eed915

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

src/solvers/dgsem_p4est/containers.jl

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -127,16 +127,16 @@ function init_elements(mesh::Union{P4estMesh{NDIMS, NDIMS, RealT},
127127
elements = P4estElementContainer{NDIMS, RealT, uEltype, NDIMS + 1, NDIMS + 2,
128128
NDIMS + 3, Array{RealT, NDIMS + 1},
129129
Array{RealT, NDIMS + 2}, Array{RealT, NDIMS + 3},
130-
Vector{RealT}, Vector{uEltype}, Array, false}(node_coordinates,
131-
jacobian_matrix,
132-
contravariant_vectors,
133-
inverse_jacobian,
134-
surface_flux_values,
135-
_node_coordinates,
136-
_jacobian_matrix,
137-
_contravariant_vectors,
138-
_inverse_jacobian,
139-
_surface_flux_values)
130+
Vector{RealT}, Vector{uEltype}, Array}(node_coordinates,
131+
jacobian_matrix,
132+
contravariant_vectors,
133+
inverse_jacobian,
134+
surface_flux_values,
135+
_node_coordinates,
136+
_jacobian_matrix,
137+
_contravariant_vectors,
138+
_inverse_jacobian,
139+
_surface_flux_values)
140140

141141
init_elements!(elements, mesh, basis)
142142
return elements
@@ -273,12 +273,12 @@ function init_interfaces(mesh::Union{P4estMesh, T8codeMesh}, equations, basis, e
273273
typeof(u), typeof(neighbor_ids),
274274
typeof(node_indices), typeof(_u),
275275
typeof(_neighbor_ids), typeof(_node_indices),
276-
Array, false}(u,
277-
neighbor_ids,
278-
node_indices,
279-
_u,
280-
_neighbor_ids,
281-
_node_indices)
276+
Array}(u,
277+
neighbor_ids,
278+
node_indices,
279+
_u,
280+
_neighbor_ids,
281+
_node_indices)
282282

283283
init_interfaces!(interfaces, mesh)
284284

@@ -385,9 +385,9 @@ function init_boundaries(mesh::Union{P4estMesh, T8codeMesh}, equations, basis, e
385385

386386
boundaries = P4estBoundaryContainer{NDIMS, uEltype, NDIMS + 1, typeof(u),
387387
typeof(neighbor_ids), typeof(node_indices),
388-
typeof(_u), Array, false}(u, neighbor_ids,
389-
node_indices, names,
390-
_u)
388+
typeof(_u), Array}(u, neighbor_ids,
389+
node_indices, names,
390+
_u)
391391

392392
if n_boundaries > 0
393393
init_boundaries!(boundaries, mesh)
@@ -551,12 +551,12 @@ function init_mortars(mesh::Union{P4estMesh, T8codeMesh}, equations, basis, elem
551551
mortars = P4estMortarContainer{NDIMS, uEltype, NDIMS + 1, NDIMS + 3, typeof(u),
552552
typeof(neighbor_ids), typeof(node_indices),
553553
typeof(_u), typeof(_neighbor_ids),
554-
typeof(_node_indices), Array, false}(u,
555-
neighbor_ids,
556-
node_indices,
557-
_u,
558-
_neighbor_ids,
559-
_node_indices)
554+
typeof(_node_indices), Array}(u,
555+
neighbor_ids,
556+
node_indices,
557+
_u,
558+
_neighbor_ids,
559+
_node_indices)
560560

561561
if n_mortars > 0
562562
init_mortars!(mortars, mesh)

0 commit comments

Comments
 (0)