Skip to content

basisset ​

Implementation level ​

TypeStatus
CML extraction template
HTML5 representation

Template attributes ​

AttributeValue
sourceMOLCAS log
idbasisset
nameBasis set section
pattern\s*Basis\sset\slabel.*
endPattern\s*\*{10,}.*
endPattern2~
endPattern3\-\-.*
endPattern4\+\+\s*Molecular\sstructure\sinfo.*
endOffset0
repeat*
xml:basemodules/basisset.xml

Input ​

      Basis set label:C.CC-PVTZ.......... 

      Valence basis set:
      ==================
      Associated Effective Charge  6.000000 au
      Associated Actual Charge     6.000000 au
      Nuclear Model: Point charge


      Shell  nPrim  nBasis  Cartesian Spherical Contaminant
         s      10       4        X                  
         p       5       3        X                  
         d       2       2                 X         
         f       1       1                 X         
      Basis set label:O.CC-PVTZ......... 

      Valence basis set:
      ==================
      Associated Effective Charge  8.000000 au
      Associated Actual Charge     8.000000 au
      Nuclear Model: Point charge


      Shell  nPrim  nBasis  Cartesian Spherical Contaminant
         s      10       4        X                  
         p       5       3        X                  
         d       2       2                 X         
         f       1       1                 X         
      Basis set label:H.CC-PVTZ......... 

      Valence basis set:
      ==================
      Associated Effective Charge  1.000000 au
      Associated Actual Charge     1.000000 au
      Nuclear Model: Point charge


      Shell  nPrim  nBasis  Cartesian Spherical Contaminant
         s       5       3        X                  
         p       2       2        X                  
         d       1       1                 X         


++       Molecular structure info:

Input ​

      Basis set label:C.ANO-S...3S2P. 
 
      Valence basis set:
      ------------------
      Associated Effective Charge  6.000000 au
      Associated Actual Charge     6.000000 au
      Nuclear Model: Point charge
 
      Shell  nPrim  nBasis  Cartesian Spherical Contaminant
         s      10       3        X                  
         p       6       2        X                  
 
 
      Basis set label:O.ANO-S...3S2P. 
 
      Valence basis set:
      ------------------
      Associated Effective Charge  8.000000 au
      Associated Actual Charge     8.000000 au
      Nuclear Model: Point charge
 
      Shell  nPrim  nBasis  Cartesian Spherical Contaminant
         s      10       3        X                  
         p       6       2        X                  
 
 
      Basis set label:H.ANO-S...2S. 
 
      Valence basis set:
      ------------------
      Associated Effective Charge  1.000000 au
      Associated Actual Charge     1.000000 au
      Nuclear Model: Point charge
 
      Shell  nPrim  nBasis  Cartesian Spherical Contaminant
         s       7       2        X                  
--
 
 
++    Molecular structure info: 

Output text ​

xml
<comment class="example.output" id="basisset">
         <module cmlx:templateRef="basisset">
            <module cmlx:templateRef="section">
               <array dataType="xsd:string" delimiter="|" dictRef="m:basis" size="12">C|CC-PVTZ||||||||||</array>
               <module cmlx:templateRef="valence">
                  <scalar dataType="xsd:double" dictRef="m:effectivecharge">6.000000</scalar>
                  <scalar dataType="xsd:double" dictRef="m:actualCharge">6.000000</scalar>
                  <list cmlx:templateRef="shells">
                     <array dataType="xsd:string" dictRef="m:shell" size="4">s p d f</array>
                     <array dataType="xsd:integer" dictRef="m:nprim" size="4">10 5 2 1</array>
                     <array dataType="xsd:integer" dictRef="m:nbasis" size="4">4 3 2 1</array>
                  </list>
               </module>
            </module>
            <module cmlx:templateRef="section">
               <array dataType="xsd:string" delimiter="|" dictRef="m:basis" size="11">O|CC-PVTZ|||||||||</array>
               <module cmlx:templateRef="valence">
                  <scalar dataType="xsd:double" dictRef="m:effectivecharge">8.000000</scalar>
                  <scalar dataType="xsd:double" dictRef="m:actualCharge">8.000000</scalar>
                  <list cmlx:templateRef="shells">
                     <array dataType="xsd:string" dictRef="m:shell" size="4">s p d f</array>
                     <array dataType="xsd:integer" dictRef="m:nprim" size="4">10 5 2 1</array>
                     <array dataType="xsd:integer" dictRef="m:nbasis" size="4">4 3 2 1</array>
                  </list>
               </module>
            </module>
            <module cmlx:templateRef="section">
               <array dataType="xsd:string" delimiter="|" dictRef="m:basis" size="11">H|CC-PVTZ|||||||||</array>
               <module cmlx:templateRef="valence">
                  <scalar dataType="xsd:double" dictRef="m:effectivecharge">1.000000</scalar>
                  <scalar dataType="xsd:double" dictRef="m:actualCharge">1.000000</scalar>
                  <list cmlx:templateRef="shells">
                     <array dataType="xsd:string" dictRef="m:shell" size="3">s p d</array>
                     <array dataType="xsd:integer" dictRef="m:nprim" size="3">5 2 1</array>
                     <array dataType="xsd:integer" dictRef="m:nbasis" size="3">3 2 1</array>
                  </list>
               </module>
            </module>
         </module>    
    </comment>

