Extent extract method of BuckCoulLong

This commit is contained in:
Evangelos Voyiatzis
2021-02-28 11:20:31 +01:00
committed by GitHub
parent 9efc83195a
commit 6ff8fc093e

View File

@ -558,5 +558,8 @@ void *PairBuckCoulLong::extract(const char *str, int &dim)
{
dim = 0;
if (strcmp(str,"cut_coul") == 0) return (void *) &cut_coul;
dim = 2;
if (strcmp(str,"a") == 0) return (void *) a;
if (strcmp(str,"c") == 0) return (void *) c;
return nullptr;
}