|
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::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 nnp::CutoffFunction::CT_HARD, d, fc, nnplog, p, nnp::strpr(), swdf, swf, swfdf, tbdf, tbf, tbfdf, tldf, tlf, and tlfdf.

| int main | ( | ) |
Definition at line 119 of file nnp-cutoff.cpp.
References nnp::CutoffFunction::CT_COS, nnp::CutoffFunction::CT_EXP, nnp::CutoffFunction::CT_HARD, nnp::CutoffFunction::CT_POLY1, nnp::CutoffFunction::CT_POLY2, nnp::CutoffFunction::CT_POLY3, nnp::CutoffFunction::CT_POLY4, nnp::CutoffFunction::CT_TANH, nnp::CutoffFunction::CT_TANHU, fc, logFile, nnplog, and runTest().

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.
| Stopwatch swf |
Definition at line 30 of file nnp-cutoff.cpp.
| Stopwatch swdf |
Definition at line 31 of file nnp-cutoff.cpp.
| Stopwatch swfdf |
Definition at line 32 of file nnp-cutoff.cpp.
| 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(), 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(), 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.
| double tldf = 0.0 |
Definition at line 39 of file nnp-cutoff.cpp.
| double tlfdf = 0.0 |
Definition at line 40 of file nnp-cutoff.cpp.