Commit 171ab746 authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

move precision option to _fluid_particle_base

parent 0d18b5f1
......@@ -943,10 +943,6 @@ class NavierStokes(_fluid_particle_base):
type = int,
dest = 'src_iteration',
default = 0)
parser.add_argument(
'--precision',
type = str, dest = 'precision',
default = 'single')
parser.add_argument(
'--njobs',
type = int, dest = 'njobs',
......
......@@ -395,4 +395,13 @@ class _fluid_particle_base(_code):
nshells = kspace['nshell'].shape[0]
ofile.close()
return None
def specific_parser_arguments(
self,
parser):
_code.specific_parser_arguments(self, parser)
parser.add_argument(
'--precision',
type = str, dest = 'precision',
default = 'single')
return None
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment