kubo.xmds

来自「XMDS is a code generator that integrates」· XMDS 代码 · 共 86 行

XMDS
86
字号
<?xml version="1.0"?><!--Example Kubo oscilator simulation--><!-- $Id: kubo.xmds,v 1.11 2004/10/06 07:50:25 joehope Exp $ --><!--  Copyright (C) 2000-2004                                           --><!--                                                                    --><!--  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., 59 Temple Place - Suite 330, Boston,            --><!--  MA  02111-1307, USA.                                              --><simulation>  <!-- Global system parameters and functionality -->  <name>kubo</name>  <author>Unknown Author</author>  <description>    Example Kubo oscillator simulation  </description>  <prop_dim>t</prop_dim>  <error_check>yes</error_check>  <stochastic>yes</stochastic>  <paths>1000</paths>  <use_mpi>yes</use_mpi>  <seed>1 2</seed>  <noises kind="gaussFast">1</noises>     <!-- Field to be integrated over -->  <field>    <samples>1</samples>    <vector>      <name>main</name>      <type>complex</type>      <components>z</components>      <![CDATA[        z = 1;      ]]>    </vector>  </field>  <!-- The sequence of integrations to perform -->  <sequence>    <integrate>      <algorithm>SIEX</algorithm>      <interval>10</interval>      <lattice>1000</lattice>      <samples>100</samples>      <iterations>3</iterations>      <![CDATA[        dz_dt = i*z*n_1;      ]]>      <vectors>main</vectors>    </integrate>  </sequence>  <!-- The output to generate -->  <output format="ascii" precision="double">    <group>      <sampling>      <moments>realz</moments>      <![CDATA[        realz = z;      ]]>      </sampling>    </group>  </output></simulation>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?