6
srcdir = re.sub(r'avh_olo\.py','',sysargv[0])
17
for option in sysargv:
18
if re.match(r'kindmod',option): kindmod = re.sub(r'kindmod=','',option)
19
elif re.match(r'dpkind' ,option): dpkind = re.sub(r'dpkind=' ,'',option)
20
elif re.match(r'qpkind' ,option): qpkind = re.sub(r'qpkind=' ,'',option)
21
elif re.match(r'ddtype' ,option): ddtype = re.sub(r'ddtype=' ,'',option)
22
elif re.match(r'qdtype' ,option): qdtype = re.sub(r'qdtype=' ,'',option)
23
elif re.match(r'mptype' ,option): mptype = re.sub(r'mptype=' ,'',option)
24
elif re.match(r'tlevel' ,option): tlevel = re.sub(r'tlevel=' ,'',option)
25
elif re.match(r'cppintf',option): cppintf = re.sub(r'cppintf=','',option)
28
avh_pc.prnt('usage: python avh_pc_olo.py [dpkind="kind"]')
29
avh_pc.prnt(' [qpkind="kind"]')
30
avh_pc.prnt(' [kindmod="module"]')
31
avh_pc.prnt(' [ddtype="type"]')
32
avh_pc.prnt(' [qdtype="type"]')
33
avh_pc.prnt(' [mptype="type"]')
34
avh_pc.prnt(' [tlevel="yes"]')
35
avh_pc.prnt(' [cppintf="yes"]')
36
avh_pc.prnt(' If no option is provided, dpkind="kind(1d0)" is set')
37
avh_pc.prnt(' by default. However, dpkind must be provided expli-')
38
avh_pc.prnt(' citly if to be combined with qpkind and/or mptype.')
39
avh_pc.prnt(' Setting any option to "" is equivalent to omitting.')
43
filename = avh_pc_olo.full( srcdir ,dpkind,qpkind,kindmod