1 #ifndef CASM_crystallography_io_VaspIO
2 #define CASM_crystallography_io_VaspIO
108 void print(std::ostream &sout)
const;
std::set< std::string > & s
Print POSCAR with formating options.
SpeciesMode m_species_mode
void set_cart()
Set coordinate mode to Cartesian.
void set_direct()
Set coordinate mode to Direct (fractional)
xtal::SimpleStructure m_struc
void set_append_atom_names_on()
Append atom name to end of each coordinate line.
void set_title(std::string title)
Set title.
void set_coord_mode(COORD_TYPE mode)
Set coordinate mode.
void set_atom_names_off()
Do not print atom names line.
void set_atom_names_on()
Print atom names line.
void set_append_atom_names_off()
Do not append atom name to end of each coordinate line.
std::set< std::string > & ignore()
Access set of atom names which should not be printed, such as for vacancies.
void sort()
Default sort is by atom name.
const std::set< std::string > & ignore() const
const Access set of atom names which should not be printed, such as for vacancies
void set_selective_dynamics_on()
Set selective dynamics on.
void set_frac()
Set coordinate mode to fractional (Direct)
std::set< std::string > m_ignore
List of atom names which should not be printed (primarily for vacancies)
PrintPOSCAR(xtal::SimpleStructure _struc, std::string _title="", SpeciesMode _mode=SpeciesMode::ATOM)
Construct PrintPOSCAR object.
void set_scale(double s)
Set scaling factor.
void set_selective_dynamics_off()
Set selective dynamics off.
void print(std::ostream &sout) const
Print POSCAR to stream.
std::vector< Index > m_permute
Representation of a crystal of molecular and/or atomic occupants, and any additional properties....
SimpleStructureTools::SpeciesMode SpeciesMode