Commit Graph

44 Commits

Author SHA1 Message Date
b30ce3ff32 next round of IWYU updates 2022-12-12 01:07:46 -05:00
2132b1d904 update developer reference text 2022-10-24 11:08:26 -04:00
cccf3f6f78 change email for contacting LAMMPS developers, add to homepage checker 2022-10-20 20:36:03 -04:00
67f6adebb7 whitespace fixup with dynamic casts 2022-09-10 13:26:38 -04:00
200b4f13c7 use dynamic cast instead of c-style cast when casting from base type to derived class 2022-04-10 18:18:06 -04:00
1db981c784 convert a few more styles to the new neighbor request API 2022-03-08 18:20:28 -05:00
241c816ad3 adapt fix shake and pair style spin 2021-10-18 17:29:25 -04:00
2fba6b44e4 use '= default' when default functions should be used 2021-10-13 23:59:05 -04:00
09c19a936b update URLs in source code and manual 2021-05-24 14:18:20 -04:00
d1941392d3 disable clang-format for all existing .cpp files (for now) 2021-05-05 23:53:38 -04:00
4738337e47 update/trim list of include files according to the IWYU principle 2021-04-24 13:22:39 -04:00
adf74b3a22 use https://lammps.sandia.gov based URLs consistently 2020-10-21 16:45:30 -04:00
f1ef7d85a8 T2345: Replace instances of NULL with nullptr
The following changes have been applied to src and lib folders:
regex replace: ([^"_])NULL ⇒ \1nullptr (8968 chgs in src, 1153 in lib)
Manually find/change: (void \*) nullptr ⇒ nullptr (1 case)
regex find: ".*?nullptr.*?"
  Manually ~14 cases back to "NULL" in src, ~2 in lib
  regex finds a few false positive where nullptr appears between two
  strings in a function call
2020-09-12 09:34:38 -06:00
da36b252cc remove even more trailing whitespace 2020-04-14 06:08:10 -04:00
8fabd79440 Commit JT 041320
- corrected pair/spin to recover tests
2020-04-13 07:53:27 -06:00
51e3f9dcda Commit JT 033020
- modified all spin pairs (match nve)
- correct doc min_modify
- correct code max norm (square values)
- added draft nvt validation
2020-03-30 08:09:11 -06:00
a739b8c6b7 Commit JT 030320
- modified fix/precession for correct mag energy calc.
- reran all benchmark / examples in serial for verif
- to do: rerun mpi examples, and clean code
2020-03-03 07:32:13 -07:00
09d0df43e2 Commit JT 022120
- added message for only one precession/spin (+doc)
- added a per pair/spin class emag table
2020-02-21 17:53:14 -07:00
b6b022b610 whitespace cleanup: remove trailing blanks 2019-11-03 11:03:39 -05:00
dee631878d refactoring of SPIN pair class initialization to increase code reuse 2019-10-18 07:13:42 -04:00
416911aa7e more rearranging of include file order to put implementation headers first 2019-07-03 21:57:39 -04:00
fc1d8f2cbf more cleanup of include file handling. starting to work on files in packages 2019-07-02 05:15:30 -04:00
92a4dc25b1 Fix unused params in packages (#1076) 2018-08-24 10:42:08 -06:00
1ed25d195b convert c-style includes for c-library calls to c++-style 2018-07-10 09:48:49 -04:00
792b182cb0 whitespace cleanup 2018-07-10 09:46:08 -04:00
ade9b7bfc3 Commit2 JT 070918
- modified the citeme reference (replaced by the JCP one)
- same modification in doc and src/SPIN
2018-07-10 09:44:14 -04:00
d4861e71d2 integrate SPIN package into documentation, fix links and make it consistent 2018-06-18 18:36:30 -04:00
da5931d65d whitespace cleanup 2018-06-18 17:55:12 -04:00
5f0e6d0aa7 Commit JT2 052418 2018-05-24 12:55:39 -06:00
1b8669c620 Commit JT 042018, new spin/precession and pair/spin (peru virtual) 2018-04-26 15:26:31 -06:00
ce80d1a3ea Commit JT 041618
Enabling multiple exchange interactions
2018-04-26 15:26:31 -06:00
f4bb33de4b Memory corrections 2018-04-26 14:58:42 -06:00
54832a8fe4 Commit Julien 09/14/17
- Changes and corrections in the computation of the energy
- Issue with newton_pair in the compute of pair
2018-04-26 14:58:41 -06:00
d144ab0164 Commit Julien 09/06/17
- units of J1_mag and J1_mech
- correct of pack and unpack in atom_vec_spin
- add conditions in fix_integration_spin
2018-04-26 14:58:41 -06:00
87993368f9 Commit Julien 08/24/17
- in pair_spin, magneto-mech force for exchange
- compute and added in integration_spin
2018-04-26 14:58:41 -06:00
3de0cf5ab4 Commit Julien 2 08/23/17
- reorganized includes
- start work on magneto-mechanic potential (adding function)
- renamed fix_nve_spin into fix_integration_spin
2018-04-26 14:58:41 -06:00
f5ff30df83 Changes for coupling magnetomech:
- hybrid_overlay friend with fix_nve_spin
- modif of the allocation of pair classes in fix_nve_spin
- modif input file for hybrid/overlay eam - spin/pair
- new file for cobalt eam potentials
2018-04-26 14:58:41 -06:00
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
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
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