|
54 | 54 | class Poscar(MSONable):
|
55 | 55 | """
|
56 | 56 | Object for representing the data in a POSCAR or CONTCAR file.
|
57 |
| - Please note that this current implementation. Most attributes can be set |
58 |
| - directly. |
59 | 57 |
|
60 |
| - .. attribute:: structure |
61 |
| -
|
62 |
| - Associated Structure. |
63 |
| -
|
64 |
| - .. attribute:: comment |
65 |
| -
|
66 |
| - Optional comment string. |
67 |
| -
|
68 |
| - .. attribute:: true_names |
69 |
| -
|
70 |
| - Boolean indication whether Poscar contains actual real names parsed |
71 |
| - from either a POTCAR or the POSCAR itself. |
72 |
| -
|
73 |
| - .. attribute:: selective_dynamics |
74 |
| -
|
75 |
| - Selective dynamics attribute for each site if available. A Nx3 array of |
76 |
| - booleans. |
77 |
| -
|
78 |
| - .. attribute:: velocities |
79 |
| -
|
80 |
| - Velocities for each site (typically read in from a CONTCAR). A Nx3 |
81 |
| - array of floats. |
82 |
| -
|
83 |
| - .. attribute:: predictor_corrector |
84 |
| -
|
85 |
| - Predictor corrector coordinates and derivatives for each site; i.e. |
86 |
| - a list of three 1x3 arrays for each site (typically read in from a MD |
87 |
| - CONTCAR). |
88 |
| -
|
89 |
| - .. attribute:: predictor_corrector_preamble |
90 |
| -
|
91 |
| - Predictor corrector preamble contains the predictor-corrector key, |
92 |
| - POTIM, and thermostat parameters that precede the site-specic predictor |
93 |
| - corrector data in MD CONTCAR |
94 |
| -
|
95 |
| - .. attribute:: temperature |
96 |
| -
|
97 |
| - Temperature of velocity Maxwell-Boltzmann initialization. Initialized |
98 |
| - to -1 (MB hasn"t been performed). |
| 58 | + Attributes: |
| 59 | + structure: Associated Structure. |
| 60 | + comment: Optional comment string. |
| 61 | + true_names: Boolean indication whether Poscar contains actual real names parsed |
| 62 | + from either a POTCAR or the POSCAR itself. |
| 63 | + selective_dynamics: Selective dynamics attribute for each site if available. |
| 64 | + A Nx3 array of booleans. |
| 65 | + velocities: Velocities for each site (typically read in from a CONTCAR). |
| 66 | + A Nx3 array of floats. |
| 67 | + predictor_corrector: Predictor corrector coordinates and derivatives for each site; |
| 68 | + i.e. a list of three 1x3 arrays for each site (typically read in from a MD CONTCAR). |
| 69 | + predictor_corrector_preamble: Predictor corrector preamble contains the predictor-corrector key, |
| 70 | + POTIM, and thermostat parameters that precede the site-specic predictor corrector data in MD CONTCAR. |
| 71 | + temperature: Temperature of velocity Maxwell-Boltzmann initialization. |
| 72 | + Initialized to -1 (MB hasn't been performed). |
99 | 73 | """
|
100 | 74 |
|
101 | 75 | def __init__(
|
|
0 commit comments