Skip to content
Snippets Groups Projects
Unverified Commit 65e473d5 authored by Peter Hill's avatar Peter Hill
Browse files

Move build and data load statements after parsing command line

parent 41fd54dc
No related branches found
No related tags found
No related merge requests found
......@@ -22,8 +22,6 @@ nproc = 2 # Number of processors to run on
omega_tol = 1e-2
gamma_tol = 1e-2
build_and_log("resistive drift instability test")
zlist = [32, 256] # Just test a few
# Values from revision c4f7ec92786b333a5502c5256b5e602ba867090f
......@@ -51,9 +49,6 @@ gamma_orig = {
256: 0.12957680451,
} # 0.130220286897} Changed 25th April 2014
# Import the grid file
grid = file_import("uedge.grd_std.cdl")
def run_zeff_case(zeff):
"""Run a single Zeff case"""
......@@ -213,6 +208,11 @@ if __name__ == "__main__":
args = parser.parse_args()
build_and_log("resistive drift instability test")
# Import the grid file
grid = file_import("uedge.grd_std.cdl")
return_code = 0
for zeff in args.Zeff_list:
success = run_zeff_case(zeff)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment