alexxy/gromacs.git
3 years agoRemove GPU update restriction for replica exchange
Alan Gray [Tue, 18 May 2021 14:33:42 +0000 (07:33 -0700)]
Remove GPU update restriction for replica exchange

Ensures that the end-of-step D2H coordinate copy is active for replica
exchange steps, to allow the GPU update restriction to be relaxed.

3 years agoUse MessageStringCollector class to construct error messages
Artem Zhmurov [Thu, 20 May 2021 14:01:15 +0000 (14:01 +0000)]
Use MessageStringCollector class to construct error messages

3 years agoDisable ArrayRefDeathTests when building without assertions
Paul Bauer [Thu, 20 May 2021 07:57:58 +0000 (09:57 +0200)]
Disable ArrayRefDeathTests when building without assertions

Would otherwise lead to spurious failures.

3 years agoRemove inputrec from do_ewald
ejjordan [Wed, 19 May 2021 16:28:07 +0000 (18:28 +0200)]
Remove inputrec from do_ewald

Also rename some parameters more verbosely and remove a dead code
block.

3 years agoLocalize variables in ewald_LRcorrection
Joe Jordan [Thu, 20 May 2021 06:25:18 +0000 (06:25 +0000)]
Localize variables in ewald_LRcorrection

3 years agoFix clang-format
Artem Zhmurov [Wed, 19 May 2021 15:46:59 +0000 (18:46 +0300)]
Fix clang-format

Introduced in e3aaab14bcc05164ad6c82ac28d7dd1af99bd576

3 years agoSupport GPU update without constraints
Andrey Alekseenko [Wed, 19 May 2021 16:15:08 +0000 (16:15 +0000)]
Support GPU update without constraints

3 years agoMake TrotterSequence enum class
ejjordan [Mon, 17 May 2021 13:54:03 +0000 (15:54 +0200)]
Make TrotterSequence enum class

A subesquent MR can make an extended Trotter enum class, removing
dependence of coupling and update_vv headers on md_enums header.

3 years agoClean up some headers in mdlib
Joe Jordan [Wed, 19 May 2021 15:09:16 +0000 (15:09 +0000)]
Clean up some headers in mdlib

3 years agoRemove forcerec and inputrec from ewald_LRcorrection
ejjordan [Tue, 18 May 2021 18:19:54 +0000 (20:19 +0200)]
Remove forcerec and inputrec from ewald_LRcorrection

Only pass needed parameters to ewald_LRcorrection, instead of
entire forcerec and inputrec. This required also refactoring
EwaldBoxZScaler to only take needed parameters instead of a
whole inputrec.

Also made some names more verbose.

3 years agoAdd nullptr check in ArrayRef from array construction
Paul Bauer [Wed, 19 May 2021 11:33:56 +0000 (11:33 +0000)]
Add nullptr check in ArrayRef from array construction

3 years agoMake common Leap-Frog device code backend-agnostic
Artem Zhmurov [Wed, 19 May 2021 10:53:55 +0000 (10:53 +0000)]
Make common Leap-Frog device code backend-agnostic

3 years agoRemove forcerec from ewald_charge_correction
ejjordan [Tue, 18 May 2021 18:35:53 +0000 (20:35 +0200)]
Remove forcerec from ewald_charge_correction

Also renamed commrec to be more verbose.

3 years agoFix CMake 3.20 warnings when compiling with IntelLLVM
Andrey Alekseenko [Tue, 18 May 2021 19:54:23 +0000 (22:54 +0300)]
Fix CMake 3.20 warnings when compiling with IntelLLVM

Most work was done in 5d2d4769 (MR !1558), but we were still getting
warnings from the compiler compatibility checks. Nothing major, just
noise.

3 years agoRemove unused StatisticsStatus values
Andrey Alekseenko [Tue, 18 May 2021 11:41:49 +0000 (14:41 +0300)]
Remove unused StatisticsStatus values

The `enumValueToString(StatisticsStatus)` had the wrong order of
strings. But in fact most of these statuses were not used anyway, so we
can just remove the corresponding enum values altogether.

3 years agoFix several doxygen errors
Joe Jordan [Tue, 18 May 2021 10:50:09 +0000 (10:50 +0000)]
Fix several doxygen errors

3 years agoMove the stub for X buffer ops into OpenCL
Artem Zhmurov [Mon, 17 May 2021 10:01:57 +0000 (10:01 +0000)]
Move the stub for X buffer ops into OpenCL

