Skip to content

Commit a2abc2d

Browse files
committed
replace mkdir by mkpath
1 parent 7b341d6 commit a2abc2d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/poisson.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ model = DiscreteModelFromFile("../models/model.json")
5454
#
5555
# You can easily inspect the generated discrete model in [Paraview](https://www.paraview.org/) by writing it in `vtk` format.
5656

57-
mkdir("output_path")
57+
mkpath("output_path")
5858
writevtk(model,"output_path/model")
5959

6060
# The previous line generates four different files `model_0.vtu`, `model_1.vtu`, `model_2.vtu`, and `model_3.vtu` containing the vertices, edges, faces, and cells present in the discrete model. Moreover, you can easily inspect which boundaries are defined within the model.

src/validation.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ model3d = CartesianDiscreteModel(domain3d,partition3d)
6666

6767
# Let us return to the 2D `CartesianDiscreteModel` that we have already constructed. You can inspect it by writing it into vtk format. Note that you can also print a 3D model, but not a 4D one. In the future, it would be cool to generate a movie from a 4D model, but this functionality is not yet implemented.
6868

69-
mkdir("output_path")
69+
mkpath("output_path")
7070
writevtk(model,"output_path/model")
7171

7272

0 commit comments

Comments
 (0)