tadded plot file name output - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
(HTM) git clone git://src.adamsgaard.dk/sphere
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 5fa1bf5dcc7ddcd32349a0477194b7e53eacca38
(DIR) parent 198dc2084f7e5a302a3de04a8913d26eb598322a
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Wed, 13 Aug 2014 09:30:26 +0200
added plot file name output
Diffstat:
M python/permeability-calculator.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/python/permeability-calculator.py b/python/permeability-calculator.py
t@@ -161,7 +161,9 @@ class PermeabilityCalc:
plt.legend()
plt.grid()
- plt.savefig(self.sid + '-permeability.' + outformat)
+ filename = self.sid + '-permeability.' + outformat)
+ plt.savefig(filename)
+ print('Figure saved as "' + filename + '"')
plt.show()
# Simulation ID