/usr/lib/openturns-1.5/wrappers/poutre_sample.xml is in openturns-examples 1.5-7build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | <?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE wrapper SYSTEM "wrapper.dtd">
<!-- author : dutka -->
<!-- date : 2008-06-26 13:50:17 +0200 (Thu, 26 Jun 2008) -->
<wrapper>
<library>
<!-- The path of the shared object -->
<path>poutre_sample.so</path>
<!-- This section describes all exchanges data between the wrapper and the platform -->
<description>
<!-- Those variables are substituted in the files above -->
<!-- The order of variables is the order of the arguments of the function -->
<variable-list>
<!-- The definition of a variable -->
<variable id="E" type="in">
<comment>meanYoungModulus</comment>
<unit>Pascal</unit>
<regexp>E=.*</regexp>
<format>E=%10.5g</format>
</variable>
<!-- The definition of a variable -->
<variable id="F" type="in">
<comment>LoadForce</comment>
<unit>Newton</unit>
<regexp>F=.*</regexp>
<format>F=%10.5g</format>
</variable>
<!-- The definition of a variable -->
<variable id="L" type="in">
<comment>BeamLength</comment>
<unit>Meter</unit>
<regexp>L=[0-9]+\.[0-9]* *m</regexp>
<format>L=%8.4f</format>
</variable>
<!-- The definition of a variable -->
<variable id="I" type="in">
<comment>SectionInertia</comment>
<unit>Meter^4</unit>
<regexp>I=.*</regexp>
<format>I=%10.5g</format>
</variable>
<!-- The definition of a variable -->
<variable id="d" type="out">
<comment>Deviation</comment>
<unit>Meter</unit>
<regexp>d=.*</regexp>
<format>d=%10.5g</format>
</variable>
</variable-list>
<!-- The function that we try to execute through the wrapper -->
<function provided="yes">compute_deviation</function>
<!-- the gradient is defined -->
<gradient provided="no" />
<!-- the hessian is defined -->
<hessian provided="no" />
</description>
</library>
<external-code>
<!-- Those data are external to the platform (input files, etc.)-->
<data>
</data>
<wrap-mode type="static-link">
<in-data-transfer mode="arguments" />
<out-data-transfer mode="arguments" />
</wrap-mode>
<command>
</command>
</external-code>
</wrapper>
|