Skip to content

Commit

Permalink
Applied autoformatter on meshview.
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCan committed Nov 9, 2023
1 parent c555b18 commit 11645a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/meshes/structured_mesh_view.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ function StructuredMeshView(parent::StructuredMesh{NDIMS, RealT};
@assert all(index_min .> 0)
@assert index_max <= size(parent)

return StructuredMeshView{NDIMS, RealT}(parent, parent.mapping, index_min, index_max, periodicity)
return StructuredMeshView{NDIMS, RealT}(parent, parent.mapping, index_min,
index_max, periodicity)
end

function StructuredMeshView(parent::StructuredMesh{NDIMS, RealT}) where {NDIMS, RealT}
Expand Down Expand Up @@ -47,11 +48,10 @@ end
Base.axes(mesh::StructuredMeshView) = map(Base.OneTo, size(mesh))
Base.axes(mesh::StructuredMeshView, i) = Base.OneTo(size(mesh, i))


function calc_node_coordinates!(node_coordinates, element,
cell_x, cell_y, mapping,
mesh::StructuredMeshView{2},
# basis::LobattoLegendreBasis)
# basis::LobattoLegendreBasis)
basis)
@unpack nodes = basis
@unpack parent, index_min, index_max = mesh
Expand Down

0 comments on commit 11645a9

Please sign in to comment.