eOn client
Long-timescale dynamics: aKMC, NEB, parallel replica
☾
Toggle main menu visibility
Loading...
Searching...
No Matches
Water.hpp
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
#pragma once
19
20
#include "
eon/Potential.h
"
21
#include "
spce_ccl.hpp
"
22
#include "
tip4p_ccl.hpp
"
23
24
class
Tip4p
:
public
Potential
,
private
forcefields::Tip4p
{
25
public
:
26
Tip4p
(
const
Parameters
¶ms)
27
:
Potential
(params),
28
forcefields
::
Tip4p
(8.5, 1.0) {};
29
// Functions
30
// constructor and destructor
31
32
// To satisfy interface
33
void
cleanMemory
(
void
) {}
34
void
force
(
long
N,
const
double
*R,
const
int
*atomicNrs,
double
*F,
35
double
*U,
double
*variance,
const
double
*box)
override
;
36
};
37
38
class
SpceCcl
:
public
Potential
,
private
forcefields::SpceCcl
{
39
public
:
40
SpceCcl
(
const
Parameters
¶ms)
41
:
Potential
(params),
42
forcefields
::
SpceCcl
(8.5, 1.0) {}
43
// Functions
44
// constructor and destructor
45
46
// To satisfy interface
47
void
cleanMemory
(
void
) {}
48
void
force
(
long
N,
const
double
*R,
const
int
*atomicNrs,
double
*F,
49
double
*U,
double
*variance,
const
double
*box)
override
;
50
};
Potential.h
SpceCcl::force
void force(long N, const double *R, const int *atomicNrs, double *F, double *U, double *variance, const double *box) override
Definition
Water.cpp:26
SpceCcl::SpceCcl
SpceCcl(const Parameters ¶ms)
Definition
Water.hpp:40
SpceCcl::cleanMemory
void cleanMemory(void)
Definition
Water.hpp:47
Tip4p::Tip4p
Tip4p(const Parameters ¶ms)
Definition
Water.hpp:26
Tip4p::force
void force(long N, const double *R, const int *atomicNrs, double *F, double *U, double *variance, const double *box) override
Definition
Water.cpp:14
Tip4p::cleanMemory
void cleanMemory(void)
Definition
Water.hpp:33
eonc::Parameters
Definition
Parameters.h:28
eonc::Potential::Potential
Potential(PotType a_ptype)
Definition
Potential.h:35
forcefields::SpceCcl
SPC/E+CCl water potential.
Definition
spce_ccl.hpp:36
forcefields::Tip4p
TIP4P forcefield with fexible molecules and group based cutoff.
Definition
tip4p_ccl.hpp:23
forcefields
Definition
ccl.hpp:21
spce_ccl.hpp
SPC/E potential for water.
tip4p_ccl.hpp
TIP4P potential for water.
include
eon
potentials
Water
Water.hpp
Generated by
1.17.0
Generated by
Doxygen 1.17.0
Analytics by
Antics
provided by
TurtleTech ehf