diff --git a/src/pair_yukawa.cpp b/src/pair_yukawa.cpp index 55a686e5f0..28b63d3834 100644 --- a/src/pair_yukawa.cpp +++ b/src/pair_yukawa.cpp @@ -332,3 +332,12 @@ double PairYukawa::single(int /*i*/, int /*j*/, int itype, int jtype, double rsq phi = a[itype][jtype] * screening * rinv - offset[itype][jtype]; return factor_lj * phi; } + +/* ---------------------------------------------------------------------- */ + +void *PairYukawa::extract(const char *str, int &dim) +{ + dim = 2; + if (strcmp(str, "alpha") == 0) return (void *) a; + return nullptr; +}