LCHARG: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
Line 1: Line 1:
{{TAGDEF|LCHARG|[logical]|.NOT.{{TAG|LH5}}}}
{{TAGDEF|LCHARG|[logical]|.True.}}


Description: {{TAG|LCHARG}} determines whether the charge densities (files {{FILE|CHGCAR}} and {{FILE|CHG}}) are written.
Description: Determines whether the charge density is written.
-----
 
By default for {{TAGDEF|ICHARG|T}} the files {{FILE|CHGCAR}} and {{FILE|CHG}}) are written.
If {{TAGDEF|LH5|T}}, the charge density is instead written to {{FILE|vaspwave.h5}}.
{{NB|mind|For VASP version 6.0 to 6.4.2 the default for {{TAGDEF|LCHARG|.NOT.{{TAG|LH5}}}}}}


== Related tags and articles ==
== Related tags and articles ==

Revision as of 10:50, 19 September 2025

LCHARG = [logical]
Default: LCHARG = .True. 

Description: Determines whether the charge density is written.


By default for ICHARG = T  the files CHGCAR and CHG) are written. If LH5 = T , the charge density is instead written to vaspwave.h5.

Mind: For VASP version 6.0 to 6.4.2 the default for LCHARG = .NOT.LH5 

Related tags and articles

LWAVE, LWAVEH5, LCHARGH5, LH5


Examples that use this tag