Cp2kDrone¶
- class atomate2.cp2k.drones.Cp2kDrone(**task_document_kwargs)[source]¶
Bases:
AbstractDrone
A CP2K drone to parse CP2K outputs.
- Parameters:
**task_document_kwargs – Additional keyword args passed to
TaskDocument.from_directory
.
- assimilate(path=None)[source]¶
Parse CP2K output files and return the output document.
- Parameters:
path (str or Path or None) – Path to the directory containing CP2K outputs
- Returns:
A CP2K task document.
- Return type:
- get_valid_paths(path)[source]¶
Get valid paths to assimilate.
There are some restrictions on the valid directory structures:
There can be only one cp2k.out in each directory. Nested directories are ok.
Directories designated “relax1”…”relax9” are considered to be parts of a multiple-optimization run.
Directories containing VASP output with “.relax1”…”.relax9” are also considered as parts of a multiple-optimization run.