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
3535
3636struct IntervalDomain{CT, B} <: AbstractDomain where {
3737 CT <: Geometry.Abstract1DPoint{FT} ,
38- B <: BCTagType ,
38+ B,
3939} where {FT}
4040 coord_min:: CT
4141 coord_max:: CT
4242end
4343
4444isperiodic (:: IntervalDomain{CT, B} ) where {CT, B} = B == nothing
4545unique_boundary_names (domain:: IntervalDomain{CT, B} ) where {CT, B} =
46- isperiodic (domain) ? () : unique (B)
46+ isperiodic (domain) ? Symbol[] : unique (B)
4747boundary_names (:: IntervalDomain{CT, B} ) where {CT, B} = B
4848
4949"""
@@ -184,7 +184,7 @@ Base.show(io::IO, domain::SphereDomain) =
184184 print (io, nameof (typeof (domain)), " : radius = " , domain. radius)
185185
186186boundary_names (:: SphereDomain ) = ()
187- unique_boundary_names (:: SphereDomain ) = ()
187+ unique_boundary_names (:: SphereDomain ) = Symbol[]
188188coordinate_type (:: SphereDomain{FT} ) where {FT} = Geometry. Cartesian123Point{FT}
189189
190190end # module
You can’t perform that action at this time.
0 commit comments