Skip to content

Commit 9d13496

Browse files
Apply formatter
1 parent 126b072 commit 9d13496

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

src/Domains/Domains.jl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,8 @@ A tuple or vector of unique boundary names of a spatial domain.
3333
"""
3434
function 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
4240
end

src/Topologies/topology2d.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -773,9 +773,10 @@ end
773773

774774
neighbors(topology::Topology2D) = topology.neighbor_pids
775775
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+
)
779780
boundary_tag(topology::Topology2D, boundary_name::Symbol) =
780781
findfirst(==(boundary_name), unique_boundary_names(topology))
781782

0 commit comments

Comments
 (0)