dc9140dfa8
modernize
2023-10-27 03:19:11 -04:00
217be1f274
improve error message handling for code shared between fix nvt/nph/npt
2023-04-24 17:32:47 -04:00
3a55a374a9
address compilation failures
2022-12-31 22:10:32 -05:00
2479624a76
Added psllod keyword to toggle between SLLOD and p-SLLOD
2022-12-31 16:47:13 -07: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
43726c020a
Merge pull request #3394 from crackboy88/improve-errors
...
Improve errors
2022-08-15 15:47:47 -04:00
d047053473
improved some error messages in compute_msd,fix_indent and fix_nh.cpp
2022-08-15 10:51:29 +08:00
6873ebb17a
LAMMPS code clinic 2022 project 2: Replacing find_compute with get_compute_by_id where possible.
2022-08-09 14:01:49 -04:00
899fa8166a
Initial modifications LAMMPS code clinic 2022
2022-08-08 17:31:42 -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
39b316729b
use auto type when assigning from cast or using new
2022-04-10 18:16:36 -04:00
f5ebfbf90b
refactor thermo output processing and add new yaml thermo style
2022-03-19 16:39:09 -04:00
41a3eccd1c
apply utils::logical() to more commands
2021-09-21 07:48:50 -04:00
fa7ae99511
Fixed bug in fix np[ht] with runstyle respa
2021-07-18 12:48:05 -03: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
fe063b27c7
silence compiler warnings
2021-04-23 15:51:16 -04:00
183b30abd7
use strmatch() consistently to detect respa and verlet runstyles with optional suffix
2021-03-30 18:30:22 -04:00
a5563e8d04
simplify using utils::strdup()
2021-03-18 20:56:04 -04:00
0ae38fb2ea
Fix return values of extract for pressure variables
2021-03-01 09:48:31 +10:00
95a4ac157b
update a few more comments
2021-02-10 14:27:17 -05:00
bca3164fc4
fix whitespace issues
2021-01-26 18:39:02 -05:00
6e3b9307a4
remove ecouple variable from Fix
2021-01-21 11:56:33 -07:00
182eb35f1a
changes to fixes that use THERMO_ENERGY
2021-01-21 11:32:11 -07:00
382ade15fe
more consistent formatting of for/while loops and if statements
2020-12-30 09:09:08 -05: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
96d8d12a88
replace calls to force->*numeric() with the corresponding utils::*numeric()
...
this also removes the now obsolete functions from Force
2020-08-29 20:31:02 -04:00
20a9794b92
fix permissions
2020-06-10 11:26:08 -04:00
2f5a8d0937
remove trailing whitespace
2020-06-09 17:28:26 -04:00
9b99ad271f
Adding new ptemp keyword to fix nh
2020-05-11 14:34:00 -06:00
88bf503451
Merge from master
2020-04-30 08:17:05 -06:00
5f68f3006f
replace Fix::box_change_xxx variables with Fix::box_change bitmask and add check to Domain::init()
...
This allows a more specific tracking of whether multiple fixes are
modifying the same box parameter and error out in that case.
2020-02-08 15:12:26 -05:00
d8ef5f6991
added internal fix dummy command to enable more control of fix ordering
2019-11-05 12:57:34 -07:00
7967cb1133
put implementation header first to avoid issues with mpi.h and lmptype.h with OpenMPI
2019-07-03 06:16:16 -04:00
31cbccda85
continue cleaning up include file lists
2019-06-29 09:37:44 -04:00
4f38878cf4
Removed unnecessary changes to ComputePressure
2018-12-12 17:48:02 -07:00
6f33ce9dba
Made two changes:
...
-recomputed up-to-date pressure tensor (fixes energy
conservation problem with aniso)
-changed ndof for iso (fixes volume fluctuation problem with iso)
2018-12-12 17:31:42 -07:00
e9bc939098
Fix more unused parameter warnings ( #1076 )
2018-08-23 12:22:44 -06:00
3495141dbe
Fix the target kinetic energy of the NH barostat
...
The cell momenta should be thermostatted to kT per barostat degree
of freedom (d^2 in general, d*(d-1) without rotations), according to
Shinoda et al. 2004 (doi:10.1103/PhysRevB.69.134103) Eqn. 1 and Martyna,
Tobias, Klein (JCP 1994, doi:10.1063/1.467468 section II.D).
2018-06-06 17:54:02 +02:00
d0ba8e1dcb
Make omega_mass proportional to (N+1)kT
...
According to papers like Martyna, Tobias, Klein (JCP 1994,
doi:10.1063/1.467468 section II.F) and Martyna, Tuckerman, Tobias,
Klein (Mol. Phys. 1996, doi:10.1080/00268979600100761 section 2.5), the
mass of the cell parameters should be proportional to (Ndof + dim) / dim, or
in other words, Natoms + 1.
2018-06-06 17:24:26 +02:00
e4071d7f46
replace C-style include files with their C++ equivalents
2018-04-27 18:00:24 -04:00
59dbb49cf9
remove trailing whitespace
2018-03-16 12:37:27 -04:00
0c7879e902
provide compatibility entries in FixNH option parsing for new USER-UEF package
2017-10-02 16:31:41 -04:00
ee55a98103
Changed the check on initial and final temperature to <= 0 for both.
2017-03-28 11:22:10 -04:00
44841f6891
fix ave/chunk fixes, 2d disc option, fix_modify dynamic/dof
2017-03-23 15:31:27 -06:00
dcede304df
changes for next patch, 2d disc options for spheres, fix external upgrade, bug fixes for fix ave/chunk for density calcs, Aidan doc page citation deconvolution
2017-03-21 08:56:37 -06:00
fdf5d68f9f
allow to extract properties in NH integrator only when they are active
2016-11-14 09:27:33 -05:00