File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -33,10 +33,8 @@ A tuple or vector of unique boundary names of a spatial domain.
33
33
"""
34
34
function unique_boundary_names end
35
35
36
- struct IntervalDomain{CT, B} <: AbstractDomain where {
37
- CT <: Geometry.Abstract1DPoint{FT} ,
38
- B,
39
- } where {FT}
36
+ struct IntervalDomain{CT, B} < :
37
+ AbstractDomain where {CT <: Geometry.Abstract1DPoint{FT} , B} where {FT}
40
38
coord_min:: CT
41
39
coord_max:: CT
42
40
end
Original file line number Diff line number Diff line change 773
773
774
774
neighbors (topology:: Topology2D ) = topology. neighbor_pids
775
775
unique_boundary_names (topology:: Topology2D ) = keys (topology. boundaries)
776
- boundary_tags (topology:: Topology2D ) = NamedTuple {unique_boundary_names(topology)} (
777
- ntuple (i -> i, length (topology. boundaries)),
778
- )
776
+ boundary_tags (topology:: Topology2D ) =
777
+ NamedTuple {unique_boundary_names(topology)} (
778
+ ntuple (i -> i, length (topology. boundaries)),
779
+ )
779
780
boundary_tag (topology:: Topology2D , boundary_name:: Symbol ) =
780
781
findfirst (== (boundary_name), unique_boundary_names (topology))
781
782
You can’t perform that action at this time.
0 commit comments