Conversation
dimonaks
left a comment
There was a problem hiding this comment.
Доработай Тох плиз по комментам моим
| @@ -717,6 +715,11 @@ def actualize_set(self, curset = None, params = None): | |||
| if hasattr(self.init, 'magmom') and hasattr(self.init.magmom, '__iter__') and not None in self.init.magmom and bool(self.init.magmom): | |||
There was a problem hiding this comment.
Тут дичь получилась, два раза один и тот же код вставить предлагает
| plt.show() | ||
| return | ||
|
|
||
| def plot_energy_total_step(self,): |
| return | ||
|
|
||
| def plot_energy_total_step2(self,): | ||
| # print(self.maxforce) |
There was a problem hiding this comment.
Добавить описание. Подумать над названием, сейчас непонятно в чем разница между функциями из названия
|
|
||
|
|
||
| def read_oszicar(path_to_file): | ||
|
|
There was a problem hiding this comment.
Добавить описание, перевести комменты
|
|
||
| return child | ||
|
|
||
|
|
| return st | ||
|
|
||
| def exchange_axes_with_atoms(self, i1_r, i2_r): | ||
| """ |
There was a problem hiding this comment.
дописать описание, что значит rotate atoms?
| return st | ||
|
|
||
| def remove_atoms_randomly(self, el, n_at2remove, clear_magmom = 1): | ||
| """ |
There was a problem hiding this comment.
Привести описание в соответствие с нашим форматом. Добавить автора метода
| from pymatgen.analysis.wulff import WulffShape | ||
| WS = WulffShape(lat, miller_list, e_surf_list) | ||
| # print(dir(WS)) | ||
| print(WS.area_fraction_dict) |
There was a problem hiding this comment.
использовать printlog(), добавить вывод что это? Иначе потом не найти этот print
|
|
||
| if 'iconst_str' in params or ('LBLUEOUT' in cl.set.vasp_params and cl.set.vasp_params['LBLUEOUT'] == 1): #copy iconst file | ||
| if 'iconst_str' in params: | ||
| # with tempfile.NamedTemporaryFile('w', delete=False) as tmp: |
There was a problem hiding this comment.
убрать лишние закомменченные строки
| self.etotal = float(line.split()[4]) # Total energy in MD simulation | ||
| self.list_etotal.append(self.etotal) | ||
|
|
||
| if "kinetic energy EKIN =" in line: |
| # print(a) | ||
| nebmaker('POSCAR1','POSCAR2', images) | ||
| printlog('Starting nebmaker ...', imp = 'y') | ||
| nebmaker('POSCAR1','POSCAR2', images, idpp = False) |
There was a problem hiding this comment.
Не надо выключять полностью , давай добавим параметр для add_neb
Functionality for constrained AIMD calculations:
- set VASP params
- additional file ICONST pushing to server. Constrains should be given as list of strings under parameter 'iconst_str' = ['R 98 172 0\n', 'R 98 202 0\n'] for example
-
plot_energy_total_step2() - method for Calculation() allowing to plot E_tot(t) dependence for AIMD calculations
remove_atoms_randomly(self, el, n_at2remove, clear_magmom = 1) - method for Calculation()
Some minor changes