Home
last modified time | relevance | path

Searched refs:translate_sites (Results 1 – 14 of 14) sorted by relevance

/dports/science/py-pymatgen/pymatgen-2022.0.15/pymatgen/io/lammps/
H A Dutils.py79 start_monomer.translate_sites(range(len(start_monomer)), -monomer.cart_coords[s_head])
80 monomer.translate_sites(range(len(monomer)), -monomer.cart_coords[head])
81 end_monomer.translate_sites(range(len(end_monomer)), -monomer.cart_coords[e_head])
158 monomer.translate_sites(range(len(monomer)), translate_by)
364 mol.translate_sites(indices=range(len(mol)), vector=-mol.center_of_mass)
/dports/science/py-pymatgen/pymatgen-2022.0.15/pymatgen/transformations/
H A Dsite_transformations.py221 s.translate_sites(idx, self.translation_vector[i], self.vector_in_frac_coords)
223 … s.translate_sites(self.indices_to_move, self.translation_vector, self.vector_in_frac_coords)
642 structure.translate_sites(**kwargs)
/dports/science/py-pymatgen/pymatgen-2022.0.15/pymatgen/analysis/tests/
H A Dtest_structure_matcher.py247 self.struct_list[1].translate_sites([0], [0.4, 0.4, 0.2], frac_coords=True)
250 self.struct_list[1].translate_sites([0], [-0.4, -0.4, -0.2], frac_coords=True)
445 s2.translate_sites(range(len(s2)), match[3])
1070 …shift_s_struc.translate_sites(range(len(s_struc)), [0.2, 0.3, 0.4], frac_coords=True, to_unit_cell…
1092 …shift_ns_struc.translate_sites(range(len(ns_struc)), [0.0, 0.6, 0.3], frac_coords=True, to_unit_ce…
1151 …rotANDshift_ns_struc.translate_sites(range(len(ns_struc)), [0.0, 0.6, 0.3], frac_coords=True, to_u…
/dports/science/py-pymatgen/pymatgen-2022.0.15/pymatgen/core/
H A Dinterface.py115 self.translate_sites(self.film_indices, [delta[0], delta[1], 0], to_unit_cell=True)
133 self.translate_sites(self.film_indices, [0, 0, delta], frac_coords=False, to_unit_cell=True)
H A Dsurface.py987 slab.translate_sites(list(range(len(slab))), [0, 0, 0.5 - avg_c])
1275 slab.translate_sites(top_site_index, [0, 0, slab_ratio])
1276 slab.translate_sites(bottom_site_index, [0, 0, -slab_ratio])
1984 slab.translate_sites(all_indices, [0, 0, shift])
1990 slab.translate_sites(all_indices, [0, 0, shift])
H A Dstructure.py3475 fgroup.translate_sites(list(range(len(fgroup))), origin - x.coords)
3607 def translate_sites( member in Structure
3715 self.translate_sites([i], get_rand_vec(), frac_coords=False)
4013 def translate_sites(self, indices: Sequence[int] = None, vector: ArrayLike = None): member in Molecule
4089 self.translate_sites([i], get_rand_vec())
4178 func_grp.translate_sites(list(range(len(func_grp))), origin - x.coords)
/dports/science/py-pymatgen/pymatgen-2022.0.15/pymatgen/core/tests/
H A Dtest_structure.py903 self.structure.translate_sites([0, 1], [0.5, 0.5, 0.5], frac_coords=True)
906 self.structure.translate_sites([0], [0.5, 0.5, 0.5], frac_coords=False)
909 self.structure.translate_sites([0], [0.5, 0.5, 0.5], frac_coords=True, to_unit_cell=False)
1538 self.mol.translate_sites([0, 1], [0.5, 0.5, 0.5])
H A Dtest_surface.py314 slab.translate_sites([i for i, site in enumerate(slab)], [0, 0, -0.25])
/dports/science/py-pymatgen/pymatgen-2022.0.15/pymatgen/analysis/
H A Dstructure_matcher.py1153 temp.translate_sites(list(range(len(temp))), t)
1158 temp.translate_sites(j, vec, to_unit_cell=False)
H A Dpath_finder.py107 image.translate_sites(
H A Dadsorption.py402 molecule.translate_sites(vector=[-x, -y, -z])
H A Dsurface_analysis.py1492 slab.translate_sites([i for i, site in enumerate(slab)], [0, 0, self.shift])
/dports/science/py-pymatgen/pymatgen-2022.0.15/pymatgen/io/vasp/
H A Dsets.py2448 s.translate_sites([i], t, to_unit_cell=False)
/dports/science/py-abipy/abipy-0.9.0/abipy/core/
H A Dstructure.py1622 self.translate_sites(indices=i, vector=eta * displ[i, :], frac_coords=True)