File: hermitegauss_fourier_loading_break_expected.xsil

package info (click to toggle)
xmds2 2.2.2%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 53,384 kB
  • ctags: 7,223
  • sloc: python: 54,076; cpp: 3,929; ansic: 1,463; makefile: 135; sh: 20
file content (71 lines) | stat: -rw-r--r-- 2,168 bytes parent folder | download | duplicates (7)
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
<?xml version="1.0" encoding="UTF-8"?>
<simulation xmds-version="2">
  <testing>
    <input_xsil_file name="hermitegauss_fourier_2_expected.xsil" />
    <xsil_file name="hermitegauss_fourier_loading_break.xsil" expected="hermitegauss_fourier_loading_break_expected.xsil" absolute_tolerance="1e-8" relative_tolerance="1e-5" />
  </testing>

  <name>hermitegauss_fourier_loading</name>
  <author>Graham Dennis</author>
  <description>
    Loose loading from the Hermite-Gauss bases (checking that it works for integer-valued dimensions)
  </description>
  
  <features>
    <validation kind="run-time" />
    <globals>
      <![CDATA[
        const real M = 9.1e-31; // Mass of an electron
        const real hbar = 1.05e-34;
        const real omega = 2*M_PI*1e3;
        const real offset = 1.0 * sqrt(hbar/(M*omega));
        
      ]]>
    </globals>
  </features>
  
  <geometry>
    <propagation_dimension> t </propagation_dimension>
    <transverse_dimensions>
      <dimension name="x" lattice="200" length_scale="sqrt(hbar/(M*omega))" transform="hermite-gauss" />
    </transverse_dimensions>
  </geometry>
  
  <vector name="main" initial_basis="nx" type="complex">
    <components>
      psi
    </components>
    <initialisation kind="hdf5" geometry_matching_mode="loose">
        <filename>hermitegauss_fourier_2_expected.h5</filename>
    </initialisation>
  </vector>
  
  <sequence>
    <breakpoint filename="hermitegauss_fourier_loading_break.xsil" format="hdf5">
      <dependencies basis="x">main</dependencies>
    </breakpoint>
  </sequence>
  <output />

<info>
Script compiled with XMDS2 version VERSION_PLACEHOLDER (SUBVERSION_REVISION_PLACEHOLDER)
See http://www.xmds.org for more information.
</info>

<XSIL Name="breakpoint">
  <Param Name="n_independent">1</Param>
  <Array Name="variables" Type="Text">
    <Dim>3</Dim>
    <Stream><Metalink Format="Text" Delimiter=" \n"/>
x psiR psiI 
    </Stream>
  </Array>
  <Array Name="data" Type="double">
    <Dim>200</Dim>
    <Dim>3</Dim>
    <Stream><Metalink Format="HDF5" Type="Remote" Group="/1"/>
hermitegauss_fourier_loading_break_expected.h5
    </Stream>
  </Array>
</XSIL>
</simulation>