n2p2 - A neural network potential package
|
#include "CutoffFunction.h"
#include "Log.h"
#include "Stopwatch.h"
#include "utility.h"
#include <iostream>
#include <fstream>
Go to the source code of this file.
Functions | |
void | runTest (bool write) |
void | runTest (CutoffFunction::CutoffType cutoffType) |
int | main () |
Variables | |
CutoffFunction | fc |
Log | nnplog |
ofstream | logFile |
Stopwatch | swf |
Stopwatch | swdf |
Stopwatch | swfdf |
size_t | p = 100000000 |
double | d = 0.99999 / p |
double | tbf = 0.0 |
double | tbdf = 0.0 |
double | tbfdf = 0.0 |
double | tlf = 0.0 |
double | tldf = 0.0 |
double | tlfdf = 0.0 |
void runTest | ( | bool | write | ) |
Definition at line 42 of file nnp-cutoff.cpp.
References nnplog, p, nnp::Stopwatch::reset(), nnp::Stopwatch::start(), nnp::Stopwatch::stop(), nnp::strpr(), swdf, swf, swfdf, tldf, tlf, and tlfdf.
Referenced by main().
void runTest | ( | CutoffFunction::CutoffType | cutoffType | ) |
Definition at line 76 of file nnp-cutoff.cpp.
References d, nnp::CutoffFunction::df(), nnp::CutoffFunction::f(), fc, nnp::CutoffFunction::fdf(), nnplog, p, nnp::Stopwatch::reset(), nnp::CutoffFunction::setCutoffType(), nnp::Stopwatch::start(), nnp::Stopwatch::stop(), nnp::strpr(), swdf, swf, swfdf, tbdf, tbf, tbfdf, tldf, tlf, and tlfdf.
int main | ( | ) |
Definition at line 119 of file nnp-cutoff.cpp.
References fc, logFile, nnplog, nnp::Log::registerStreamPointer(), runTest(), nnp::CutoffFunction::setCutoffParameter(), and nnp::CutoffFunction::setCutoffRadius().
Definition at line 27 of file nnp-cutoff.cpp.
Referenced by nnp::ModeCabana< t_device >::compute_cutoff(), nnp::CutoffFunction::fdf(), nnp::CutoffFunction::fdfCORE(), nnp::CutoffFunction::fdfCOS(), nnp::CoreFunction::fdfEXP(), nnp::CutoffFunction::fdfHARD(), nnp::CutoffFunction::fdfTANH(), nnp::CutoffFunction::fdfTANHU(), main(), and runTest().
Log nnplog |
Definition at line 28 of file nnp-cutoff.cpp.
ofstream logFile |
Definition at line 29 of file nnp-cutoff.cpp.
Referenced by main().
Stopwatch swf |
Definition at line 30 of file nnp-cutoff.cpp.
Referenced by runTest().
Stopwatch swdf |
Definition at line 31 of file nnp-cutoff.cpp.
Referenced by runTest().
Stopwatch swfdf |
Definition at line 32 of file nnp-cutoff.cpp.
Referenced by runTest().
size_t p = 100000000 |
Definition at line 33 of file nnp-cutoff.cpp.
Referenced by nnp::SymFncBaseExpAng::calculateRadialPart(), nnp::SymFncExpAngnWeighted::calculateRadialPart(), nnp::InterfaceLammps::extractEWBuffer(), nnp::InterfaceLammps::fillEWBuffer(), nnp::SymGrpCompAngn::getMembers(), nnp::SymGrpCompAngnWeighted::getMembers(), nnp::SymGrpCompAngw::getMembers(), nnp::SymGrpCompAngwWeighted::getMembers(), nnp::SymGrpExpAngn::getMembers(), nnp::SymGrpExpAngw::getMembers(), nnp::Dataset::prepareNumericForces(), nnp::Dataset::recvStructure(), runTest(), and nnp::Dataset::sendStructure().
double d = 0.99999 / p |
Definition at line 34 of file nnp-cutoff.cpp.
Referenced by nnp::Training::calculateErrorEpoch(), nnp::InterfaceLammps::extractEWBuffer(), nnp::SymFncStatistics::getExtrapolationWarningLines(), nnp::Atom::Neighbor::info(), nnp::Atom::Neighbor::operator<(), nnp::Atom::Neighbor::operator==(), runTest(), and nnp::settings::Settings::sanityCheck().
double tbf = 0.0 |
Definition at line 35 of file nnp-cutoff.cpp.
Referenced by runTest().
double tbdf = 0.0 |
Definition at line 36 of file nnp-cutoff.cpp.
Referenced by runTest().
double tbfdf = 0.0 |
Definition at line 37 of file nnp-cutoff.cpp.
Referenced by runTest().
double tlf = 0.0 |
Definition at line 38 of file nnp-cutoff.cpp.
Referenced by runTest().
double tldf = 0.0 |
Definition at line 39 of file nnp-cutoff.cpp.
Referenced by runTest().
double tlfdf = 0.0 |
Definition at line 40 of file nnp-cutoff.cpp.
Referenced by runTest().