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.
3333"""
3434function unique_boundary_names end
3535
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}
4038 coord_min:: CT
4139 coord_max:: CT
4240end
Original file line number Diff line number Diff line change 773773
774774neighbors (topology:: Topology2D ) = topology. neighbor_pids
775775unique_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+ )
779780boundary_tag (topology:: Topology2D , boundary_name:: Symbol ) =
780781 findfirst (== (boundary_name), unique_boundary_names (topology))
781782
You can’t perform that action at this time.
0 commit comments