aiida_vasp.parsers.content_parsers.incar#

The INCAR parser interface.

Module Contents#

Classes#

IncarParser

The parser interface that enables parsing of INCAR content.

API#

class aiida_vasp.parsers.content_parsers.incar.IncarParser(*args, validate_tags=True, **kwargs)[source]#

Bases: aiida_vasp.parsers.content_parsers.base.BaseFileParser

The parser interface that enables parsing of INCAR content.

The parser is triggered by using the incar quantity key.

Initialization

DEFAULT_SETTINGS = None#
PARSABLE_QUANTITIES = None#
_init_from_handler(handler)[source]#

Initialize a parsevasp object of Incar using a file like handler.

handlerobject

A file like object that provides the necessary INCAR content to be parsed.

_init_from_data(data)[source]#

Initialize using an AiiDA Dict instance.

dataobject

A valid AiiDA Dict object.

property incar#

Return the parameters in the INCAR.

paramsdict or None

A dictionary containing the parameter tags as keys and its settings as values. None is returned if the quantity can not be parsed.

_content_data_to_content_parser()[source]#

Convert an AiiDA Dict to a content parser instance of Incar from parsevasp.

content_parserobject

An instance of Incar from parsevasp.