dipole ​
Implementation level ​
Type | Status |
---|---|
CML extraction template | |
HTML5 representation |
Template attributes ​
Attribute | Value |
---|---|
source | VASP outcar |
id | dipole |
name | Dipole corrections |
pattern | \s*Dipole\scorrections.* |
endPattern | \s* |
repeat | * |
xml:base | incar/dipole.xml |
Input ​
Dipole corrections
LMONO = F monopole corrections only (constant potential shift)
LDIPOL = T correct potential (dipole corrections)
IDIPOL = 3 1-x, 2-y, 3-z, 4-all directions
EPSILON= 1.0000000 bulk dielectric constant
Output text ​
xml
<comment class="example.output" id="dipole">
<module cmlx:templateRef="dipole">
<module>
<list cmlx:templateRef="missingID">
<scalar dataType="xsd:string" dictRef="v:ldipol">T</scalar>
</list>
</module>
<module>
<list cmlx:templateRef="missingID">
<scalar dataType="xsd:integer" dictRef="v:idipol">3</scalar>
</list>
</module>
</module>
</comment>
Template definition ​
xml
<templateList> <template pattern="\s*LDIPOL.*" endPattern=".*" endPattern2="~"> <record>\s*LDIPOL\s*={A,v:ldipol}.*</record>
</template> <template pattern="\s*IDIPOL.*" endPattern=".*" endPattern2="~"> <record>\s*IDIPOL\s*={I,v:idipol}.*</record>
</template>
</templateList>