Skip to content
Snippets Groups Projects
Commit e4583787 authored by cmaffeo2's avatar cmaffeo2
Browse files

Made minimum automatic dimensions 1000

parent aacf4cba
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment