From e94fa37b15da2b5dc92393780e39d399ca5663fd Mon Sep 17 00:00:00 2001 From: Cristian C Lalescu <Cristian.Lalescu@ds.mpg.de> Date: Thu, 30 Nov 2017 14:14:44 +0100 Subject: [PATCH] bugfix --- fix copy/paste blunder --- bfps/DNS.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bfps/DNS.py b/bfps/DNS.py index 5e250bd3..bbc354d0 100644 --- a/bfps/DNS.py +++ b/bfps/DNS.py @@ -692,7 +692,7 @@ class DNS(_code): if type(opt.injection_rate) == type(None): opt.injection_rate = self.parameters['injection_rate'] if type(opt.dealias_type) == type(None): - opt.fk1 = self.parameters['dealias_type'] + opt.dealias_type = self.parameters['dealias_type'] self.parameters['nu'] = (opt.kMeta * 2 / opt.n)**(4./3) if opt.forcing_type == 'linear': # custom famplitude for 288 and 576 -- GitLab