Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
d66bd55b
Commit
d66bd55b
authored
Jul 13, 2018
by
Timo Koch
Browse files
[test][md][facet] Remove numpy dependency
parent
b8e5ebbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/multidomain/facet/1p_1p/analytical/convergencetest.py
View file @
d66bd55b
...
...
@@ -3,7 +3,6 @@
from
math
import
*
import
subprocess
import
sys
import
numpy
as
np
if
len
(
sys
.
argv
)
>
5
or
len
(
sys
.
argv
)
<
3
:
sys
.
stderr
.
write
(
"Invalid number of arguments given. Please provide the following arguments (in this order):
\n\
...
...
@@ -26,7 +25,7 @@ for permIndex in range(0, len(k)):
print
(
"Removed old log file ("
+
execName
+
'.log'
+
")!"
)
# for each given number of cells, create new .geo file, mesh & run simulation
numCells
=
np
.
linspace
(
10
,
10
0
,
10
)
numCells
=
[
10
,
20
,
30
,
40
,
50
,
60
,
70
,
80
,
9
0
,
10
0
]
for
cells
in
numCells
:
geoFile
=
open
(
"grids/hybridgrid.geo"
,
'r'
)
lines
=
geoFile
.
readlines
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment