git-svn-id: https://subversion.assembla.com/svn/qmcdev/trunk@1952 e5b18d87-469d-4833-9cc0-8cdfa06e9491
This commit is contained in:
Jeongnim Kim 2007-04-25 21:37:08 +00:00
parent ba6eafcde6
commit c9d72ccccd
1 changed files with 52 additions and 209 deletions

View File

@ -29,7 +29,7 @@
</xs:complexType>
<xs:complexType name="attribType">
<xs:annotation>
<xs:documentation>Generic attribute of an object which is a
<xs:documentation>generic attribute of an object which is a
collection of atomic components. For example, particleset consists of
1 to any number of particles and each particle has attributes, e.g.,
position, id, velocity etc. The particles that belong to a particleset
@ -142,7 +142,7 @@
</xs:complexType>
<xs:complexType name="applicationType">
<xs:annotation>
<xs:documentation>Describe the application including the version of an application and special features of the application.</xs:documentation>
<xs:documentation>descriptins of the application including the version of an application and special features of the application.</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:string">
@ -155,30 +155,26 @@
</xs:complexType>
<xs:complexType name="projectType">
<xs:annotation>
<xs:documentation>Define a project</xs:documentation>
<xs:documentation>project</xs:documentation>
</xs:annotation>
<xs:attribute name="id" type="xs:string" use="required"/>
<xs:attribute name="series" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="randomType">
<xs:attribute name="parallel" default="true">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="true"/>
<xs:enumeration value="false"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:annotation>
<xs:documentation> random generator.</xs:documentation>
</xs:annotation>
<xs:attribute name="parallel" type="xs:string" default="true"/>
<xs:attribute name="seed" type="xs:string" default="-1"/>
</xs:complexType>
<xs:complexType name="hdfFileType">
<xs:annotation>
<xs:documentation>Define a hdf5 file</xs:documentation>
<xs:documentation>hdf5 file</xs:documentation>
</xs:annotation>
</xs:complexType>
<xs:complexType name="unitcellType">
<xs:annotation>
<xs:documentation>Define the unit cell of a simulation.</xs:documentation>
<xs:documentation>unit cell of a simulation.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"/>
@ -194,13 +190,19 @@
<xs:documentation>Define the unit cell of a simulation.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="group" type="groupType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="attrib" type="attribType" minOccurs="0" maxOccurs="unbounded">
<xs:element name="group" type="groupType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Add generic particle attributes. The number of data per attribute is defined by num of ParticleSetType.</xs:documentation>
<xs:documentation>Define distinct groups of the particles in this particleset.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="attrib" type="attribType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Add generic particle attributes. The number of data per attribute is defined by num of ParticleSetType. Reserved names are position, id and ionid. </xs:documentation>
</xs:annotation>
</xs:element>
<!--
<xs:element name="array" type="arrayDataType" minOccurs="0" maxOccurs="unbounded"/>
-->
</xs:sequence>
<xs:attribute name="id" type="xs:ID" use="optional"/>
<xs:attribute name="name" type="xs:string" use="required"/>
@ -211,6 +213,9 @@
</xs:attribute>
<xs:attribute name="src" type="xs:string" use="optional"/>
<xs:attribute name="type">
<xs:annotation>
<xs:documentation>Keyword/enumeration to describe a particleset.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="quantum"/>
@ -249,6 +254,9 @@
<xs:attribute name="target" type="xs:string" use="optional" default="e"/>
</xs:complexType>
<xs:complexType name="basisGroupType">
<xs:annotation>
<xs:documentation>Define a basisGroup for each channel. The number of basisGroupType elements is related to the size of a bsis set.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="radfunc" type="radfuncType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
@ -267,6 +275,9 @@
</xs:attribute>
</xs:complexType>
<xs:complexType name="atomicBasisSetType">
<xs:annotation>
<xs:documentation>basisSet associated with an atom or any object identified a coordinate</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="grid" type="gridType" minOccurs="0"/>
<xs:element name="basisGroup" type="basisGroupType" maxOccurs="unbounded"/>
@ -309,6 +320,9 @@
</xs:attribute>
</xs:complexType>
<xs:complexType name="detType">
<xs:annotation>
<xs:documentation>Dirac determinant.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="occupation" type="occupationType" minOccurs="0"/>
<xs:element name="coefficient" type="arrayDataType" minOccurs="0"/>
@ -320,6 +334,9 @@
<!-- this should be idref -->
</xs:complexType>
<xs:complexType name="basissetType">
<xs:annotation>
<xs:documentation>general basis set.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="atomicBasisSet" type="atomicBasisSetType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="planewaveBasisSet" minOccurs="0"/>
@ -329,6 +346,9 @@
</xs:sequence>
</xs:complexType>
<xs:complexType name="slaterDetType">
<xs:annotation>
<xs:documentation>Slater determinant</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="coefficient" type="xs:double" default="1.0" minOccurs="0"/>
<xs:element name="determinant" type="detType" maxOccurs="unbounded"/>
@ -336,7 +356,7 @@
</xs:complexType>
<xs:complexType name="jastrowFuncType">
<xs:annotation>
<xs:documentation>jastrow functor</xs:documentation>
<xs:documentation>elementary scaling functor for Jastrow function</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"/>
@ -350,7 +370,6 @@
<xs:documentation>Jastrow correlation function</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="distancetable" type="distanceTableType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="correlation" type="jastrowFuncType" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required"/>
@ -391,6 +410,9 @@
</xs:attribute>
</xs:complexType>
<xs:complexType name="detSetType">
<xs:annotation>
<xs:documentation>Set of Slater Determinants</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="basisSet" type="basissetType" minOccurs="0"/>
<xs:element name="slaterDeterminant" type="slaterDetType" maxOccurs="unbounded"/>
@ -415,7 +437,7 @@
</xs:complexType>
<xs:complexType name="wavefunctionType">
<xs:annotation>
<xs:documentation>A many-body trial wave function</xs:documentation>
<xs:documentation>Many-body trial wave function</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="jastrow" minOccurs="0" maxOccurs="unbounded">
@ -464,12 +486,10 @@
</xs:attribute>
<xs:attribute name="npts" type="xs:integer" use="optional" default="1001"/>
</xs:complexType>
<xs:complexType name="distanceTableType">
<xs:attribute name="id" type="xs:ID" use="optional"/>
<xs:attribute name="source" type="xs:string" use="required"/>
<xs:attribute name="target" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="occupationType">
<xs:annotation>
<xs:documentation>occuation number</xs:documentation>
</xs:annotation>
<xs:attribute name="id" type="xs:ID" use="optional"/>
<xs:attribute name="mode" use="optional" default="ground">
<xs:simpleType>
@ -485,11 +505,11 @@
<xs:annotation>
<xs:documentation>a complex type defining a system for a QMC simulation</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="particleset" type="ParticleSetType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="wavefunction" type="wavefunctionType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="hamiltonian" type="hamiltonianType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="particleset" type="ParticleSetType"/>
<xs:element name="wavefunction" type="wavefunctionType"/>
<xs:element name="hamiltonian" type="qmcHamiltonianType"/>
</xs:choice>
<xs:attribute name="id" type="xs:ID" use="optional"/>
<xs:attribute name="name" type="xs:string" use="optional"/>
</xs:complexType>
@ -564,38 +584,6 @@ walker: walker-by-walker update</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:group name="qmcParameterGroup">
<xs:annotation>
<xs:documentation>common parameters for qmcdrivers</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="walkers" type="xs:integer" default="100"/>
<xs:element name="blocks" type="xs:integer" default="100"/>
<xs:element name="steps" type="xs:integer" default="100"/>
<xs:element name="timeStep">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:double">
<xs:attribute name="units"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="refresh" type="xs:integer" default="100"/>
<xs:element name="collect" type="xs:string" default="yes"/>
<xs:element name="refEnergy" default="0.0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:double">
<xs:attribute name="unit" use="optional" default="hartree"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:group>
<xs:complexType name="qmcType">
<xs:annotation>
<xs:documentation>QMC section</xs:documentation>
@ -633,154 +621,6 @@ walker: walker-by-walker update</xs:documentation>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="vmcType">
<xs:annotation>
<xs:documentation>VMC section</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="qmcsystem" type="qmcSystemRefType" minOccurs="0" maxOccurs="unbounded"/>
<xs:group ref="qmcParameterGroup"/>
</xs:sequence>
<xs:attributeGroup ref="qmcAttribGroup"/>
<xs:attributeGroup ref="multipleAttribGroup"/>
</xs:complexType>
<xs:complexType name="dmcType">
<xs:annotation>
<xs:documentation>DMC section</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:group ref="qmcParameterGroup"/>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="popControl" type="xs:integer" default="100"/>
<xs:element name="targetWalkers" type="xs:integer" default="100"/>
<xs:element name="swapTrigger" type="xs:double" default="0.9"/>
<xs:element name="reconfiguration" type="xs:string" default="no"/>
<xs:element name="branchInterval" type="xs:integer" default="1"/>
</xs:choice>
</xs:sequence>
<xs:attributeGroup ref="qmcAttribGroup"/>
</xs:complexType>
<xs:complexType name="rmcType">
<xs:annotation>
<xs:documentation>RMC section</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="qmcsystem" type="qmcSystemRefType" minOccurs="0" maxOccurs="unbounded"/>
<xs:group ref="qmcParameterGroup"/>
<xs:element name="chains" type="xs:integer" default="21" minOccurs="0"/>
</xs:sequence>
<xs:attributeGroup ref="qmcAttribGroup"/>
<xs:attributeGroup ref="multipleAttribGroup"/>
</xs:complexType>
<xs:complexType name="optType">
<xs:annotation>
<xs:documentation>Optimization secton</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:choice maxOccurs="unbounded">
<xs:element name="variables" type="xs:string"/>
<xs:element name="refEnergy" type="xs:double"/>
<xs:element name="useWeight" type="xs:string" default="yes">
<xs:annotation>
<xs:documentation>if no, set the weight=1</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="minWalkers" type="xs:double" default="0.9">
<xs:annotation>
<xs:documentation>Minimum fraction of the walkers by correlated sampling</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="power" type="xs:integer" default="2">
<xs:annotation>
<xs:documentation>Cost function for energy minimization |E-E_T|^power</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="correlation" type="xs:double" default="0.0">
<xs:annotation>
<xs:documentation>Additional correlation energy added to the target energy</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cost">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:double">
<xs:attribute name="name" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="energy"/>
<xs:enumeration value="variance"/>
<xs:enumeration value="difference"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:choice>
<xs:element name="optimizer">
<xs:complexType>
<xs:sequence>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="costTol" type="xs:double" default="1e-6">
<xs:annotation>
<xs:documentation>Tolerance of a cost value</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="gradTol" type="xs:double" default="1.0e-6">
<xs:annotation>
<xs:documentation>Tolerance of |g|</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cgTol" type="xs:double" default="1.0e-4">
<xs:annotation>
<xs:documentation>Tolerance of |g,cg|</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="maxSteps" type="xs:integer" default="100">
<xs:annotation>
<xs:documentation>Maximum number of steps</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="epsilon" type="xs:double" default="1.0e-6">
<xs:annotation>
<xs:documentation>Displacement for the numerical gradient</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="stepSize" type="xs:double" default="0.02">
<xs:annotation>
<xs:documentation>Initial mixing of CG for a lineminimization; time step for annealing</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="maxLineMin" type="xs:integer" default="100">
<xs:annotation>
<xs:documentation>Maxmimum number of line minimization</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="friction" type="xs:double" default="0.5">
<xs:annotation>
<xs:documentation>Friction coefficient for the damped dynamics</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="mass" type="xs:double" default="10.">
<xs:annotation>
<xs:documentation>Fictitious mass for the damped dynamics</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute name="method" use="optional" default="cg">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="cg"/>
<xs:enumeration value="anneal"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="simulation">
<xs:annotation>
<xs:documentation>root of qmc simulation</xs:documentation>
@ -858,6 +698,9 @@ walker: walker-by-walker update</xs:documentation>
</xs:complexType>
</xs:element>
<xs:complexType name="loopType">
<xs:annotation>
<xs:documentation>loop of QMC sections</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="qmc" type="qmcType" maxOccurs="unbounded"/>
</xs:sequence>