Skip to content

Commit 41b06b6

Browse files
committed
Update Setup_geometry.jl
1 parent f933def commit 41b06b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Setup_geometry.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ end
593593

594594

595595
"""
596-
add_polygon!(Phase, Temp, Grid::AbstractGeneralGrid; xlim=Tuple{}, ylim=nothing, zlim=Tuple{}, phase = ConstantPhase(1), T=nothing, cell=false )
596+
add_polygon!(Phase, Temp, Grid::AbstractGeneralGrid; xlim=Tuple{}, ylim=Tuple{2}, zlim=Tuple{}, phase = ConstantPhase(1), T=nothing, cell=false )
597597
598598
Adds a polygon with phase & temperature structure to a 3D model setup. This simplifies creating model geometries in geodynamic models
599599
@@ -634,7 +634,7 @@ julia> write_paraview(Model3D,"LaMEM_ModelSetup") # Save model to para
634634
635635
"""
636636
function add_polygon!(Phase, Temp, Grid::AbstractGeneralGrid; # required input
637-
xlim=Tuple{}, ylim=nothing, zlim=Tuple{}, # limits of the box
637+
xlim=Tuple{}, ylim=Tuple{2}, zlim=Tuple{}, # limits of the box
638638
phase = ConstantPhase(1), # Sets the phase number(s) in the box
639639
T=nothing, cell=false ) # Sets the thermal structure (various functions are available)
640640

0 commit comments

Comments
 (0)