Loading...
Searching...
No Matches
AMS_IO.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/Matter.h"
15#include "eon/Potential.h"
16
17#include <string>
18
19class AMS_IO : public Potential {
20
21public:
22 AMS_IO(const Parameters &p);
23 ~AMS_IO();
24 void initialize() {};
25 void cleanMemory(void);
26 void force(long N, const double *R, const int *atomicNrs, double *F,
27 double *U, double *variance, const double *box);
28
29private:
30 void passToSystem(long N, const double *R, const int *atomicNrs,
31 const double *box);
32 void recieveFromSystem(long N, double *F, double *U);
33 // Owned by value: the Parameters these came from may go out of scope long
34 // before the potential does.
35 std::string engine;
36 std::string model;
37 std::string forcefield;
38 std::string xc;
39};
~AMS_IO()
Definition AMS_IO.cpp:59
std::string forcefield
Definition AMS_IO.h:37
std::string model
Definition AMS_IO.h:36
std::string engine
Definition AMS_IO.h:35
AMS_IO(const Parameters &p)
Definition AMS_IO.cpp:48
void force(long N, const double *R, const int *atomicNrs, double *F, double *U, double *variance, const double *box)
Definition AMS_IO.cpp:101
void initialize()
Definition AMS_IO.h:24
void recieveFromSystem(long N, double *F, double *U)
Definition AMS_IO.cpp:176
void cleanMemory(void)
Definition AMS_IO.cpp:57
std::string xc
Definition AMS_IO.h:38
void passToSystem(long N, const double *R, const int *atomicNrs, const double *box)
Definition AMS_IO.cpp:112
Potential(PotType a_ptype)
Definition Potential.h:35