Skip to content

Commit f5ac939

Browse files
committed
Merge branch 'baagaard/fix-file-mode'
* baagaard/fix-file-mode: Make Python scripts in examples executable.
2 parents 872c0a2 + 2041283 commit f5ac939

File tree

15 files changed

+7
-1
lines changed

15 files changed

+7
-1
lines changed

examples/2d/gravity/plot_soln.py

100644100755
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python
2+
13
import h5py
24
import numpy
35

examples/2d/greensfns/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Step 4. Plot the true and predicted slip values (**requires matplotlib**).
9292
forward simulation. If you have matplotlib installed, you can run
9393
this script by typing:
9494

95-
plot_invresults.py --solution=output/eqsim-fault.h5 --predicted=output/slip_inverted.txt
95+
./plot_invresults.py --solution=output/eqsim-fault.h5 --predicted=output/slip_inverted.txt
9696

9797
This will display a matplotlib window with the true solution in
9898
black and the predicted solution corresponding to different values

examples/2d/greensfns/invert_slip.py

100644100755
File mode changed.

examples/2d/greensfns/reverse/plot_invresults.py

100644100755
File mode changed.

examples/2d/greensfns/strikeslip/plot_invresults.py

100644100755
File mode changed.

examples/2d/subduction/afterslip_tractions.py

100644100755
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python
2+
13
# This python script extracts the changes in fault tractions from
24
# step01 and combines them with background depth-dependent fault
35
# tractions to create initial fault tractions to drive frictional

examples/2d/subduction/plot_faultinfo.py

100644100755
File mode changed.

examples/bar_shearwave/quad4/analytical_soln.py

100644100755
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python
2+
13
# Compute the analytical steady-state solution.
24
#
35
# The shear traction on the fault is balanced by the shear traction

examples/meshing/cubit_cellsize/exodus_add_properties.py

100644100755
File mode changed.

examples/meshing/surface_nurbs/dem/dem2lines.py

100644100755
File mode changed.

0 commit comments

Comments
 (0)