deleted unused option "dimension" since this is figured out by parsing the respective spectral or geom input files anyway.
This commit is contained in:
parent
e851c934ee
commit
bedce496a8
|
@ -238,19 +238,19 @@ $Id$
|
|||
parser.add_option("-p", "--port", type="int",\
|
||||
dest="port",\
|
||||
help="Mentat connection port")
|
||||
parser.add_option("-d", "--dimension", type="int", nargs=3,\
|
||||
dest="d",\
|
||||
help="physical dimension")
|
||||
parser.add_option("--homogenization", type="int",\
|
||||
dest="homogenization",\
|
||||
help="index of homogenization to be chosen from material.config file")
|
||||
parser.add_option("-s", "--spectral", action="store_const", const="spectral",\
|
||||
dest="filetype",\
|
||||
help="file has 'spectral' format")
|
||||
parser.add_option("-g", "--geom", action="store_const", const="geom",\
|
||||
dest="filetype",\
|
||||
help="file has 'geom' format")
|
||||
parser.add_option("-s", "--spectral", action="store_const", const="spectral",\
|
||||
dest="filetype",\
|
||||
help="file has 'spectral' format")
|
||||
|
||||
parser.add_option("--homogenization", type="int",\
|
||||
dest="homogenization",\
|
||||
help="homogenization index from material.config (only required for spectral file type)")
|
||||
|
||||
|
||||
parser.set_defaults(filetype = 'geom')
|
||||
parser.set_defaults(homogenization = 1)
|
||||
|
||||
(options, args) = parser.parse_args()
|
||||
|
|
Loading…
Reference in New Issue