Skip to content

Commit 1ccf757

Browse files
clean up t8code
1 parent 0700ce2 commit 1ccf757

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

src/meshes/t8code_mesh.jl

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,9 @@ mutable struct T8codeMesh{NDIMS, RealT <: Real, IsParallel, NDIMSP2, NNODES} <:
1515

1616
# Stores the quadrature nodes.
1717
const nodes::SVector{NNODES, RealT}
18+
const boundary_names::Array{Symbol, 2} # [face direction, tree]
1819

19-
boundary_names::Array{Symbol, 2} # [face direction, tree]
2020
current_filename::String
21-
22-
ninterfaces :: Int
23-
nmortars :: Int
24-
nboundaries :: Int
25-
26-
nmpiinterfaces :: Int
27-
nmpimortars :: Int
28-
2921
unsaved_changes::Bool
3022

3123
function T8codeMesh{NDIMS}(forest::Ptr{t8_forest}, tree_node_coordinates, nodes,
@@ -40,11 +32,6 @@ mutable struct T8codeMesh{NDIMS, RealT <: Real, IsParallel, NDIMSP2, NNODES} <:
4032
nodes,
4133
boundary_names,
4234
current_filename,
43-
-1, # ninterfaces
44-
-1, # nmortars
45-
-1, # nboundaries
46-
-1, # nmpiinterfaces
47-
-1, # nmpimortars
4835
true)
4936

5037
finalizer(mesh) do mesh

0 commit comments

Comments
 (0)