3 years agoRefactor gmx_reverse_top_t
Mark Abraham [Fri, 14 May 2021 07:13:52 +0000 (09:13 +0200)]
Refactor gmx_reverse_top_t

Made the impl properly private, but to do so had to separate
the responsibility for checking the local topology, which
should never have been here.

This introduces two new headers in preparation for splitting up
domdec_topology.cpp into several parts that can then have their own
headers. But first gmx_reverse_top_t has to be properly encapsulated.

Refs #3887

3 years agoMake NBNXM force getter available in all backends
Artem Zhmurov [Mon, 17 May 2021 07:58:53 +0000 (07:58 +0000)]
Make NBNXM force getter available in all backends

3 years agoUse InheritParentConfig: true in clang-tidy files
Paul Bauer [Fri, 14 May 2021 13:05:27 +0000 (15:05 +0200)]
Use InheritParentConfig: true in clang-tidy files

Removes duplication between files in test directories where it can be
avoided.

3 years agoUse appendIf(..) method of MessageStringCollector where it is relevant
Artem Zhmurov [Thu, 13 May 2021 08:41:17 +0000 (11:41 +0300)]
Use appendIf(..) method of MessageStringCollector where it is relevant

Refs #3886

3 years agoRemove extra device force getter from NBNXM
Artem Zhmurov [Wed, 12 May 2021 08:16:47 +0000 (11:16 +0300)]
Remove extra device force getter from NBNXM

Having two getters for the same device buffer is confusing and
polutes the name space. This removes the extra getter and
change to the calls to the other one where it was used.

Refs #2608

3 years agoAdd appendIf(..) method and tests for MessageStringCollector
Artem Zhmurov [Thu, 13 May 2021 08:06:19 +0000 (11:06 +0300)]
Add appendIf(..) method and tests for MessageStringCollector

The messages are usually added conditionally, which makes
it more natural to use msc.appendIf(conditional, message) as
compared to if(conditional) { msc.append(message); }.

Also adds tests for basic functionality of the class and
renames the files according to conventions.

Refs #3886

3 years agoDecouple update group handling from domain decomposition module
Mark Abraham [Thu, 13 May 2021 07:36:56 +0000 (07:36 +0000)]
Decouple update group handling from domain decomposition module

3 years agoAdd SYCL implementation of X/V scale kernel
Andrey Alekseenko [Tue, 27 Apr 2021 21:19:15 +0000 (00:19 +0300)]
Add SYCL implementation of X/V scale kernel

Refs #3929

3 years agoMake common Update-Constraints code backend-agnostic
Artem Zhmurov [Tue, 11 May 2021 11:25:26 +0000 (11:25 +0000)]
Make common Update-Constraints code backend-agnostic

3 years agoName the MDRun FEP test binary consistently
Artem Zhmurov [Tue, 11 May 2021 06:05:58 +0000 (09:05 +0300)]
Name the MDRun FEP test binary consistently

3 years agoRemove GMX_FORCE_DO_NOT_NEED_NORMAL_FORCE legacy flag in do_force()
Szilárd Páll [Tue, 11 May 2021 10:19:42 +0000 (10:19 +0000)]
Remove GMX_FORCE_DO_NOT_NEED_NORMAL_FORCE legacy flag in do_force()

3 years agoAdd test for single residue chain
Paul Bauer [Tue, 11 May 2021 09:51:13 +0000 (09:51 +0000)]
Add test for single residue chain

3 years agoFix clang-format
Artem Zhmurov [Tue, 11 May 2021 07:46:17 +0000 (10:46 +0300)]
Fix clang-format

Introduced in 6d002ec667c955c5137acdad74663bdbc1712f2f

3 years agoFix conditional in assertion
Artem Zhmurov [Tue, 11 May 2021 05:57:07 +0000 (08:57 +0300)]
Fix conditional in assertion

The B-charges should be defined to use FEP in PME. The condition
was changed to the opposite in fdac5efa5ed51dd9b8486ca35227708b62fb08ef

3 years agoApply more clang-tidy-11
Mark Abraham [Tue, 11 May 2021 08:31:47 +0000 (08:31 +0000)]
Apply more clang-tidy-11

3 years agoFix compiler warning and use static_assert
Artem Zhmurov [Tue, 11 May 2021 05:34:06 +0000 (08:34 +0300)]
Fix compiler warning and use static_assert

