annotate icqsol_solve_laplace.xml @ 0:2294ae1842d5 draft default tip

Uploaded
author iuc
date Tue, 23 Aug 2016 15:04:45 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
1 <?xml version='1.0' encoding='UTF-8'?>
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
2 <tool id="icqsol_solve_laplace" name="Solve Laplace equation" version="@WRAPPER_VERSION@.0">
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
3 <description>- computes the jump of normal electric field</description>
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
4 <macros>
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
5 <import>icqsol_macros.xml</import>
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
6 </macros>
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
7 <expand macro="requirements" />
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
8 <command>
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
9 <![CDATA[
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
10 python $__tool_directory__/icqsol_solve_laplace.py
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
11 --input "$input"
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
12 --input_file_format_and_type $input.ext
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
13 --input_dataset_type $input.metadata.dataset_type
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
14 --input_potential_name "$input_potential_name"
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
15 --output_jump_electric_field_name "$output_jump_electric_field_name"
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
16 --output "$output"
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
17 --output_vtk_type $output_vtk_type
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
18 ]]>
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
19 </command>
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
20 <inputs>
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
21 <param name="input" type="data" format="vtkascii,vtkbinary" label="Shape" help="Format can be vtkascii or vtkbinary." />
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
22 <param name="input_potential_name" type="select" label="Field name" refresh_on_change="True">
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
23 <options>
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
24 <filter type="data_meta" ref="input" key="field_names"/>
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
25 <validator type="no_options" message="The selected shape has no surface fields." />
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
26 </options>
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
27 </param>
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
28 <param name="output_jump_electric_field_name" type="text" value="jumpEn" label="Output flux field name" help="Name of the jump of normal electric field in the output file." />
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
29 <expand macro="output_vtk_type_params" />
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
30 </inputs>
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
31 <outputs>
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
32 <data name="output" format_source="input">
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
33 <actions>
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
34 <action type="format">
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
35 <option type="from_param" name="output_vtk_type" />
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
36 </action>
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
37 </actions>
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
38 </data>
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
39 </outputs>
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
40 <tests>
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
41 <test>
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
42 <param name="input" value="sphere.vtkbinary" ftype="vtkbinary" />
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
43 <param name="input_file_format_and_type" value="vtkbinary" />
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
44 <param name="input_dataset_type" value="POLYDATA" />
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
45 <param name="input_potential_name" value="v" />
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
46 <param name="output_jump_electric_field_name" value="E_normal_jump" />
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
47 <output name="output" file="sphere_electric_field.vtkascii" ftype="vtkascii" />
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
48 <param name="output_vtk_type" value="vtkascii" />
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
49 </test>
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
50 </tests>
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
51 <help>
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
52
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
53 **What it does**
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
54
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
55 Computes the jump in flux-like (Neumann) boundary conditions given prescribed Dirichlet boundary
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
56 conditions by using the boundary element method. Depending on the problem, the jump can be the
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
57 surface flux or the normal electric field in electrostatic problems. The Dirichlet field is often
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
58 called the potential (e.g. electrostatic potential). When the domain extends from the object to
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
59 infinity and the interior of the object is perfectly conducting, the jump corresponds to the normal
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
60 electric field just outside the object.
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
61
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
62 * **Shape** - Shape whose surface contains a potential field.
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
63 * **Output flux field name** - Name of the jump of normal electric field name in the output file.
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
64
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
65 </help>
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
66 <expand macro="citations" />
2294ae1842d5 Uploaded
iuc
parents:
diff changeset
67 </tool>