Output text ​

xml
<comment class="example.output" id="basisset2">
        <module cmlx:templateRef="basisset">
            <module cmlx:templateRef="section">
               <array dataType="xsd:string" delimiter="|" dictRef="m:basis" size="6">C|ANO-S|||3S2P|</array>
               <module cmlx:templateRef="valence">
                  <scalar dataType="xsd:double" dictRef="m:effectivecharge">6.000000</scalar>
                  <scalar dataType="xsd:double" dictRef="m:actualCharge">6.000000</scalar>
                  <list cmlx:templateRef="shells">
                     <array dataType="xsd:string" dictRef="m:shell" size="2">s p</array>
                     <array dataType="xsd:integer" dictRef="m:nprim" size="2">10 6</array>
                     <array dataType="xsd:integer" dictRef="m:nbasis" size="2">3 2</array>
                  </list>
               </module>
            </module>
            <module cmlx:templateRef="section">
               <array dataType="xsd:string" delimiter="|" dictRef="m:basis" size="6">O|ANO-S|||3S2P|</array>
               <module cmlx:templateRef="valence">
                  <scalar dataType="xsd:double" dictRef="m:effectivecharge">8.000000</scalar>
                  <scalar dataType="xsd:double" dictRef="m:actualCharge">8.000000</scalar>
                  <list cmlx:templateRef="shells">
                     <array dataType="xsd:string" dictRef="m:shell" size="2">s p</array>
                     <array dataType="xsd:integer" dictRef="m:nprim" size="2">10 6</array>
                     <array dataType="xsd:integer" dictRef="m:nbasis" size="2">3 2</array>
                  </list>
               </module>
            </module>
            <module cmlx:templateRef="section">
               <array dataType="xsd:string" delimiter="|" dictRef="m:basis" size="6">H|ANO-S|||2S|</array>
               <module cmlx:templateRef="valence">
                  <scalar dataType="xsd:double" dictRef="m:effectivecharge">1.000000</scalar>
                  <scalar dataType="xsd:double" dictRef="m:actualCharge">1.000000</scalar>
                  <list cmlx:templateRef="shells">
                     <array dataType="xsd:string" dictRef="m:shell" size="1">s</array>
                     <array dataType="xsd:integer" dictRef="m:nprim" size="1">7</array>
                     <array dataType="xsd:integer" dictRef="m:nbasis" size="1">2</array>
                  </list>
               </module>
            </module>
         </module>    
    </comment>

Template definition ​

