File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ using Gridap
22using Gridap. Io
33using GridapGmsh
44
5- model = GmshDiscreteModel (" elasticFlag.msh" )
5+ meshdir (args... ) = joinpath (@__DIR__ , args... )
6+ model = GmshDiscreteModel (meshdir (" elasticFlag.msh" ))
67
7- writevtk (model," elasticFlag" )
8+ writevtk (model,meshdir ( " elasticFlag" ) )
89
9- fn = " elasticFlag.json"
10- to_json_file (model,fn)
10+ to_json_file (model,meshdir (" elasticFlag.json" ))
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -3,10 +3,9 @@ using Gridap
33using Gridap. Io
44using GridapGmsh
55
6- model = GmshDiscreteModel (" model.msh" )
7-
8- writevtk (model," model" )
9-
10- fn = " model.json"
11- to_json_file (model,fn)
6+ meshdir (args... ) = joinpath (@__DIR__ , args... )
7+ model = GmshDiscreteModel (meshdir (" model.msh" ))
128
9+ writevtk (model,meshdir (" model" ))
10+
11+ to_json_file (model,meshdir (" model.json" ))
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -3,10 +3,9 @@ using Gridap
33using Gridap. Io
44using GridapGmsh
55
6- model = GmshDiscreteModel (" solid.msh" )
6+ meshdir (args... ) = joinpath (@__DIR__ , args... )
7+ model = GmshDiscreteModel (meshdir (" solid.msh" ))
78
8- writevtk (model," solid" )
9-
10- fn = " solid.json"
11- to_json_file (model,fn)
9+ writevtk (model,meshdir (" solid" ))
1210
11+ to_json_file (model,meshdir (" solid.json" ))
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments