Commit Graph

9534 Commits

Author SHA1 Message Date
8a56b8ad3a First version of the parallel algorithm
Performed by sectoring (1, 2, 4, or 8 chuncks) each process.
2018-04-26 13:08:54 -06:00
b934621651 Implementation of SeqNei V1 (Real)
Still both Seq and SeqNei versions
In SeqNei, loop on Neighb not working yet
2018-04-26 13:08:54 -06:00
bf5b3f96e9 Implemetation of SeqNei Algo 1
Still Seq and SeqNei versions
Loop on Neigh in SeqNei not working yet
2018-04-26 13:08:54 -06:00
4d375e72f0 Changes: - DMI and ME interactions
- Computation optimisations
         - lot of removed prints

Next work: - Sequential algo implemetation
           - temperature simulations (check)
           - Work on parallelization
2018-04-26 13:08:54 -06:00
7cc59fbbbe Same commit, beginning removing prints/checks and pushing 2018-04-26 13:08:54 -06:00
d53def5853 Field compute error apparently corrected. The issue was related to the reverse communication.
To do:
- Remove all checks/prints used to debug
- Check all the flag set in the atom_vec_spin creator (very important for the reverse comm)
- Code DMI/ME interactions
- Start to work on parallel implementation of the integration
2018-04-26 13:08:54 -06:00
af45d55b3f Added:
- For Paramag. simulations, the option "atom_modify" has to be set
ex: atom_modify sort 1000 4.0 (Freq,Dist).
- Actual time is now printed (c_mag[0] in compute_spin)
- Value of Gilbert's damping corrected
- Now even results for SD/Lammps comp. in purely paramg. or aniso. situations
- Pack and unpack reverse needed corrections (f only was set, not fm)
- Spin temperature is now computed (data c_mag[7] in spin_compute)

To do:
- Fcc with p p p bc is still not working
- If Zeeman/Aniso force not defined, error => to be removed
- Add DMI and ME (see if new file or add in the exchange file)
2018-04-26 13:08:54 -06:00
3168704858 For paramagnetic simulation (no pair interaction declared), the "atom_modify" command has to be used (in order to initialize the bin).
example: atom_modify sort 1000 4.0 (Freq. of sorting, Cutoff distance)

In order to print the actual time with the total mag., the vector associated to the mag. compute was modified. It is now: [time, Mx, My, Mz, |M|, En_mag]

