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
|
<?xml version="1.0" encoding="UTF-8"?>
<simulation xmds-version="2">
<testing>
<command_line>mpirun -n 1 ./kubo_mpi_paths</command_line>
<xsil_file name="kubo_mpi_paths.xsil" expected="kubo_mpi_paths_expected.xsil" absolute_tolerance="4e-2" relative_tolerance="4e-2" />
</testing>
<name>kubo_mpi_paths</name>
<author>Graham Dennis / Michael Hush</author>
<description>
Example Kubo oscillator simulation
</description>
<geometry>
<propagation_dimension> t </propagation_dimension>
</geometry>
<driver name="mpi-multi-path" paths="10000" />
<vector name="main">
<components>
z
</components>
<initialisation>
<![CDATA[
z = 1.0;
]]>
</initialisation>
</vector>
<noise_vector name="noise" kind="wiener" type="real">
<components>n_1</components>
</noise_vector>
<sequence>
<integrate algorithm="ARK89" interval="3" steps="1000" tolerance="1e-6">
<samples>50 </samples>
<operators>
<integration_vectors>main</integration_vectors>
<dependencies>noise</dependencies>
<![CDATA[
dz_dt = i*z*n_1;
]]>
</operators>
</integrate>
</sequence>
<output format="binary">
<sampling_group initial_sample="yes">
<moments>zR zI</moments>
<dependencies>main</dependencies>
<![CDATA[
_SAMPLE_COMPLEX(z);
]]>
</sampling_group>
</output>
</simulation>
|