eOn client
Long-timescale dynamics: aKMC, NEB, parallel replica
☾
Toggle main menu visibility
Loading...
Searching...
No Matches
Tip4p_Pt.cpp
Go to the documentation of this file.
1
/*
2
** This file is part of eOn.
3
**
4
** SPDX-License-Identifier: BSD-3-Clause
5
**
6
** Copyright (c) 2010--present, eOn Development Team
7
** All rights reserved.
8
**
9
** Repo:
10
** https://github.com/TheochemUI/eOn
11
*/
12
#include "
eon/potentials/Water_Pt/Tip4p_Pt.hpp
"
13
14
void
Tip4p_Pt::force
(
long
N,
const
double
*R,
const
int
*atomicNrs,
double
*F,
15
double
*U,
double
*variance,
const
double
*box) {
16
variance =
nullptr
;
17
double
diagbox[3];
18
diagbox[0] = box[0];
19
diagbox[1] = box[4];
20
diagbox[2] = box[8];
21
int
i = 0;
22
while
(atomicNrs[i] == 1)
23
i += 2;
24
computeHH_O_Pt_
(i / 2, N - i * 3 / 2, R, F, *U, diagbox, 0);
25
}
Tip4p_Pt.hpp
Wrapper for Eon.
Tip4p_Pt::force
void force(long N, const double *R, const int *atomicNrs, double *F, double *U, double *variance, const double *box)
Definition
Tip4p_Pt.cpp:14
forcefields::ZhuPhilpott::computeHH_O_Pt_
void computeHH_O_Pt_(const int nWater, const int nPt, const double r[], double f[], double &energy, double const b[], bool const fixed[])
Compute water-platinum forcefield.
Definition
zhu_philpott.cpp:111
client
potentials
Water_Pt
Tip4p_Pt.cpp
Generated by
1.17.0
Generated by
Doxygen 1.17.0
Analytics by
Antics
provided by
TurtleTech ehf