Skip to content

Commit 8bb0a7c

Browse files
authored
Merge pull request #110 from NicolasRiel/main
Minor correction for add_polygon! help
2 parents 6240437 + bb679a3 commit 8bb0a7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Setup_geometry.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ LaMEM Grid:
613613
z ϵ [-2.0 : 0.0]
614614
julia> Phases = zeros(Int32, size(Grid.X));
615615
julia> Temp = zeros(Float64, size(Grid.X));
616-
julia> add_polygon!(Phase, Temp, Cart; xlim=(0.0,0.0, 1.6, 2.0),ylim=(0.0,0.8), zlim=(0.0,-1.0,-2.0,0.0), phase = ConstantPhase(8), T=ConstantTemp(30))
616+
julia> add_polygon!(Phase, Temp, Cart; xlim=[0.0,0.0, 1.6, 2.0],ylim=[0.0,0.8], zlim=[0.0,-1.0,-2.0,0.0], phase = ConstantPhase(8), T=ConstantTemp(30))
617617
julia> Model3D = ParaviewData(Grid, (Phases=Phases,Temp=Temp)); # Create Cartesian model
618618
julia> write_paraview(Model3D,"LaMEM_ModelSetup") # Save model to paraview
619619
1-element Vector{String}:

0 commit comments

Comments
 (0)