Skip to content

Commit

Permalink
Update src/meshes/structured_mesh.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Hendrik Ranocha <[email protected]>
  • Loading branch information
DanielDoehring and ranocha authored Oct 29, 2024
1 parent eb3775d commit 86f3d75
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/meshes/structured_mesh.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ mutable struct StructuredMesh{NDIMS, RealT <: Real} <: AbstractMesh{NDIMS}
end

"""
StructuredMesh(cells_per_dimension, mapping; RealT=Float64, unsaved_changes=true,
mapping_as_string=mapping2string(mapping, length(cells_per_dimension), RealT=Float64))
StructuredMesh(cells_per_dimension, mapping;
RealT=Float64,
unsaved_changes=true,
mapping_as_string=mapping2string(mapping, length(cells_per_dimension), RealT=RealT))
Create a StructuredMesh of the given size and shape that uses `RealT` as coordinate type.
Expand Down

0 comments on commit 86f3d75

Please sign in to comment.