1. The compiler assumes that GMX_GPU_CUDA and GMX_GPU_SYCL
   may be bit-fields and thus issue a warning if the logical
   or is used (constant-logical-operand). Casting them to
   booleans supresses the warning.
2. Change to use static_assert instead of the GMX_RELEASE_ASSERT
   because this code on a hot path.

3 years agoEliminate duplicate CPU->GPU copy of x
Szilárd Páll [Wed, 21 Apr 2021 17:48:04 +0000 (19:48 +0200)]
Eliminate duplicate CPU->GPU copy of x

x is copied to the GPU for buffer ops or PME as well as prior to GPU
update on search steps which leads to a duplicate copying which is
addressed in this change.

Fixes #4033
Refs #3988

3 years agoAdd SYCL implementation of GPU F buffer operations
Andrey Alekseenko [Tue, 11 May 2021 07:16:38 +0000 (07:16 +0000)]
Add SYCL implementation of GPU F buffer operations

3 years agoApply clang-format-11
Mark Abraham [Mon, 10 May 2021 13:36:44 +0000 (15:36 +0200)]
Apply clang-format-11

This is better than slowly dribbling changes all over the
code base

3 years agoRename pdb2gmx tests
Mark Abraham [Tue, 11 May 2021 05:02:52 +0000 (05:02 +0000)]
Rename pdb2gmx tests

3 years agoFix harmless bug in nonbonded FEP tests
Joe Jordan [Mon, 10 May 2021 20:31:19 +0000 (20:31 +0000)]
Fix harmless bug in nonbonded FEP tests

3 years agoAdd SYCL implementation of GPU X buffer operations
Andrey Alekseenko [Mon, 10 May 2021 20:09:53 +0000 (20:09 +0000)]
Add SYCL implementation of GPU X buffer operations

3 years agoMake GPU X buffer ops platform-agnostic
Andrey Alekseenko [Mon, 10 May 2021 13:22:53 +0000 (13:22 +0000)]
Make GPU X buffer ops platform-agnostic

3 years agoFix shift_left/right function on hipSYCL
Andrey Alekseenko [Sat, 8 May 2021 11:23:23 +0000 (14:23 +0300)]
Fix shift_left/right function on hipSYCL

Having separate __host__ and __device__ definitions confused the
compiler when called from a non-annotated function. As a result,
a __host__ version, containing `assert(false)`, was always called,
leading to UB.

Refs #3965

3 years agoMake clang-tidy check more aggressive
Paul Bauer [Fri, 7 May 2021 15:03:42 +0000 (17:03 +0200)]
Make clang-tidy check more aggressive

Now makes sure that it checks on all warnings, not just files that could
be fixed automatically.

3 years agoSYCL: Allow copying an uninitialized DeviceBuffer object
Andrey Alekseenko [Sun, 9 May 2021 12:48:12 +0000 (15:48 +0300)]
SYCL: Allow copying an uninitialized DeviceBuffer object

Needed for sharing more code between CUDA and SYCL.

Refs #4045, related to #3020

3 years agoMove PME-GPU do_force() local bool into stepWorkload
Szilárd Páll [Mon, 10 May 2021 08:51:17 +0000 (08:51 +0000)]
Move PME-GPU do_force() local bool into stepWorkload

3 years agoClarify builder-time data, introduce simulation-time data
Pascal Merz [Mon, 10 May 2021 07:26:35 +0000 (07:26 +0000)]
Clarify builder-time data, introduce simulation-time data

3 years agoMake debug printing work with empty domains
Berk Hess [Fri, 7 May 2021 12:31:39 +0000 (12:31 +0000)]
Make debug printing work with empty domains

3 years agoMerge branch release-2021 into merge-2021-into-master
Paul Bauer [Thu, 6 May 2021 14:22:09 +0000 (16:22 +0200)]
Merge branch release-2021 into merge-2021-into-master

Resolved Conflicts:
cmake/gmxCFlags.cmake
cmake/gmxManageFFTLibraries.cmake
cmake/gmxVersionInfo.cmake
docs/CMakeLists.txt
src/gromacs/applied_forces/awh/bias.cpp
src/gromacs/applied_forces/awh/biasstate.cpp
src/gromacs/applied_forces/awh/biasstate.h
src/gromacs/applied_forces/awh/read_params.cpp
src/gromacs/applied_forces/awh/tests/bias_fep_lambda_state.cpp
src/gromacs/fileio/vmdio.cpp
src/gromacs/gmxpreprocess/readir.cpp
src/gromacs/mdlib/constr.cpp
src/gromacs/mdlib/enerdata_utils.cpp
src/gromacs/mdlib/mdatoms.cpp
src/gromacs/mdrun/mimic.cpp
src/gromacs/mdrun/runner.cpp
src/gromacs/modularsimulator/modularsimulator.cpp
src/gromacs/utility/mdmodulesnotifiers.h

3 years agoUse more modern clang for linters and sanitizers
Paul Bauer [Thu, 6 May 2021 09:35:44 +0000 (09:35 +0000)]
Use more modern clang for linters and sanitizers

3 years agoRemove UB in ArrayRef from array
Paul Bauer [Wed, 5 May 2021 15:16:05 +0000 (17:16 +0200)]
Remove UB in ArrayRef from array

Several issues with ArrayRefs from nullptr have been found by UBSAN.

3 years agoUnify temperature and pressure coupling connection
Pascal Merz [Thu, 6 May 2021 04:43:26 +0000 (04:43 +0000)]
Unify temperature and pressure coupling connection

3 years agoConvert t_oriresdata to C++
Berk Hess [Wed, 5 May 2021 15:45:28 +0000 (15:45 +0000)]
Convert t_oriresdata to C++

3 years agoPrepare branch for 2021.2 point release
Paul Bauer [Wed, 5 May 2021 14:34:44 +0000 (16:34 +0200)]
Prepare branch for 2021.2 point release

Reset DOI strings.
Set new version.
Add release note stub.

3 years agoGROMACS 2021.2 release
Paul Bauer [Wed, 5 May 2021 13:55:17 +0000 (13:55 +0000)]
GROMACS 2021.2 release

3 years agoAllow elements to request local kinetic energy update
Pascal Merz [Sat, 28 Nov 2020 19:37:47 +0000 (12:37 -0700)]
Allow elements to request local kinetic energy update

Trotter decomposed algorithms need to be able to request kinetic
energy update at a specific point in the algorithm.

Refs #3423

3 years agoMake common GPU Force Reduction code backend-agnostic
Andrey Alekseenko [Wed, 5 May 2021 13:05:50 +0000 (13:05 +0000)]
Make common GPU Force Reduction code backend-agnostic

3 years agoFix include order
Paul Bauer [Wed, 5 May 2021 11:45:15 +0000 (13:45 +0200)]
Fix include order

Was missed during previous commit.

3 years agoZero modular simulator total energy
Pascal Merz [Wed, 5 May 2021 11:47:27 +0000 (11:47 +0000)]
Zero modular simulator total energy

3 years agoApply misc clang-tidy-11 fixes
Paul Bauer [Fri, 23 Apr 2021 06:57:19 +0000 (08:57 +0200)]
Apply misc clang-tidy-11 fixes

Needed to build with newer version.
I also had to add a number of new exclusions in the base configuration
files. Those are mainly for recursive functions and use of global
variables. Tests needed their own configuration files to exclude check
for non const global variables.

Refs #3897

3 years agoRestore pull output to rerun
Mark Abraham [Wed, 5 May 2021 08:57:19 +0000 (10:57 +0200)]
Restore pull output to rerun

This was omitted from c52e6838 and is now restored.

Refs #1868
Fixes #4043

3 years agoBreak up dd_init_bondeds
Mark Abraham [Wed, 5 May 2021 08:55:48 +0000 (08:55 +0000)]
Break up dd_init_bondeds

3 years agoApply clang-tidy11 to tools
Joe Jordan [Wed, 5 May 2021 08:30:45 +0000 (08:30 +0000)]
Apply clang-tidy11 to tools

3 years agoRemove dead functions from statistics module
ejjordan [Tue, 4 May 2021 14:37:47 +0000 (16:37 +0200)]
Remove dead functions from statistics module

3 years agoPass ArrayRefs to dispatchNonbondedKernel
Joe Jordan [Wed, 5 May 2021 07:35:26 +0000 (07:35 +0000)]
Pass ArrayRefs to dispatchNonbondedKernel

3 years agoRemove mdatoms from coupling code and use more ArrayRef
Joe Jordan [Wed, 5 May 2021 06:41:53 +0000 (06:41 +0000)]
Remove mdatoms from coupling code and use more ArrayRef

3 years agoFix compile with IntelLLVM and cmake 3.20
Roland Schulz [Wed, 5 May 2021 04:51:19 +0000 (21:51 -0700)]
Fix compile with IntelLLVM and cmake 3.20

