Mercurial > repos > greg > icqsol_refine_shape
changeset 13:0f9045d2f336 draft
Uploaded
author | greg |
---|---|
date | Mon, 11 Jan 2016 09:36:39 -0500 |
parents | 6af995a34aa4 |
children | 56c8da4e2f9d |
files | icqsol_utils.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/icqsol_utils.py Mon Jan 11 09:13:01 2016 -0500 +++ b/icqsol_utils.py Mon Jan 11 09:36:39 2016 -0500 @@ -46,8 +46,10 @@ return LaplaceMatrices(shape_data, max_edge_length=max_edge_length) -def get_shape_manager(format, dataset_type): +def get_shape_manager(format=None, dataset_type=None): # Instantiate a ShapeManager. + if format is None and dataset_type is None: + return ShapeManager() if format == VTK: return ShapeManager(file_format=format, vtk_dataset_type=dataset_type) else: