/dports/science/lammps/lammps-stable_29Sep2021/src/REAXFF/ |
H A D | compute_spec_atom.cpp | 194 int nlocal = atom->nlocal; in pack_q() local 211 int nlocal = atom->nlocal; in pack_x() local 228 int nlocal = atom->nlocal; in pack_y() local 245 int nlocal = atom->nlocal; in pack_z() local 262 int nlocal = atom->nlocal; in pack_vx() local 279 int nlocal = atom->nlocal; in pack_vy() local 296 int nlocal = atom->nlocal; in pack_vz() local 312 int nlocal = atom->nlocal; in pack_abo01() local 326 int nlocal = atom->nlocal; in pack_abo02() local 340 int nlocal = atom->nlocal; in pack_abo03() local [all …]
|
/dports/science/liggghts/LIGGGHTS-PUBLIC-3.8.0-26-g6e873439/src/ |
H A D | compute_property_atom.cpp | 405 int nlocal = atom->nlocal; in pack_id() local 420 int nlocal = atom->nlocal; in pack_molecule() local 435 int nlocal = atom->nlocal; in pack_type() local 451 int nlocal = atom->nlocal; in pack_vol() local 475 int nlocal = atom->nlocal; in pack_eq_radius() local 496 int nlocal = atom->nlocal; in pack_mass() local 519 int nlocal = atom->nlocal; in pack_x() local 534 int nlocal = atom->nlocal; in pack_y() local 549 int nlocal = atom->nlocal; in pack_z() local 564 int nlocal = atom->nlocal; in pack_xs() local [all …]
|
H A D | fix_store_state.cpp | 345 int nlocal = atom->nlocal; in FixStoreState() local 623 int nlocal = atom->nlocal; in pack_id() local 638 int nlocal = atom->nlocal; in pack_molecule() local 653 int nlocal = atom->nlocal; in pack_type() local 670 int nlocal = atom->nlocal; in pack_mass() local 693 int nlocal = atom->nlocal; in pack_x() local 708 int nlocal = atom->nlocal; in pack_y() local 723 int nlocal = atom->nlocal; in pack_z() local 738 int nlocal = atom->nlocal; in pack_xs() local 756 int nlocal = atom->nlocal; in pack_ys() local [all …]
|
H A D | atom_vec_superquadric.cpp | 895 int nlocal = atom->nlocal; in unpack_exchange() local 959 int nlocal = atom->nlocal; in size_restart() local 1035 int nlocal = atom->nlocal; in unpack_restart() local 1103 int nlocal = atom->nlocal; in create_atom() local 1137 rmass[nlocal] = volume[nlocal] * density[nlocal]; in create_atom() 1152 int nlocal = atom->nlocal; in data_atom() local 1207 rmass[nlocal] = volume[nlocal] * density[nlocal]; in data_atom() 1256 int nlocal = atom->nlocal; in pack_data() local 1290 int nlocal = atom->nlocal; in pack_data() local 1359 int nlocal = atom->nlocal; in pack_vel() local [all …]
|
H A D | atom_vec_full.cpp | 707 int nlocal = atom->nlocal; in unpack_exchange() local 768 atom->nlocal++; in unpack_exchange() 781 int nlocal = atom->nlocal; in size_restart() local 868 int nlocal = atom->nlocal; in unpack_restart() local 922 nspecial[nlocal][0] = nspecial[nlocal][1] = nspecial[nlocal][2] = 0; in unpack_restart() 930 atom->nlocal++; in unpack_restart() 941 int nlocal = atom->nlocal; in create_atom() local 962 nspecial[nlocal][0] = nspecial[nlocal][1] = nspecial[nlocal][2] = 0; in create_atom() 974 int nlocal = atom->nlocal; in data_atom() local 984 if (type[nlocal] <= 0 || type[nlocal] > atom->ntypes) in data_atom() [all …]
|
H A D | atom_vec_sph.cpp | 645 int nlocal = atom->nlocal; in unpack_exchange() local 672 atom->nlocal++; in unpack_exchange() 685 int nlocal = atom->nlocal; in size_restart() local 738 int nlocal = atom->nlocal; in unpack_restart() local 770 atom->nlocal++; in unpack_restart() 781 int nlocal = atom->nlocal; in create_atom() local 805 atom->nlocal++; in create_atom() 815 int nlocal = atom->nlocal; in data_atom() local 823 if (type[nlocal] <= 0 || type[nlocal] > atom->ntypes) in data_atom() 894 int nlocal = atom->nlocal; in pack_data() local [all …]
|
H A D | atom_vec_molecular.cpp | 694 int nlocal = atom->nlocal; in unpack_exchange() local 754 atom->nlocal++; in unpack_exchange() 767 int nlocal = atom->nlocal; in size_restart() local 853 int nlocal = atom->nlocal; in unpack_restart() local 906 nspecial[nlocal][0] = nspecial[nlocal][1] = nspecial[nlocal][2] = 0; in unpack_restart() 914 atom->nlocal++; in unpack_restart() 925 int nlocal = atom->nlocal; in create_atom() local 945 nspecial[nlocal][0] = nspecial[nlocal][1] = nspecial[nlocal][2] = 0; in create_atom() 957 int nlocal = atom->nlocal; in data_atom() local 967 if (type[nlocal] <= 0 || type[nlocal] > atom->ntypes) in data_atom() [all …]
|
H A D | fix_contact_history_mesh.cpp | 281 const int nlocal = atom->nlocal; in pre_exchange() local 321 const int nlocal = atom->nlocal; in pre_force() local 377 const int nlocal = atom->nlocal; in sort_contacts() local 413 const int nlocal = atom->nlocal; in markAllContacts() local 468 const int nlocal = atom->nlocal; in cleanUpContactJumps() local 512 const int nlocal = atom->nlocal; in reset_history() local 586 if (!partner_[nlocal] || !contacthistory_[nlocal]) in unpack_exchange() 631 npartner_[nlocal] = ubuf(extra[nlocal][m++]).i; in unpack_restart() 633 partner_[nlocal] = ipage_->get(npartner_[nlocal]); in unpack_restart() 636 if (!partner_[nlocal] || !contacthistory_[nlocal]) in unpack_restart() [all …]
|
H A D | fix_contact_property_atom.cpp | 183 int nlocal = atom->nlocal; in pre_exchange() local 334 npartner_[nlocal] = ubuf(buf[m++]).i; in unpack_exchange() 336 partner_[nlocal] = ipage_->get(npartner_[nlocal]); in unpack_exchange() 337 contacthistory_[nlocal] = dpage_->get(dnum_*npartner_[nlocal]); in unpack_exchange() 339 if (partner_[nlocal] == NULL || contacthistory_[nlocal] == NULL) in unpack_exchange() 437 npartner_[nlocal] = ubuf(extra[nlocal][m++]).i; in unpack_restart() 439 partner_[nlocal] = ipage_->get(npartner_[nlocal]); in unpack_restart() 440 contacthistory_[nlocal] = dpage_->get(npartner_[nlocal]*dnum_); in unpack_restart() 442 if (partner_[nlocal] == NULL || contacthistory_[nlocal] == NULL) in unpack_restart() 446 partner_[nlocal][n] = ubuf(extra[nlocal][m++]).i; in unpack_restart() [all …]
|
H A D | special.cpp | 95 int nlocal = atom->nlocal; in build() local 466 int nlocal = atom->nlocal; in dedup() local 536 int nlocal = atom->nlocal; in combine() local 680 int nlocal = atom->nlocal; in angle_trim() local 802 int nlocal = atom->nlocal; in dihedral_trim() local 904 int nlocal = atom->nlocal; in ring_one() local 923 int nlocal = atom->nlocal; in ring_two() local 947 int nlocal = atom->nlocal; in ring_three() local 978 int nlocal = atom->nlocal; in ring_four() local 1013 int nlocal = atom->nlocal; in ring_five() local [all …]
|
H A D | atom_vec_sphere.cpp | 882 int nlocal = atom->nlocal; in unpack_exchange() local 922 int nlocal = atom->nlocal; in size_restart() local 976 int nlocal = atom->nlocal; in unpack_restart() local 1022 int nlocal = atom->nlocal; in create_atom() local 1040 radius[nlocal]*radius[nlocal]*density[nlocal]; in create_atom() 1042 radius[nlocal]*radius[nlocal]*radius[nlocal] * density[nlocal]; in create_atom() 1057 int nlocal = atom->nlocal; in data_atom() local 1080 radius[nlocal]*radius[nlocal]*density[nlocal]; in data_atom() 1082 radius[nlocal]*radius[nlocal]*radius[nlocal] * density[nlocal]; in data_atom() 1120 radius[nlocal]*radius[nlocal]*radius[nlocal] * density[nlocal]; in data_atom_hybrid() [all …]
|
H A D | delete_atoms.cpp | 116 int nlocal = atom->nlocal; in command() local 119 while (i < nlocal) { in command() 121 avec->copy(nlocal-1,i,1); in command() 123 nlocal--; in command() 127 atom->nlocal = nlocal; in command() 181 int nlocal = atom->nlocal; in delete_group() local 207 int nlocal = atom->nlocal; in delete_region() local 254 int nlocal = cptr->atom->nlocal; in molring() local 333 int nlocal = atom->nlocal; in delete_overlap() local 401 if (j < nlocal) { in delete_overlap() [all …]
|
H A D | atom_vec_sph_var.cpp | 766 int nlocal = atom->nlocal; in unpack_exchange() local 792 atom->nlocal++; in unpack_exchange() 805 int nlocal = atom->nlocal; in size_restart() local 857 int nlocal = atom->nlocal; in unpack_restart() local 888 atom->nlocal++; in unpack_restart() 899 int nlocal = atom->nlocal; in create_atom() local 923 atom->nlocal++; in create_atom() 933 int nlocal = atom->nlocal; in data_atom() local 941 if (type[nlocal] <= 0 || type[nlocal] > atom->ntypes) in data_atom() 1022 int nlocal = atom->nlocal; in pack_data() local [all …]
|
H A D | atom_vec_charge.cpp | 549 int nlocal = atom->nlocal; in unpack_exchange() local 571 atom->nlocal++; in unpack_exchange() 584 int nlocal = atom->nlocal; in size_restart() local 631 int nlocal = atom->nlocal; in unpack_restart() local 658 atom->nlocal++; in unpack_restart() 669 int nlocal = atom->nlocal; in create_atom() local 686 atom->nlocal++; in create_atom() 696 int nlocal = atom->nlocal; in data_atom() local 704 if (type[nlocal] <= 0 || type[nlocal] > atom->ntypes) in data_atom() 720 atom->nlocal++; in data_atom() [all …]
|
/dports/science/lammps/lammps-stable_29Sep2021/src/ |
H A D | compute_property_atom.cpp | 475 int nlocal = atom->nlocal; in pack_id() local 490 int nlocal = atom->nlocal; in pack_molecule() local 504 int nlocal = atom->nlocal; in pack_proc() local 520 int nlocal = atom->nlocal; in pack_type() local 537 int nlocal = atom->nlocal; in pack_mass() local 560 int nlocal = atom->nlocal; in pack_x() local 575 int nlocal = atom->nlocal; in pack_y() local 590 int nlocal = atom->nlocal; in pack_z() local 605 int nlocal = atom->nlocal; in pack_xs() local 623 int nlocal = atom->nlocal; in pack_ys() local [all …]
|
H A D | fix_store_state.cpp | 347 int nlocal = atom->nlocal; in FixStoreState() local 662 int nlocal = atom->nlocal; in pack_id() local 677 int nlocal = atom->nlocal; in pack_molecule() local 692 int nlocal = atom->nlocal; in pack_type() local 709 int nlocal = atom->nlocal; in pack_mass() local 732 int nlocal = atom->nlocal; in pack_x() local 747 int nlocal = atom->nlocal; in pack_y() local 762 int nlocal = atom->nlocal; in pack_z() local 777 int nlocal = atom->nlocal; in pack_xs() local 795 int nlocal = atom->nlocal; in pack_ys() local [all …]
|
H A D | special.cpp | 75 int nlocal = atom->nlocal; in build() local 164 int nlocal = atom->nlocal; in atom_owners() local 204 int nlocal = atom->nlocal; in onetwo_build_newton() local 265 for (i = 0; i < nlocal; i++) in onetwo_build_newton() 301 int nlocal = atom->nlocal; in onetwo_build_newton_off() local 330 int nlocal = atom->nlocal; in onethree_build() local 433 int nlocal = atom->nlocal; in onefour_build() local 544 int nlocal = atom->nlocal; in dedup() local 616 int nlocal = atom->nlocal; in combine() local 780 int nlocal = atom->nlocal; in angle_trim() local [all …]
|
/dports/science/lammps/lammps-stable_29Sep2021/unittest/commands/ |
H A D | test_mpi_load_balancing.cpp | 88 ASSERT_EQ(lmp->atom->nlocal, 8); in TEST_F() 91 ASSERT_EQ(lmp->atom->nlocal, 0); in TEST_F() 94 ASSERT_EQ(lmp->atom->nlocal, 0); in TEST_F() 97 ASSERT_EQ(lmp->atom->nlocal, 0); in TEST_F() 106 ASSERT_EQ(lmp->atom->nlocal, 4); in TEST_F() 109 ASSERT_EQ(lmp->atom->nlocal, 0); in TEST_F() 112 ASSERT_EQ(lmp->atom->nlocal, 4); in TEST_F() 115 ASSERT_EQ(lmp->atom->nlocal, 0); in TEST_F() 124 ASSERT_EQ(lmp->atom->nlocal, 2); in TEST_F() 127 ASSERT_EQ(lmp->atom->nlocal, 2); in TEST_F() [all …]
|
/dports/science/lammps/lammps-stable_29Sep2021/src/REPLICA/ |
H A D | fix_event.cpp | 80 int nlocal = atom->nlocal; in store_event() local 96 int nlocal = atom->nlocal; in restore_event() local 125 int nlocal = atom->nlocal; in store_state_quench() local 148 int nlocal = atom->nlocal; in restore_state_quench() local 170 int nlocal = atom->nlocal; in store_state_dephase() local 192 int nlocal = atom->nlocal; in restore_state_dephase() local 296 xold[nlocal][0] = buf[3]; in unpack_exchange() 297 xold[nlocal][1] = buf[4]; in unpack_exchange() 298 xold[nlocal][2] = buf[5]; in unpack_exchange() 299 vold[nlocal][0] = buf[6]; in unpack_exchange() [all …]
|
/dports/science/liggghts/LIGGGHTS-PUBLIC-3.8.0-26-g6e873439/src/MOLECULE/ |
H A D | atom_vec_full.cpp | 707 int nlocal = atom->nlocal; in unpack_exchange() local 768 atom->nlocal++; in unpack_exchange() 781 int nlocal = atom->nlocal; in size_restart() local 868 int nlocal = atom->nlocal; in unpack_restart() local 922 nspecial[nlocal][0] = nspecial[nlocal][1] = nspecial[nlocal][2] = 0; in unpack_restart() 930 atom->nlocal++; in unpack_restart() 941 int nlocal = atom->nlocal; in create_atom() local 962 nspecial[nlocal][0] = nspecial[nlocal][1] = nspecial[nlocal][2] = 0; in create_atom() 974 int nlocal = atom->nlocal; in data_atom() local 984 if (type[nlocal] <= 0 || type[nlocal] > atom->ntypes) in data_atom() [all …]
|
H A D | atom_vec_molecular.cpp | 694 int nlocal = atom->nlocal; in unpack_exchange() local 754 atom->nlocal++; in unpack_exchange() 767 int nlocal = atom->nlocal; in size_restart() local 853 int nlocal = atom->nlocal; in unpack_restart() local 906 nspecial[nlocal][0] = nspecial[nlocal][1] = nspecial[nlocal][2] = 0; in unpack_restart() 914 atom->nlocal++; in unpack_restart() 925 int nlocal = atom->nlocal; in create_atom() local 945 nspecial[nlocal][0] = nspecial[nlocal][1] = nspecial[nlocal][2] = 0; in create_atom() 957 int nlocal = atom->nlocal; in data_atom() local 967 if (type[nlocal] <= 0 || type[nlocal] > atom->ntypes) in data_atom() [all …]
|
H A D | atom_vec_bond.cpp | 590 int nlocal = atom->nlocal; in unpack_exchange() local 624 atom->nlocal++; in unpack_exchange() 637 int nlocal = atom->nlocal; in size_restart() local 696 int nlocal = atom->nlocal; in unpack_restart() local 723 nspecial[nlocal][0] = nspecial[nlocal][1] = nspecial[nlocal][2] = 0; in unpack_restart() 731 atom->nlocal++; in unpack_restart() 742 int nlocal = atom->nlocal; in create_atom() local 759 nspecial[nlocal][0] = nspecial[nlocal][1] = nspecial[nlocal][2] = 0; in create_atom() 771 int nlocal = atom->nlocal; in data_atom() local 781 if (type[nlocal] <= 0 || type[nlocal] > atom->ntypes) in data_atom() [all …]
|
/dports/science/lammps/lammps-stable_29Sep2021/src/KOKKOS/ |
H A D | fix_langevin_kokkos.cpp | 69 for (int i = 0; i < atomKK->nlocal; i++) { in FixLangevinKokkos() 149 int nlocal = atomKK->nlocal; in initial_integrate() local 153 Kokkos::parallel_for(nlocal,functor); in initial_integrate() 200 int nlocal = atomKK->nlocal; in post_force() local 211 if (nlocal > maxatom1) { in post_force() 679 int nlocal = atomKK->nlocal; in compute_target() local 707 for (int i = 0; i < nlocal; i++) in compute_target() 749 int nlocal = atomKK->nlocal; in compute_scalar() local 790 int nlocal = atomKK->nlocal; in end_of_step() local 801 Kokkos::parallel_for(nlocal,functor); in end_of_step() [all …]
|
/dports/science/lammps/lammps-stable_29Sep2021/src/MISC/ |
H A D | fix_srp.cpp | 155 nlocal = nlocal_old = atom->nlocal; in setup_pre_force() 182 while (i < nlocal) { in setup_pre_force() 186 nlocal--; in setup_pre_force() 191 atom->nlocal = nlocal; in setup_pre_force() 311 nlocal = atom->nlocal; in setup_pre_force() 342 int nlocal = atom->nlocal; in pre_exchange() local 469 int nlocal = atom->nlocal; in post_run() local 490 nlocal--; in post_run() 494 atom->nlocal = nlocal; in post_run() 562 array[nlocal][0] = extra[nlocal][m++]; in unpack_restart() [all …]
|
/dports/science/sparta/sparta-20Oct2021/src/ |
H A D | grid_comm.cpp | 194 if (ownflag) icell = nlocal; in unpack_one() 197 if (ownflag) nlocal++; in unpack_one() 592 particle->nlocal = npnew; in unpack_particles() 687 int ncurrent = nlocal; in compress() 700 if (icell != nlocal) { in compress() 707 cells[nlocal].ilocal = nlocal; in compress() 725 sinfo[cells[nlocal].isplit].csubs[-cells[nlocal].nsplit] = nlocal; in compress() 729 nlocal++; in compress() 750 if (icell != nlocal) { in compress() 757 cells[nlocal].ilocal = nlocal; in compress() [all …]
|