File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,15 +35,15 @@ function unique_boundary_names end
35
35
36
36
struct IntervalDomain{CT, B} <: AbstractDomain where {
37
37
CT <: Geometry.Abstract1DPoint{FT} ,
38
- B <: BCTagType ,
38
+ B,
39
39
} where {FT}
40
40
coord_min:: CT
41
41
coord_max:: CT
42
42
end
43
43
44
44
isperiodic (:: IntervalDomain{CT, B} ) where {CT, B} = B == nothing
45
45
unique_boundary_names (domain:: IntervalDomain{CT, B} ) where {CT, B} =
46
- isperiodic (domain) ? () : unique (B)
46
+ isperiodic (domain) ? Symbol[] : unique (B)
47
47
boundary_names (:: IntervalDomain{CT, B} ) where {CT, B} = B
48
48
49
49
"""
@@ -184,7 +184,7 @@ Base.show(io::IO, domain::SphereDomain) =
184
184
print (io, nameof (typeof (domain)), " : radius = " , domain. radius)
185
185
186
186
boundary_names (:: SphereDomain ) = ()
187
- unique_boundary_names (:: SphereDomain ) = ()
187
+ unique_boundary_names (:: SphereDomain ) = Symbol[]
188
188
coordinate_type (:: SphereDomain{FT} ) where {FT} = Geometry. Cartesian123Point{FT}
189
189
190
190
end # module
You can’t perform that action at this time.
0 commit comments