Print POSCAR with formating options.
Example:
std::ostream file("POSCAR");
Configuration config;
printer.title("My system");
printer.set_cart();
printer.sort();
printer.print(file);
file.close();
Definition at line 232 of file VaspIO.hh.
|
| PrintPOSCAR (const BasicStructure< Site > &struc) |
| Construct PrintPOSCAR object. More...
|
|
| PrintPOSCAR (const Configuration &config) |
| Construct PrintPOSCAR object. More...
|
|
| PrintPOSCAR (const Supercell &scel, const ConfigDoF &configdof) |
| Construct PrintPOSCAR object. More...
|
|
iterator | begin () |
| Iterate over tuples of (AtomName, Coordinate, SelectiveDynamics) More...
|
|
iterator | end () |
| Iterate over tuples of (AtomName, Coordinate, SelectiveDynamics) More...
|
|
const_iterator | cbegin () const |
| Iterate over tuples of (AtomName, Coordinate, SelectiveDynamics) More...
|
|
const_iterator | cend () const |
| Iterate over tuples of (AtomName, Coordinate, SelectiveDynamics) More...
|
|
void | sort () |
| Default sort is by atom name. More...
|
|
void | print (std::ostream &sout) |
| Print POSCAR to stream. More...
|
|
void | set_title (std::string title) |
| Set title. More...
|
|
void | set_scale (double s) |
| Set scaling factor. More...
|
|
void | set_direct () |
| Set coordinate mode to Direct (fractional) More...
|
|
void | set_frac () |
| Set coordinate mode to fractional (Direct) More...
|
|
void | set_cart () |
| Set coordinate mode to Cartesian. More...
|
|
void | set_coord_mode (COORD_TYPE mode) |
| Set coordinate mode. More...
|
|
void | set_selective_dynamics_off () |
| Set selective dynamics off. More...
|
|
void | set_selective_dynamics_on () |
| Set selective dynamics on. More...
|
|
void | set_atom_names_off () |
| Do not print atom names line. More...
|
|
void | set_atom_names_on () |
| Print atom names line. More...
|
|
void | set_append_atom_names_off () |
| Do not append atom name to end of each coordinate line. More...
|
|
void | set_append_atom_names_on () |
| Append atom name to end of each coordinate line. More...
|
|
std::vector< std::string > & | ignore () |
| Access vector of atom names which should not be printed, such as for vacancies. More...
|
|
const std::vector< std::string > & | ignore () const |
| const Access vector of atom names which should not be printed, such as for vacancies More...
|
|
template<typename TupleIterator >
void CASM::VaspIO::vaspio_impl::PrintPOSCARBase::_print |
( |
std::ostream & |
sout, |
|
|
TupleIterator |
begin, |
|
|
TupleIterator |
end |
|
) |
| |
|
protectedinherited |
Print POSCAR, provide a range of std::tuple<Atom name, Coordinate, SelectiveDynamics>
Print POSCAR, providing a range of std::tuple<AtomName, Coordinate, SelectiveDynamics>
Definition at line 296 of file VaspIO.hh.