3 years agoRemove mdatoms from do_walls
ejjordan [Wed, 28 Apr 2021 12:56:28 +0000 (14:56 +0200)]
Remove mdatoms from do_walls

Also changed one pointer arg to ArrayRef.

3 years agoFix GCC-11 warning
Andrey Alekseenko [Tue, 4 May 2021 09:21:27 +0000 (11:21 +0200)]
Fix GCC-11 warning

It complained about pbcatom_input being uninitialized.
Does not seem like it is used anywhere before being set in
process_pull_groups, but better initialize it just in case.

3 years agoRemove mdatoms from vsite
ejjordan [Tue, 4 May 2021 12:34:25 +0000 (14:34 +0200)]
Remove mdatoms from vsite

Pass params directly and clean up includes.

3 years agoApply clang-tidy11 to statistics
Joe Jordan [Tue, 4 May 2021 13:58:30 +0000 (13:58 +0000)]
Apply clang-tidy11 to statistics

3 years agoUse enum : bool in commandline test
ejjordan [Tue, 4 May 2021 10:05:57 +0000 (12:05 +0200)]
Use enum : bool in commandline test

Demonstrates that t_pargs works with enum class : bool.

3 years agoAdd known issues to user guide
Paul Bauer [Tue, 4 May 2021 12:46:17 +0000 (12:46 +0000)]
Add known issues to user guide

3 years agoUse correct size for force vector in mdoutf
Paul Bauer [Tue, 4 May 2021 11:26:01 +0000 (13:26 +0200)]
Use correct size for force vector in mdoutf

The wrong size of the array was used previously in constructing the
reference to it, leading to possible invalid memory access.

3 years agoPreven extension of DDBondedChecking
ejjordan [Tue, 4 May 2021 08:13:32 +0000 (10:13 +0200)]
Preven extension of DDBondedChecking

By having DDBondedChecking inherit from bool, any attempt to add
additional enum values will lead to compilation error, unless the
inheritance is also removed.

3 years agoDecouple update-group aspects of vsites and constraints
Mark Abraham [Mon, 3 May 2021 14:49:05 +0000 (16:49 +0200)]
Decouple update-group aspects of vsites and constraints

Update groups should not be managed from within domdec module, so
shift the responsiblity to runner temporarily to simplify future
changes.

This made clear that some internal fields of domdec module were
inaccurately named. Update groups preclude the possibility of
constraints or vsites being split across domains, but when update
groups are not in use such splits are merely possible, not
assured. The code doesn't change, because we always have to account
for the possiblity that some are split.

Refs #4004

3 years agoRemove some use of charge groups from domdec
Mark Abraham [Tue, 27 Apr 2021 13:18:35 +0000 (15:18 +0200)]
Remove some use of charge groups from domdec

Former domain-decomposition used either particles or charge groups in
constructing the local topology, but now it only uses
particles. Changed naming of functions, variables and comments for
consistency.

3 years agoRespect umask when creating temporary file
Eliane Briand [Tue, 4 May 2021 05:06:41 +0000 (05:06 +0000)]
Respect umask when creating temporary file

3 years agoRemove mdatoms from pairs in listed forces
ejjordan [Wed, 28 Apr 2021 11:14:40 +0000 (13:14 +0200)]
Remove mdatoms from pairs in listed forces

3 years agoFix copyright year
Artem Zhmurov [Mon, 3 May 2021 19:52:10 +0000 (22:52 +0300)]
Fix copyright year

Introduced in d76ab996f96a4a51d7ad949284d056f61d7ca227

3 years agoRespect umask when creating temporary file
Mark Abraham [Mon, 3 May 2021 17:17:57 +0000 (17:17 +0000)]
Respect umask when creating temporary file

3 years agoRemove mdatoms from expanded
ejjordan [Wed, 28 Apr 2021 14:16:59 +0000 (16:16 +0200)]
Remove mdatoms from expanded

Also removed most of the included in expanded.cpp, all of which
were unused.

3 years agodensityfitting: add missing include file
Gilles Gouaillardet [Mon, 3 May 2021 17:13:56 +0000 (17:13 +0000)]
densityfitting: add missing include file

3 years agoFix clang-format
Artem Zhmurov [Mon, 3 May 2021 13:20:26 +0000 (16:20 +0300)]
Fix clang-format

Introduced in fdac5efa5ed51dd9b8486ca35227708b62fb08ef

3 years agoClean up DD bonded interaction assignment
Berk Hess [Mon, 3 May 2021 14:29:11 +0000 (14:29 +0000)]
Clean up DD bonded interaction assignment

