You are viewing the documentation of a previous ioChem-BD version (v4, legacy).ioChem-BD v4 legacy docs.Visit the current documentationCurrent docs
Skip to content

totalnumbers ​

Implementation level ​

TypeStatus
CML extraction template
HTML5 representation

Template attributes ​

AttributeValue
sourceCP2K log
idtotalnumbers
nameTotal numbers
pattern\s+TOTAL NUMBERS AND MAXIMUM NUMBERS.*
endPattern\s+Maximum angular momentum.*
endOffset1
xml:basesystem/totalnumbers.xml

Input

      TOTAL NUMBERS AND MAXIMUM NUMBERS

       Total number of            - Atomic kinds:                                   2
                                  - Atoms:                                          3
                                  - Shell sets:                                     3
                                  - Shells:                                        11
                                  - Primitive Cartesian functions:                 21
                                  - Cartesian basis functions:                     24
                                  - Spherical basis functions:                     23

       Maximum angular momentum of- Orbital basis functions:                        2
                                  - Local part of the GTH pseudopotential:          2
                                  - Non-local part of the GTH pseudopotential:      0

Output text

xml
<comment class="example.output" id="totalnumbers">
      <module cmlx:templateRef="totalnumbers">
        <list cmlx:templateRef="kinds">
          <scalar dataType="xsd:integer" dictRef="cp2k:nkinds">2</scalar>
        </list>
        <list cmlx:templateRef="atoms">
          <scalar dataType="xsd:integer" dictRef="cp2k:natoms">3</scalar>
        </list>
        <list cmlx:templateRef="spherical">
          <scalar dataType="xsd:integer" dictRef="cp2k:nbasis">23</scalar>
        </list>
      </module>
    </comment>

Template definition

xml
<record id="kinds">\s+Total number of\s+- Atomic kinds:\s+&#123;I,cp2k:nkinds&#125;\s*</record>
<record id="atoms">\s+- Atoms:\s+&#123;I,cp2k:natoms&#125;\s*</record>
<record id="spherical">\s+- Spherical basis functions:\s+&#123;I,cp2k:nbasis&#125;\s*</record>
<transform process="delete" xpath=".//cml:list[count(*)=0]" repeat="2" />