eOn client
Long-timescale dynamics: aKMC, NEB, parallel replica
☾
Toggle main menu visibility
Loading...
Searching...
No Matches
MPIPot.h
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
13
14
#include "
eon/Parameters.h
"
15
#include "
eon/Potential.h
"
16
17
class
MPIPot
:
public
Potential
{
18
19
public
:
20
MPIPot
(
const
Parameters
&p);
21
~MPIPot
();
22
void
initialize
() {};
23
void
cleanMemory
(
void
);
24
void
force
(
long
N,
const
double
*R,
const
int
*atomicNrs,
double
*F,
25
double
*U,
double
*variance,
const
double
*box);
26
27
private
:
28
int
potentialRank
{0};
29
double
poll_period
{0.0};
30
};
Parameters.h
Potential.h
MPIPot::cleanMemory
void cleanMemory(void)
Definition
MPIPot.cpp:28
MPIPot::force
void force(long N, const double *R, const int *atomicNrs, double *F, double *U, double *variance, const double *box)
Definition
MPIPot.cpp:32
MPIPot::poll_period
double poll_period
Definition
MPIPot.h:29
MPIPot::potentialRank
int potentialRank
Definition
MPIPot.h:28
MPIPot::initialize
void initialize()
Definition
MPIPot.h:22
MPIPot::~MPIPot
~MPIPot()
Definition
MPIPot.cpp:30
MPIPot::MPIPot
MPIPot(const Parameters &p)
Definition
MPIPot.cpp:21
eonc::Parameters
Definition
Parameters.h:28
eonc::Potential::Potential
Potential(PotType a_ptype)
Definition
Potential.h:35
include
eon
potentials
MPIPot
MPIPot.h
Generated by
1.17.0
Generated by
Doxygen 1.17.0
Analytics by
Antics
provided by
TurtleTech ehf