Vaspwiki standards: Difference between revisions

From VASP Wiki
(Created page with '*You might start a page on the INCAR-tag "tagname" as follows <pre>{{TAGDEF|TAGNAME|val1 [{{!}} val2 {{!}} val3 {{!}} .. ] [|default] }}</pre> :Examples: # <pre>{{TAGDEF|NELM|[…')
 
No edit summary
Line 19: Line 19:
{{TAGDEF|TAGNAME|val1 {{!}} val2 {{!}} val3}}
{{TAGDEF|TAGNAME|val1 {{!}} val2 {{!}} val3}}
{{DEF|TAGNAME|default1|condition1|default2|condition2|default3|condition3}}
{{DEF|TAGNAME|default1|condition1|default2|condition2|default3|condition3}}
for instance
<pre>{{TAGDEF|ICHARG|0 {{!}} 1 {{!}} 2 {{!}} 4}}
{{DEF|ICHARG|2|if {{TAG|ISTART}}{{=}}0|0|else}}
</pre>
{{TAGDEF|ICHARG|0 {{!}} 1 {{!}} 2 {{!}} 4}}
{{DEF|ICHARG|2|if {{TAG|ISTART}}{{=}}0|0|else}}


The TAGDEF template can harbor up to six "default|condition" combinations.
The TAGDEF template can harbor up to six "default|condition" combinations.

Revision as of 11:13, 3 February 2011

  • You might start a page on the INCAR-tag "tagname" as follows
{{TAGDEF|TAGNAME|val1 [{{!}} val2 {{!}} val3 {{!}} .. ] [|default] }}
Examples:
  1. {{TAGDEF|NELM|[integer]}}
    NELM = [integer] 
  2. {{TAGDEF|NELM|[integer]|60}}
    NELM = [integer]
    Default: NELM = 60 
  3. {{TAGDEF|ISTART|0 {{!}} 1  {{!}} 2|0}}
    ISTART = 0 | 1 | 2
    Default: ISTART = 0 
  • When an INCAR-tag has more than one default (a conditional default) use the following construct
{{TAGDEF|TAGNAME|val1 {{!}} val2 {{!}} val3}}
{{DEF|TAGNAME|default1|condition1|default2|condition2 [|default3|condition3] ... }}

TAGNAME = val1 | val2 | val3 

Default: TAGNAME = default1 condition1
= default2 condition2
= default3 condition3

for instance

{{TAGDEF|ICHARG|0 {{!}} 1 {{!}} 2 {{!}} 4}}
{{DEF|ICHARG|2|if {{TAG|ISTART}}{{=}}0|0|else}}

ICHARG = 0 | 1 | 2 | 4 

Default: ICHARG = 2 if ISTART=0
= 0 else

The TAGDEF template can harbor up to six "default|condition" combinations.

  • Followed by
Description: {{TAG|TAGNAME}} ...
----
and maybe lots of text etc

Description: TAGNAME ...


and your text maybe lots of text etc

  • Optionally put in
== Related Tags and Sections ==
{{TAG|PREC}},
[[specific_hybrid_functionals|an internal link]]

[http://www.mediawiki.org/wiki/Help:Formatting How to format text etc]

[http://www.mediawiki.org/wiki/Help:Links Links in a mediawiki environment]

Related Tags and Sections

PREC, an internal link

How to format text etc

Links in a mediawiki environment


  • End with
----
[[The_VASP_Manual|Contents]]

[[Category:INCAR]]

Contents