Optimization of the spin_compute routine: energy and mag. have been gathered in a same loop.
2018-04-26 13:08:54 -06:00
9b0f8a0c55 First commit for the SPIN package.
Changes to come:
-Exchange interaction computation to check (loop on neighbors),
-Temperature/random fluctuations to correct (effects too strong),
-Physical results to check,
-Add final interactions (DMI, ME, Dipolar),
-Compute spin temperature (Nurdin and Ma formslisms),
-Work on MPI parallelization,
-Ewald sums to implement (see with Stan's pakage),
-See for prefered magnetic axis (Mitchell's idea),
2018-04-26 13:08:54 -06:00
56d0014a4a Added #include "citeme.h" 2018-04-26 10:05:49 -04:00
26d22a4b7a restrain energy must be incremented. bugfix from robert meissner posted to lammps-users 2018-04-26 10:02:42 -04:00
c5e884fb41 USER-BOCS 2018-04-26 09:34:47 -04:00
c4373c7afa add extract to fix_group
this will allow users to define groups that are by default created internally by fixes, etc.
2018-04-24 22:53:54 -06:00
6f9a2245d2 add write_data() support to 4 more dihedral styles, which completes the set 2018-04-23 16:56:19 -04:00
d5ec76290b patch 20Apr18 2018-04-20 17:22:38 -06:00
836027dbd8 Merge pull request #867 from stanmoore1/kk_tweaks
Tweaks to KOKKOS package
2018-04-20 14:35:58 -06:00
5bf8e1bc5b add ability to retrieve the number of local rows for computes returning local data
this is done supporting the combination of type == 2 with style == 0,
i.e. a local scalar, which is not available in C++ (but there one can
access the compute style data member directly. for the python interface,
the pointer is automatically dereferenced and returned as a c_int.
2018-04-19 18:37:15 -04:00
f1ee46cc64 add check to require atom attribute molecule to avoid segfaults, when it is missing 2018-04-19 18:24:19 -04:00
caa990746e bugfix
fixes crash e.g. when building on Ubuntu for Windows
thanks to Márk Jenei (University of Cambridge) for submitting error report
2018-04-18 22:27:12 -06:00
a087813d01 incorporate bugfix for fix ave/correlate/long from jorge ramirez 2018-04-18 07:26:13 -04:00
158c7531fe Added pair/gran/dmt as a granular wall interaction option 2018-04-16 16:03:50 -06:00
f94c5b7637 Added 'store_contacts' option to fix/wall/gran/region to store info about individual particle-wall contacts 2018-04-16 12:40:22 -06:00
85e934681d Added DMT and JKR pair styles with rolling friction 2018-04-16 12:39:45 -06:00
48e42a4e1e Merge pull request #824 from jrgissing/write_data-noextra
Write_data nofix option
2018-04-13 10:27:21 -06:00
7f9400eadc Merge pull request #865 from athomps/fix_gcmc_temperature
Made ndof dynamic for temperature fixes and computes
2018-04-13 08:44:41 -06:00
1b965d4d3a Merge pull request #863 from ellio167/kim-update
KIM API interface update
2018-04-13 08:43:56 -06:00
49d524e442 Remove unused variables in pair_reaxc_kokkos 2018-04-05 11:58:47 -06:00
3c6102a0c3 Tweak whitespace in Makefile.kokkos_cuda_mpi 2018-04-05 11:49:57 -06:00
4517c85c77 Use reference to improve performance in pair_reaxc_kokkos 2018-04-05 11:47:22 -06:00
aa4f044709 Deallocate views of views in serial to prevent race condition in Kokkos profiling tools 2018-04-05 11:44:19 -06:00
2d4e0fcfd3 purge deleted file in KIM package 2018-04-04 13:24:05 -04:00
e1a17d428f print the warning about using group all with fix gcmc only from MPI rank 0 2018-04-04 12:26:43 -04:00
12bc84163d remove or reformulate references to USER-CUDA package, which no longer exists 2018-04-04 11:06:20 -04:00
5221ac2d55 add placeholders to include files for error messges 2018-04-03 17:48:31 -06:00
af8e258ebb Revert to previous code without plug-in interface 2018-04-03 17:17:23 -05:00
d1356c1d76 Made ndof dynamic for temperature fixes and computes 2018-04-03 15:07:04 -06:00
30f8bb059f Merge branch 'reax_dup' of github.com:stanmoore1/lammps into reax_dup 2018-04-02 12:11:22 -06:00
52254fe155 Fix issue in fix_qeq_reax_kokkos 2018-04-02 12:10:30 -06:00
d8e0f48864 Merge branch 'master' into reax_dup 2018-04-02 10:55:09 -06:00
3f3bab4e71 Create KIM_LAMMPS_PlugIn.h & related changes 2018-04-02 11:45:35 -05:00
25d2f4b1f6 Update pair_kim for v1.9.4 and versatile linking
Use dlopen instead of directly linking to kim-api
library.  This will allow for easier distribution
of LAMMPS with support for KIM Models.
2018-04-02 09:39:44 -05:00
7786cb5a4b patch 30Mar18 2018-03-30 15:21:55 -06:00
a19e8fb269 Merge branch 'master' into resetids 2018-03-30 09:15:24 -06:00
81caeffb38 Merge pull request #855 from lammps/dumpinc
new dump_modify refresh and compute displace/atom refresh commands fo…
2018-03-30 09:07:19 -06:00
0984e94c04 Merge pull request #858 from junghans/fix_return
MathSpecial::fm_exp: fix return value on ppc64
2018-03-29 08:11:33 -06:00
6dff29bb9c remove files that were added in error last summer by a pull request 2018-03-28 13:52:07 -04:00
c664f46b31 MathSpecial::fm_exp: fix return value on ppc64 2018-03-28 11:51:04 -06:00
5fd17670b1 new reset_ids command and dump_modify delay option 2018-03-28 11:31:35 -06:00
b37664b44e squash bug in fix srp that was incorrectly comparing cutoffs for triclinic cells 2018-03-28 10:57:13 -04:00
b5b0f67bcd Merge pull request #852 from akohlmey/collected-small-bugfixes-and-updates
Collected small bugfixes and cleanups
2018-03-27 15:43:57 -06:00