Skip to content

Commit 6343029

Browse files
committed
fixup! fixup! Add HeterogenousContainer
1 parent 093a2ad commit 6343029

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
@@ -128,16 +128,16 @@ function init_elements(mesh::Union{P4estMesh{NDIMS, NDIMS, RealT},
128128
elements = P4estElementContainer{NDIMS, RealT, uEltype, NDIMS + 1, NDIMS + 2,
129129
NDIMS + 3, Array{RealT, NDIMS + 1},
130130
Array{RealT, NDIMS + 2}, Array{RealT, NDIMS + 3},
131-
Vector{RealT}, Vector{uEltype}, Array, false}(node_coordinates,
132-
jacobian_matrix,
133-
contravariant_vectors,
134-
inverse_jacobian,
135-
surface_flux_values,
136-
_node_coordinates,
137-
_jacobian_matrix,
138-
_contravariant_vectors,
139-
_inverse_jacobian,
140-
_surface_flux_values)
131+
Vector{RealT}, Vector{uEltype}, Array}(node_coordinates,
132+
jacobian_matrix,
133+
contravariant_vectors,
134+
inverse_jacobian,
135+
surface_flux_values,
136+
_node_coordinates,
137+
_jacobian_matrix,
138+
_contravariant_vectors,
139+
_inverse_jacobian,
140+
_surface_flux_values)
141141

142142
init_elements!(elements, mesh, basis)
143143
return elements
@@ -275,12 +275,12 @@ function init_interfaces(mesh::Union{P4estMesh, P4estMeshView, T8codeMesh}, equa
275275
typeof(u), typeof(neighbor_ids),
276276
typeof(node_indices), typeof(_u),
277277
typeof(_neighbor_ids), typeof(_node_indices),
278-
Array, false}(u,
279-
neighbor_ids,
280-
node_indices,
281-
_u,
282-
_neighbor_ids,
283-
_node_indices)
278+
Array}(u,
279+
neighbor_ids,
280+
node_indices,
281+
_u,
282+
_neighbor_ids,
283+
_node_indices)
284284

285285
init_interfaces!(interfaces, mesh)
286286

@@ -388,9 +388,9 @@ function init_boundaries(mesh::Union{P4estMesh, P4estMeshView, T8codeMesh}, equa
388388

389389
boundaries = P4estBoundaryContainer{NDIMS, uEltype, NDIMS + 1, typeof(u),
390390
typeof(neighbor_ids), typeof(node_indices),
391-
typeof(_u), Array, false}(u, neighbor_ids,
392-
node_indices, names,
393-
_u)
391+
typeof(_u), Array}(u, neighbor_ids,
392+
node_indices, names,
393+
_u)
394394

395395
if n_boundaries > 0
396396
init_boundaries!(boundaries, mesh)
@@ -555,12 +555,12 @@ function init_mortars(mesh::Union{P4estMesh, P4estMeshView, T8codeMesh}, equatio
555555
mortars = P4estMortarContainer{NDIMS, uEltype, NDIMS + 1, NDIMS + 3, typeof(u),
556556
typeof(neighbor_ids), typeof(node_indices),
557557
typeof(_u), typeof(_neighbor_ids),
558-
typeof(_node_indices), Array, false}(u,
559-
neighbor_ids,
560-
node_indices,
561-
_u,
562-
_neighbor_ids,
563-
_node_indices)
558+
typeof(_node_indices), Array}(u,
559+
neighbor_ids,
560+
node_indices,
561+
_u,
562+
_neighbor_ids,
563+
_node_indices)
564564

565565
if n_mortars > 0
566566
init_mortars!(mortars, mesh)

0 commit comments

Comments
 (0)