diff --git a/TurTLE/PP.py b/TurTLE/PP.py index 73686bd92e43b88d7f990f8423987464f7ccead9..e1cebad2bc079fcca2843d2e6be63e2d9228b4bd 100644 --- a/TurTLE/PP.py +++ b/TurTLE/PP.py @@ -145,6 +145,8 @@ class PP(_code): pars['filter_type'] = 'Gauss' pars['max_velocity_estimate'] = float(10) pars['histogram_bins'] = int(129) + elif dns_type == 'get_rfields': + pars['TrS2_on'] = int(0) return pars def get_data_file_name(self): return os.path.join(self.work_dir, self.simname + '.h5') @@ -806,7 +808,7 @@ class PP(_code): ff.require_group('vorticity') ff.require_group('vorticity/complex') checkpoint_file_list = [self.simname + '_checkpoint_{0}.h5'.format(cp) - for cp in range(df['checkpoint'][()])] + for cp in range(df['checkpoint'][()]+1)] for cpf_name in checkpoint_file_list: if os.path.exists(cpf_name): cpf = h5py.File(cpf_name, 'r')