Unverified Commit 9446f8f7 authored by Evangelos Voyiatzis's avatar Evangelos Voyiatzis Committed by GitHub
Browse files

Update bond_fene.cpp

parent bd7deebc
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -272,3 +272,13 @@ double BondFENE::single(int type, double rsq, int /*i*/, int /*j*/,

  return eng;
}

/* ---------------------------------------------------------------------- */

void *BondFENE::extract( char *str, int &dim )
{
  dim = 1;
  if (strcmp(str,"kappa")==0) return (void*) k;
  if (strcmp(str,"r0")==0) return (void*) r0;
  return NULL;
}