Mercurial > repos > ximgchess > neper
annotate neper_tessellation.xml @ 0:03bbcfd3d708 draft default tip
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
author | ximgchess |
---|---|
date | Thu, 07 Jul 2022 12:31:10 +0000 |
parents | |
children |
rev | line source |
---|---|
0
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
1 <tool id="neper_tessellation" name="Neper Tessellation" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@" python_template_version="3.5"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
2 <description>generates polycrystals as tessellations</description> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
3 <macros> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
4 <import>macros.xml</import> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
5 <token name="@VERSION_SUFFIX@">0</token> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
6 |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
7 <xml name="cells"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
8 <conditional name="cells"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
9 <param name="format" argument="-n" type="select" label="Specify cells by"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
10 <option value="number">number</option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
11 <option value="from_morpho">from_morpho</option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
12 <option value="expression"></option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
13 </param> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
14 <when value="number"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
15 <param name="number_of_cells" argument="-n" type="integer" value="10" min="1" label="the number of cells of the tessellation"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
16 </when> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
17 <when value="from_morpho"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
18 </when> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
19 <when value="expression"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
20 </when> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
21 </conditional> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
22 </xml> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
23 <token name="@CELLS@"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
24 #if $cells.format == 'number' |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
25 -n $cells.number_of_cells |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
26 #elif $cells.format == 'from_morpho' |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
27 -n from_morpho |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
28 #end if |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
29 </token> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
30 |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
31 <xml name="tessellation"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
32 <conditional name="tessellation"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
33 <param name="dim" argument="-dim" type="select" label="Dimensions"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
34 <option value="3" selected="true">3D</option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
35 <option value="2">2D</option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
36 </param> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
37 <when value="3"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
38 <conditional name="domain"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
39 <param name="shape" argument="-domain" type="select" label="Domain"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
40 <option value="cube">cube</option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
41 <option value="cylinder">cylinder</option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
42 <option value="sphere">sphere</option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
43 </param> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
44 <when value="cube"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
45 <param name="size_x" type="float" value="1.0" min="0.0" label="size x"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
46 <param name="size_y" type="float" value="1.0" min="0.0" label="size y"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
47 <param name="size_z" type="float" value="1.0" min="0.0" label="size z"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
48 </when> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
49 <when value="cylinder"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
50 <param name="height" type="float" value="1.0" min="0.0" label="height"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
51 <param name="diameter" type="float" value="1.0" min="0.0" label="diameter"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
52 </when> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
53 <when value="sphere"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
54 <param name="diameter" type="float" value="1.0" min="0.0" label="diameter"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
55 </when> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
56 </conditional> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
57 </when> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
58 <when value="2"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
59 <conditional name="domain"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
60 <param name="shape" argument="-domain" type="select" label="Domain"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
61 <option value="square">square</option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
62 <option value="circle">circle</option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
63 </param> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
64 <when value="square"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
65 <param name="size_x" type="float" value="1.0" min="0.0" label="size x"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
66 <param name="size_y" type="float" value="1.0" min="0.0" label="size y"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
67 </when> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
68 <when value="circle"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
69 <param name="diameter" type="float" value="1.0" min="0.0" label="diameter"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
70 </when> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
71 </conditional> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
72 </when> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
73 </conditional> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
74 </xml> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
75 <token name="@TESSELLATION@"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
76 -dim $tessellation.dim |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
77 #if $tessellation.domain.shape == 'cube' |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
78 -domain "${tessellation.domain.shape}($tessellation.domain.size_x,$tessellation.domain.size_y,$tessellation.domain.size_z)" |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
79 #elif $tessellation.domain.shape == 'cylinder' |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
80 -domain "${tessellation.domain.shape}($tessellation.domain.height,$tessellation.domain.diameter)" |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
81 #elif $tessellation.domain.shape == 'sphere' |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
82 -domain "${tessellation.domain.shape}($tessellation.domain.diameter)" |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
83 #elif $tessellation.domain.shape == 'square' |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
84 -domain "${tessellation.domain.shape}($tessellation.domain.size_x,$tessellation.domain.size_y)" |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
85 #elif $tessellation.domain.shape == 'circle' |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
86 -domain "${tessellation.domain.shape}($tessellation.domain.diameter)" |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
87 #end if |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
88 </token> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
89 |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
90 <xml name="morpho"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
91 <conditional name="morpho"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
92 <param name="morpho_type" argument="-morpho" type="select" label="Morphology"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
93 <option value="voronoi" selected="true">voronoi</option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
94 <option value="tesr">tesr file</option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
95 <option value="gg">graingrowth</option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
96 </param> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
97 <when value="voronoi"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
98 </when> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
99 <when value="tesr"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
100 <param name="tesr_file" type="data" format="neper.tesr" label="tesr file" help="Use -n from_morpho"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
101 <param name="pts_region" type="select" optional="true" label="control points region"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
102 <option value="surf">surface voxels</option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
103 <option value="all">all voxels</option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
104 </param> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
105 <param name="pts_res" type="float" value="" min="1.0" optional="true" label="control points resolution" help="average number of control points along a direction of a grain"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
106 </when> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
107 <when value="gg"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
108 </when> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
109 </conditional> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
110 </xml> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
111 <token name="@MORPHO@"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
112 #if $morpho.morpho_type == 'tesr' |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
113 -morpho "tesr:file($morpho.tesr_file)" |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
114 #set $pts = [] |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
115 #if $morpho.pts_region |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
116 #silent $pts.append('region=' + str($morpho.pts_region)) |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
117 #end if |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
118 #if $morpho.pts_res |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
119 #silent $pts.append('res=' + str($morpho.pts_res)) |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
120 #end if |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
121 #if $pts |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
122 #set $args = ','.join($pts) |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
123 -morphooptiobj "tesr:pts($args)" |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
124 #end if |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
125 #end if |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
126 </token> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
127 |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
128 <xml name="morphooptistop"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
129 <section name="morphooptistop" expanded="false" title="Set Optimization Stop Criteria"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
130 <param argument="-eps" type="float" value="" optional="true" label="Absolute error on objective function"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
131 <param argument="-reps" type="float" value="" optional="true" label="Relative error on objective function"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
132 <param argument="-xeps" type="float" value="" optional="true" label="Absolute error on components of the solution vector"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
133 <param argument="-xreps" type="float" value="" optional="true" label="Relative error on components of the solution vector"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
134 <param argument="-itermax" type="integer" value="" min="1" optional="true" label="After n iterations"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
135 <param argument="-loopmax" type="integer" value="" min="1" optional="true" label="After n iteration loops"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
136 <param argument="-time" type="float" value="" optional="true" label="After n seconds"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
137 </section> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
138 </xml> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
139 <token name="@MORPHOOPTISTOP@"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
140 #set $stops = [] |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
141 #if $morphooptistop.eps |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
142 #silent $stops.append('eps=' + str($morphooptistop.eps)) |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
143 #end if |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
144 #if $morphooptistop.reps |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
145 #silent $stops.append('reps=' + str($morphooptistop.reps)) |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
146 #end if |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
147 #if $morphooptistop.xeps |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
148 #silent $stops.append('xeps=' + str($morphooptistop.xeps)) |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
149 #end if |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
150 #if $morphooptistop.xreps |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
151 #silent $stops.append('xreps=' + str($morphooptistop.xreps)) |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
152 #end if |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
153 #if $morphooptistop.itermax |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
154 #silent $stops.append('itermax=' + str($morphooptistop.itermax)) |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
155 #end if |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
156 #if $morphooptistop.loopmax |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
157 #silent $stops.append('loopmax=' + str($morphooptistop.loopmax)) |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
158 #end if |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
159 #if $morphooptistop.time |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
160 #silent $stops.append('time=' + str($morphooptistop.time)) |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
161 #end if |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
162 #if $stops |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
163 #set $stopargs = ','.join($stops) |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
164 -morphooptistop "$stopargs" |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
165 #end if |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
166 </token> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
167 |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
168 <xml name="regularization"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
169 <conditional name="regularization"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
170 <param name="regularize" argument="-regularization" type="select" label="Regularize tessellation"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
171 <option value="0">No</option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
172 <option value="1">Yes</option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
173 </param> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
174 <when value="0"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
175 <when value="1"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
176 <param name="fmax" argument="-fmax" type="float" value="20.0" min="0.0" max="180.0" label="face flatness fault (in degrees)" |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
177 help="The flatness fault is the maxi- mum angle between the normals at two locations on a face."/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
178 <param name="mloop" argument="-mloop" type="integer" value="2" min="1" label="maximum number of regularization loops"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
179 </when> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
180 </conditional> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
181 </xml> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
182 <token name="@REGULARIZATION@"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
183 -reg $regularization.regularize |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
184 #if $regularization.regularize == '1' |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
185 -fmax $regularization.fmax |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
186 -mloop $regularization.mloop |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
187 #end if |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
188 </token> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
189 |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
190 <xml name="output_options"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
191 <section name="output_options" expanded="false" title="Output_options"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
192 <param name="tesrformat" argument="-tesrformat" type="select" optional="true" label="TESR format"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
193 <option value="ascii">ASCII</option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
194 <option value="binary8">8-bit binary / unsigned char-type</option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
195 <option value="binary16">16-bit binary / short-type little endian</option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
196 <option value="binary16_big">16-bit binary / short-type big endian</option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
197 <option value="binary32">32-bit binary / int-type little endian</option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
198 <option value="binary32_big">32-bit binary / int-type big endian</option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
199 </param> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
200 <param name="tesrsize" argument="-tesrsize" type="text" value="" optional="true" label="TESR size"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
201 <help><![CDATA[ |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
202 Specify the number of points of a raster tessellation along a direction of the domain. In case of a domain of different lengths along the different directions, the argument stands for the geometrical average of the number of points along the different directions, so that the raster points are as close to cubic as possible. To specify different values along the x, y and z directions, combine the values with ‘:’. Default value: 20 |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
203 ]]></help> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
204 <validator type="regex" message="integer sizes">[1-9]\d(:[1-9]\d+){,2}</validator> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
205 </param> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
206 <!-- macro for oridescriptor --> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
207 </section> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
208 </xml> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
209 <token name="@OUTPUT_OPTIONS@"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
210 #if 'tesr' in $format |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
211 #if $output_options.tesrformat: |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
212 -tesrformat '$output_options.tesrformat' |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
213 #end if |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
214 #if $output_options.tesrsize: |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
215 -tesrsize '$output_options.tesrsize' |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
216 #end if |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
217 #end if |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
218 </token> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
219 </macros> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
220 <expand macro="requirements" /> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
221 <expand macro="version_command" /> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
222 <command detect_errors="exit_code"><![CDATA[ |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
223 neper -T |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
224 @CELLS@ |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
225 @TESSELLATION@ |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
226 @MORPHO@ |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
227 @MORPHOOPTISTOP@ |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
228 @TRANSFORM@ |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
229 @REGULARIZATION@ |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
230 @OUTPUT_OPTIONS@ |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
231 -format "$format" |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
232 -o output |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
233 | grep -v '%$' | tee 'neper.log' |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
234 ]]></command> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
235 <inputs> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
236 <expand macro="cells"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
237 <expand macro="tessellation"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
238 <expand macro="morpho"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
239 <expand macro="morphooptistop"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
240 <expand macro="transform"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
241 <expand macro="regularization"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
242 <expand macro="output_options"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
243 <param name="format" argument="-format" type="select" multiple="true" optional="false" label="Output format"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
244 <option value="tess" selected="true">Neper scalar tessellation file (.tess)</option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
245 <option value="tesr">Neper raster tessellation file (.tesr)</option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
246 <option value="vtk">VTK raster file (.vtk)</option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
247 <option value="geo">Gmsh geometry file (.geo)</option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
248 <option value="ply">Polygon File Format file (.ply)</option> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
249 </param> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
250 </inputs> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
251 <outputs> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
252 <data name="log" format="txt" label="${tool.name} on ${on_string} log" from_work_dir="neper.log"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
253 <data name="output_tess" format="neper.tess" label="${tool.name} on ${on_string} tess" from_work_dir="output.tess"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
254 <filter>'tess' in format</filter> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
255 </data> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
256 <data name="output_tesr" format="neper.tesr" label="${tool.name} on ${on_string} tesr" from_work_dir="output.tesr"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
257 <filter>'tesr' in format</filter> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
258 </data> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
259 <data name="output_vtk" format="vtkbinary" label="${tool.name} on ${on_string} vtk" from_work_dir="output.vtk"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
260 <filter>'vtk' in format</filter> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
261 </data> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
262 <data name="output_ply" format="plyascii" label="${tool.name} on ${on_string} ply" from_work_dir="output.ply"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
263 <filter>'ply' in format</filter> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
264 </data> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
265 <data name="output_geo" format="gmsh.geo" label="${tool.name} on ${on_string} geo" from_work_dir="output.geo"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
266 <filter>'geo' in format</filter> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
267 </data> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
268 </outputs> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
269 <tests> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
270 <!-- Test-1 neper -T -n 4 --> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
271 <test> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
272 <conditional name="cells"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
273 <param name="format" value="number"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
274 <param name="number_of_cells" value="4"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
275 </conditional> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
276 <output name="output_tess"> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
277 <assert_contents> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
278 <has_text text="***tess" /> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
279 <has_text_matching expression="[*][*]cell\n 4\n [*]id\n 1 2 3 4\n"/> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
280 </assert_contents> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
281 </output> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
282 </test> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
283 <!-- Test neper -T -n from_morpho -domain "cube(0.5,0.5,0.5)" -morpho "tesr:file(example_tesr.tesr)" -morphooptiobj "tesr:pts(region=surf,res=7)" -morphooptistop itermax=30 -reg 1 --> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
284 </tests> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
285 <help><![CDATA[ |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
286 **Neper Tessellation** |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
287 |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
288 @NEPER_HELP@ |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
289 |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
290 Neper Tessellation Module *-T* generates polycrystals as tessellations. The two main capabilities are: |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
291 |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
292 (i) the generation of tessellations from cell properties (e.g. a size distribution) |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
293 (ii) the genera- tion of multiscale tessellations (i.e. including cell subdivisions). |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
294 |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
295 These capabilities can also be used together. Tessellations are Laguerre (or Voronoi) tessellations and are therefore composed of convex cells. Once generated, the tessellations can be “regularized” by removing their smallest features (edges and faces), which then enables good-quality meshing with module -M. Periodicity conditions can be prescribed. Crystal orientations are pro- vided for the cells. |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
296 |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
297 The output is a tessellation file written at a scalar (vectorial) or raster format. Scalar tessellations are intended to be passed to modules -M and -V while raster tessellations can be used by FFT solvers. |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
298 |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
299 ]]></help> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
300 <expand macro="citations" /> |
03bbcfd3d708
"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
ximgchess
parents:
diff
changeset
|
301 </tool> |