Mercurial > repos > greg > icqsol_add_surface_field_from_expression
changeset 15:cbd7bd21416c draft
Uploaded
author | greg |
---|---|
date | Mon, 25 Jan 2016 07:55:05 -0500 |
parents | 9d3ba1049f14 |
children | 45ce63c33019 |
files | icqsol_add_surface_field_from_expression.py |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/icqsol_add_surface_field_from_expression.py Mon Jan 11 09:37:43 2016 -0500 +++ b/icqsol_add_surface_field_from_expression.py Mon Jan 25 07:55:05 2016 -0500 @@ -37,6 +37,10 @@ args.max_edge_length, args.location) +# Write min/max field values. +for comp in range(len(time_points)): + minVal, maxVal = shape_mgr.getFieldRange(vtk_poly_data, args.field_name, comp) + print 'component {2} min/max values of field {3}: {0}/{1}'.format(minVal, maxVal, comp, args.field_name) # Define the output file format and type (the outpur_format can only be 'vtk'). output_format, output_file_type = icqsol_utils.get_format_and_type(args.output_vtk_type) tmp_output_path = icqsol_utils.get_temporary_file_path(tmp_dir, output_format)