xml
<templateList>  <template id="section" pattern=".*Basis\sset\slabel.*" endPattern=".*Basis\sset\slabel.*" endPattern2="~" endOffset="0" repeat="*">    <templateList>      <template id="param12" pattern="\s*Basis\sset\slabel:(.*\.)&#123;11&#125;.*" endPattern=".*">        <record>\s*Basis\sset\slabel:&#123;X,m:basis&#125;\.&#123;X,m:basis2&#125;\.&#123;X,m:basis3&#125;\.&#123;X,m:basis4&#125;\.&#123;X,m:basis5&#125;\.&#123;X,m:basis6&#125;\.&#123;X,m:basis7&#125;\.&#123;X,m:basis8&#125;\.&#123;X,m:basis9&#125;\.&#123;X,m:basis10&#125;\.&#123;X,m:basis11&#125;\.&#123;X,m:basis12&#125;.*</record>              
                </template>      <template id="param11" pattern="\s*Basis\sset\slabel:(.*\.)&#123;10&#125;.*" endPattern=".*">        <record>\s*Basis\sset\slabel:&#123;X,m:basis&#125;\.&#123;X,m:basis2&#125;\.&#123;X,m:basis3&#125;\.&#123;X,m:basis4&#125;\.&#123;X,m:basis5&#125;\.&#123;X,m:basis6&#125;\.&#123;X,m:basis7&#125;\.&#123;X,m:basis8&#125;\.&#123;X,m:basis9&#125;\.&#123;X,m:basis10&#125;\.&#123;X,m:basis11&#125;.*</record>               
                </template>      <template id="param10" pattern="\s*Basis\sset\slabel:(.*\.)&#123;9&#125;.*" endPattern=".*">        <record>\s*Basis\sset\slabel:&#123;X,m:basis&#125;\.&#123;X,m:basis2&#125;\.&#123;X,m:basis3&#125;\.&#123;X,m:basis4&#125;\.&#123;X,m:basis5&#125;\.&#123;X,m:basis6&#125;\.&#123;X,m:basis7&#125;\.&#123;X,m:basis8&#125;\.&#123;X,m:basis9&#125;\.&#123;X,m:basis10&#125;.*</record>               
                </template>      <template id="param9" pattern="\s*Basis\sset\slabel:(.*\.)&#123;8&#125;.*" endPattern=".*">        <record>\s*Basis\sset\slabel:&#123;X,m:basis&#125;\.&#123;X,m:basis2&#125;\.&#123;X,m:basis3&#125;\.&#123;X,m:basis4&#125;\.&#123;X,m:basis5&#125;\.&#123;X,m:basis6&#125;\.&#123;X,m:basis7&#125;\.&#123;X,m:basis8&#125;\.&#123;X,m:basis9&#125;.*</record>               
                </template>      <template id="param8" pattern="\s*Basis\sset\slabel:(.*\.)&#123;7&#125;.*" endPattern=".*">        <record>\s*Basis\sset\slabel:&#123;X,m:basis&#125;\.&#123;X,m:basis2&#125;\.&#123;X,m:basis3&#125;\.&#123;X,m:basis4&#125;\.&#123;X,m:basis5&#125;\.&#123;X,m:basis6&#125;\.&#123;X,m:basis7&#125;\.&#123;X,m:basis8&#125;.*</record>             
                </template>      <template id="param7" pattern="\s*Basis\sset\slabel:(.*\.)&#123;6&#125;.*" endPattern=".*">        <record>\s*Basis\sset\slabel:&#123;X,m:basis&#125;\.&#123;X,m:basis2&#125;\.&#123;X,m:basis3&#125;\.&#123;X,m:basis4&#125;\.&#123;X,m:basis5&#125;\.&#123;X,m:basis6&#125;\.&#123;X,m:basis7&#125;.*</record>               
                </template>      <template id="param6" pattern="\s*Basis\sset\slabel:(.*\.)&#123;5&#125;.*" endPattern=".*">        <record>\s*Basis\sset\slabel:&#123;X,m:basis&#125;\.&#123;X,m:basis2&#125;\.&#123;X,m:basis3&#125;\.&#123;X,m:basis4&#125;\.&#123;X,m:basis5&#125;\.&#123;X,m:basis6&#125;.*</record>             
                </template>      <template id="param5" pattern="\s*Basis\sset\slabel:(.*\.)&#123;4&#125;.*" endPattern=".*">        <record>\s*Basis\sset\slabel:&#123;X,m:basis&#125;\.&#123;X,m:basis2&#125;\.&#123;X,m:basis3&#125;\.&#123;X,m:basis4&#125;\.&#123;X,m:basis5&#125;.*</record>               
                </template>      <template id="valence" pattern="\s*Valence\sbasis\sset:" pattern2="\s*Electronic\svalence\sbasis\sset:" endPattern="\s*Effective\sCore\sPotential.*" endPattern2="~">        <record repeat="2" />        <record>\s*Associated\sEffective\sCharge&#123;F,m:effectivecharge&#125;.*</record>        <record>\s*Associated\sActual\sCharge&#123;F,m:actualCharge&#125;.*</record>        <templateList>          <template id="shells" pattern="\s*Shell\s+nPrim.*" endPattern="~">            <record />            <record id="shells" repeat="*" makeArray="true">&#123;A,m:shell&#125;&#123;I,m:nprim&#125;&#123;I,m:nbasis&#125;.*</record>            <transform process="pullup" xpath=".//cml:list[@cmlx:templateRef='shells']" />
                        </template>
                    </templateList>                   
                </template>
            </templateList>    <transform process="createArray" delimiter="|" xpath="." from=".//cml:scalar[starts-with(@dictRef,'m:basis')]" />    <transform process="pullup" xpath=".//cml:array[@dictRef='m:basis']" repeat="2" />    <transform process="pullup" xpath=".//cml:array[@dictRef='m:basis']" />
        </template>   
    </templateList>
<transform process="pullup" xpath=".//cml:scalar" />
<transform process="delete" xpath=".//cml:list[count(*) = 0]" />
<transform process="delete" xpath=".//cml:list[count(*) = 0]" />
<transform process="delete" xpath=".//cml:module[count(*) = 0]" />