input.file
Type |
Status |
---|---|
CML extraction template |
|
HTML5 representation |
Attribute |
Value |
---|---|
source |
ADF log |
id |
input.file |
name |
Input file dump |
pattern |
\s*\(INPUT\sFILE\)\s* |
endPattern |
\s*(End Input|end input|END INPUT|End input)\s* |
endPattern2 |
\s*$\s*\*{40,}+\s* |
endPattern3 |
~ |
endOffset |
1 |
repeat |
* |
xml:base |
input.file.xml |
Input
(INPUT FILE)
create W /usr/local/adf2007.01/atomicdata/ZORA/TZP/W.4d
xc
lda vwn
gradients becke perdew
end
relativistic scalar zora
corepotentials t12rel <++
W 2
end
end input
Output text
1<comment class="example.output" id="input.file">
2 <module cmlx:lineCount="13" cmlx:templateRef="input.file">
3 <scalar dataType="xsd:string" dictRef="cc:inputLine">(INPUT FILE)</scalar>
4 <scalar dataType="xsd:string" dictRef="cc:inputLine" />
5 <scalar dataType="xsd:string" dictRef="cc:inputLine">create W /usr/local/adf2007.01/atomicdata/ZORA/TZP/W.4d</scalar>
6 <scalar dataType="xsd:string" dictRef="cc:inputLine">xc</scalar>
7 <scalar dataType="xsd:string" dictRef="cc:inputLine">lda vwn</scalar>
8 <scalar dataType="xsd:string" dictRef="cc:inputLine">gradients becke perdew</scalar>
9 <scalar dataType="xsd:string" dictRef="cc:inputLine">end</scalar>
10 <scalar dataType="xsd:string" dictRef="cc:inputLine">relativistic scalar zora</scalar>
11 <scalar dataType="xsd:string" dictRef="cc:inputLine">corepotentials t12rel <++</scalar>
12 <scalar dataType="xsd:string" dictRef="cc:inputLine">W 2</scalar>
13 <scalar dataType="xsd:string" dictRef="cc:inputLine">end</scalar>
14 <scalar dataType="xsd:string" dictRef="cc:inputLine">end input</scalar>
15 <scalar dataType="xsd:string" dictRef="cc:inputLine" />
16 </module>
17 </comment>
Template definition
1<record repeat="*">{X,cc:inputLine}</record>
2<transform process="pullup" xpath=".//cml:scalar" />
3<transform process="delete" xpath=".//cml:list[count(*)=0]" />