# HG changeset patch # User greg # Date 1468350435 14400 # Node ID 4fc22a63a17e6d00efb4f9c9331a3b61229c13ea # Parent 696bfb47d45e7c597767778e415ad923c5a3f9a1 Uploaded diff -r 696bfb47d45e -r 4fc22a63a17e icqsol_solve_laplace.py --- a/icqsol_solve_laplace.py Mon Jan 25 07:53:44 2016 -0500 +++ b/icqsol_solve_laplace.py Tue Jul 12 15:07:15 2016 -0400 @@ -36,7 +36,7 @@ surfIntegral = shape_mgr.integrateSurfaceField(solver.getVtkPolyData(), args.output_jump_electric_field_name) print 'Surface integral of normal electric field jump: {0}'.format(surfIntegral) minVal, maxVal = shape_mgr.getFieldRange(solver.getVtkPolyData(), args.output_jump_electric_field_name) -print 'min/max values of normal electrc field jump: {0}/{1}'.format(minVal, maxVal) +print 'min/max values of normal electric field jump: {0}/{1}'.format(minVal, maxVal) # Define the output file format and type (the output_format can only be 'vtk'). output_format, output_file_type = icqsol_utils.get_format_and_type(args.output_vtk_type) diff -r 696bfb47d45e -r 4fc22a63a17e icqsol_solve_laplace.xml --- a/icqsol_solve_laplace.xml Mon Jan 25 07:53:44 2016 -0500 +++ b/icqsol_solve_laplace.xml Tue Jul 12 15:07:15 2016 -0400 @@ -25,7 +25,7 @@ - + diff -r 696bfb47d45e -r 4fc22a63a17e icqsol_utils.py --- a/icqsol_utils.py Mon Jan 25 07:53:44 2016 -0500 +++ b/icqsol_utils.py Tue Jul 12 15:07:15 2016 -0400 @@ -46,12 +46,9 @@ 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 == VTK: - return ShapeManager(file_format=format, vtk_dataset_type=dataset_type) - else: - return ShapeManager(file_format=format) + return ShapeManager(file_format=format, vtk_dataset_type=dataset_type) def get_temp_dir(prefix='tmp-vtk-', dir=None): diff -r 696bfb47d45e -r 4fc22a63a17e tool_dependencies.xml --- a/tool_dependencies.xml Mon Jan 25 07:53:44 2016 -0500 +++ b/tool_dependencies.xml Tue Jul 12 15:07:15 2016 -0400 @@ -1,6 +1,6 @@ - +