This file is indexed.

/usr/share/doc/xmds/examples/tla.xmds is in xmds 1.6.6-4.

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
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<?xml version="1.0"?>
<!--Two Level Atom Example simulation to illustrate a cross propagating field-->

<!-- $Id: tla.xmds 1526 2007-08-21 17:30:14Z paultcochrane $ -->

<!--  Copyright (C) 2000-2007                                           -->
<!--                                                                    -->
<!--  Code contributed by Greg Collecutt, Joseph Hope and Paul Cochrane -->
<!--                                                                    -->
<!--  This file is part of xmds.                                        -->
<!--                                                                    -->
<!--  This program is free software; you can redistribute it and/or     -->
<!--  modify it under the terms of the GNU General Public License       -->
<!--  as published by the Free Software Foundation; either version 2    -->
<!--  of the License, or (at your option) any later version.            -->
<!--                                                                    -->
<!--  This program is distributed in the hope that it will be useful,   -->
<!--  but WITHOUT ANY WARRANTY; without even the implied warranty of    -->
<!--  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the     -->
<!--  GNU General Public License for more details.                      -->
<!--                                                                    -->
<!--  You should have received a copy of the GNU General Public License -->
<!--  along with this program; if not, write to the Free Software       -->
<!--  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,            -->
<!--  MA  02110-1301, USA.                                              -->

<simulation>

  <name>tla</name>

  <author>Unknown Author</author>
  <description>
    Two level atom example simulation.  Illustrates a
    cross-propagating field.
  </description>

  <!-- Global system parameters and functionality -->
  <prop_dim>z</prop_dim>

  <!-- Global variables for the simulation -->
  <globals>
  <![CDATA[
    const double g  = 1;
    const double t0 = 1;
  ]]>
  </globals>

  <!-- Field to be integrated over -->
  <field>
    <dimensions>   t    </dimensions>
    <lattice>     10000   </lattice>
    <domains>  (-10,15) </domains>
    <samples>1 0</samples>

    <vector>
      <name>main</name>
      <type>double</type>
      <components>E</components>
      <![CDATA[
        E = 2/t0/cosh(t/t0);
      ]]>
    </vector>

    <vector>
      <name>cross</name>
      <type>double</type>
      <components>P N</components>
      <![CDATA[
        P =  0;
	N = -1;
      ]]>
    </vector>
  </field>

  <!-- The sequence of integrations to perform -->
  <sequence>
    <integrate>
      <algorithm>RK4IP</algorithm>
      <interval>4</interval>
      <lattice>200</lattice>
      <samples>50 50</samples>
      <vectors>main cross</vectors>
      <![CDATA[
        dE_dz =  g*P;
      ]]>
      <cross_propagation>
        <vectors>cross</vectors>
        <prop_dim>t</prop_dim>
	<![CDATA[
	  dP_dt =  E*N;
	  dN_dt = -E*P;
	]]>
      </cross_propagation>
    </integrate>
  </sequence>

  <!-- The output to generate -->
  <output format="ascii" precision="double">
    <group>
      <sampling>
        <lattice>50</lattice>
        <moments>pow_dens</moments>
	<![CDATA[
	  pow_dens = E*E;
	]]>
      </sampling>
    </group>

    <group>
      <sampling>
        <vectors>main cross</vectors>
        <lattice>50</lattice>
        <moments>P_out N_out</moments>
	<![CDATA[
	  P_out = P;
	  N_out = N;
	]]>
      </sampling>
      </group>
  </output>

</simulation>