3 years agoMention the users forums on the user-guide front page
Szilárd Páll [Mon, 3 May 2021 13:28:08 +0000 (15:28 +0200)]
Mention the users forums on the user-guide front page

Added a note + URL pointing to the forums.

3 years agoReplace bool with enum class in DomdecOptions
Mark Abraham [Thu, 29 Apr 2021 09:04:33 +0000 (11:04 +0200)]
Replace bool with enum class in DomdecOptions

The logic is simpler if we just use DDBondedChecking directly in
DomdecOptions. The enum values have changed so that they match those
for the bool type. Added a test and an assertion to confirm that this
works as expected, ie the default for mdrun -ddcheck is unchanged

3 years agoArrayRef in pme
Joe Jordan [Mon, 3 May 2021 13:04:50 +0000 (13:04 +0000)]
ArrayRef in pme

3 years agoRemove redundant store
Mark Abraham [Tue, 27 Apr 2021 14:23:25 +0000 (16:23 +0200)]
Remove redundant store

gcc 9 complains about the useless store

3 years agoTemporarily lift requirement to detect GPUs in CI
Mark Abraham [Fri, 30 Apr 2021 06:21:02 +0000 (08:21 +0200)]
Temporarily lift requirement to detect GPUs in CI

3 years agoFully define IndexGroupsAndNames
Mark Abraham [Mon, 3 May 2021 09:44:48 +0000 (09:44 +0000)]
Fully define IndexGroupsAndNames

3 years agoAllow using CPU PME with DD and GPU update
Szilárd Páll [Mon, 3 May 2021 08:42:36 +0000 (08:42 +0000)]
Allow using CPU PME with DD and GPU update

3 years agoProhibit SETTLE interactions on atoms with perturbed masses
Mark Abraham [Fri, 30 Apr 2021 08:56:25 +0000 (10:56 +0200)]
Prohibit SETTLE interactions on atoms with perturbed masses

This has never been implemented, but in 2018.x and older it sometimes
managed not to crash. Now both grompp and mdrun prevent the simulation
from running and suggest an alternative.

Fixes #3959

3 years agofix build on F34
Christoph Junghans [Fri, 30 Apr 2021 09:37:58 +0000 (09:37 +0000)]
fix build on F34

3 years agoTemporarily lift requirement to detect GPUs in CI
Mark Abraham [Fri, 30 Apr 2021 06:21:02 +0000 (08:21 +0200)]
Temporarily lift requirement to detect GPUs in CI

3 years agoRemove leftover function declaration from nbnxm atomdata
ejjordan [Tue, 27 Apr 2021 14:45:56 +0000 (16:45 +0200)]
Remove leftover function declaration from nbnxm atomdata

MR !1483 neglected to remove the declaration of function
nbnxn_atomdata_init. This MR rectifies that. Also removed
and unneeded include.

3 years agoApply clang-tidy11 to mdrun
Joe Jordan [Tue, 27 Apr 2021 12:33:43 +0000 (12:33 +0000)]
Apply clang-tidy11 to mdrun

3 years agoUnify constructor of nbnxn_atomdata_t
Joe Jordan [Tue, 27 Apr 2021 08:40:11 +0000 (08:40 +0000)]
Unify constructor of nbnxn_atomdata_t

3 years agoConstructor for t_mde_delta_h_coll
Joe Jordan [Tue, 27 Apr 2021 06:23:06 +0000 (06:23 +0000)]
Constructor for t_mde_delta_h_coll

3 years agoIncrease const correctness of t_mdatoms use in md.cpp
ejjordan [Thu, 22 Apr 2021 12:22:07 +0000 (14:22 +0200)]
Increase const correctness of t_mdatoms use in md.cpp

Previously two instances of t_mdatoms were made in do_md, once const
and one not. This replaces all instances where the non-const was not
used but could be with const usage. Also, non-const usage is now done
by calling MDAtoms->mdatoms() to indicate non-const usage more clearly.

3 years agoRemove inputrec from initialize_lambdas signature
Joe Jordan [Mon, 26 Apr 2021 15:33:40 +0000 (15:33 +0000)]
Remove inputrec from initialize_lambdas signature

3 years agoApply clang-tidy11 to correlationfunctions
ejjordan [Mon, 26 Apr 2021 12:56:15 +0000 (14:56 +0200)]
Apply clang-tidy11 to correlationfunctions