|
Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
|
Writer for VASP POSCAR and CONTCAR files. More...
#include <PoscarWriter.hpp>


Public Member Functions | |
| std::string | getName () const override |
| Returns the display name of the structure format. | |
| std::vector< std::string > | getExtensions () const override |
| Returns a list of supported file extensions. | |
| void | write (const std::string &filepath, const correlation::core::Cell &cell, const StructureWriterOptions &options={}) const override |
| Writes a simulation cell to a target file path. | |
| Public Member Functions inherited from correlation::writers::structure::BaseStructureWriter | |
| BaseStructureWriter ()=default | |
| virtual | ~BaseStructureWriter ()=default |
| BaseStructureWriter (const BaseStructureWriter &)=delete | |
| BaseStructureWriter & | operator= (const BaseStructureWriter &)=delete |
| BaseStructureWriter (BaseStructureWriter &&)=delete | |
| BaseStructureWriter & | operator= (BaseStructureWriter &&)=delete |
Writer for VASP POSCAR and CONTCAR files.
Implements VASP 5+ format with explicit species symbols, contiguous species grouping, and support for Direct (fractional) or Cartesian coordinates.
|
inlinenodiscardoverridevirtual |
Returns a list of supported file extensions.
Implements correlation::writers::structure::BaseStructureWriter.
|
inlinenodiscardoverridevirtual |
Returns the display name of the structure format.
Implements correlation::writers::structure::BaseStructureWriter.
|
overridevirtual |
Writes a simulation cell to a target file path.
| [in] | filepath | The destination path for the output file. |
| [in] | cell | The atomic simulation cell to serialize. |
| [in] | options | Options governing coordinate conventions and element ordering. |
| std::runtime_error | If file cannot be written or cell data is invalid. |
Implements correlation::writers::structure::BaseStructureWriter.