Commit e4583787 authored by cmaffeo2's avatar cmaffeo2
Browse files

Made minimum automatic dimensions 1000

parent aacf4cba
......@@ -113,7 +113,7 @@ def main():
model = read_model( str(infile), debye_length=args.debye_length, temperature=args.temperature )
if args.dimensions is None:
dim = model.dimensions_from_structure( padding_factor=2.5 )
dim = [max(x,1000) for x in model.dimensions_from_structure( padding_factor=2.5 )]
model.dimensions = dim
model.origin = model.get_center()-0.5*np.array(model.dimensions)
else:
......
Markdown is supported
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