annotate icqsol_coarsen_shape.xml @ 0:6ff7cf6ec553 draft default tip

Uploaded
author iuc
date Tue, 23 Aug 2016 14:56:49 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
1 <?xml version='1.0' encoding='UTF-8'?>
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
2 <tool id="icqsol_coarsen_shape" name="Coarsen shape" version="@WRAPPER_VERSION@.0">
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
3 <description></description>
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
4 <macros>
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
5 <import>icqsol_macros.xml</import>
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
6 </macros>
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
7 <expand macro="requirements" />
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
8 <command>
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
9 <![CDATA[
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
10 python $__tool_directory__/icqsol_coarsen_shape.py
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
11 --input "$input"
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
12 --input_file_format_and_type $input.ext
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
13 --input_dataset_type $input.metadata.dataset_type
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
14 --min_cell_area $min_cell_area
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
15 --output "$output"
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
16 --output_vtk_type $output_vtk_type
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
17 ]]>
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
18 </command>
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
19 <inputs>
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
20 <param name="input" type="data" format="plyascii,plybinary,vtkascii,vtkbinary" label="Shape">
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
21 <validator type="dataset_ok_validator" />
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
22 </param>
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
23 <param name="min_cell_area" type="float" value="0.5" label="Minimum cell area" help="Coarsen shape by ensuring that cell area are bigger than a given tolerance (except at the edge of the domain).">
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
24 <validator type="in_range" min="0" exclude_min="true" />
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
25 </param>
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
26 <expand macro="output_vtk_type_params" />
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
27 </inputs>
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
28 <outputs>
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
29 <data name="output" format="vtkascii" label="${tool.name} ${on_string} Min cell area: ${min_cell_area}">
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
30 <actions>
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
31 <action type="format">
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
32 <option type="from_param" name="output_vtk_type" />
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
33 </action>
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
34 </actions>
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
35 </data>
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
36 </outputs>
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
37 <tests>
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
38 <test>
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
39 <param name="input" value="box_refined_with_surface_field.vtkascii" ftype="vtkascii" />
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
40 <param name="input_file_format_and_type" value="vtkascii" />
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
41 <param name="input_dataset_type" value="POLYDATA" />
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
42 <param name="min_cell_area" value="0.5" />
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
43 <output name="output" file="box_coarsened.vtkascii" ftype="vtkascii" />
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
44 <param name="output_vtk_type" value="vtkascii" />
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
45 </test>
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
46 </tests>
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
47 <help>
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
48 **What it does**
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
49
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
50 Coarsens a shape by ensuring that cells are larger than a given tolerance, resulting in a less detailed shape.
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
51
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
52 * **Shape** - Shape to be coarsened.
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
53 * **Minimum cell area** - The shape's cells that have area smaller than this number will be merged.
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
54
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
55 </help>
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
56 <expand macro="citations" />
6ff7cf6ec553 Uploaded
iuc
parents:
diff changeset
57 </tool>