implement check_itype in improper_hybrid.cpp

This commit is contained in:
Evangelos Voyiatzis
2025-02-09 14:48:10 +02:00
committed by GitHub
parent c0ef702af5
commit fe3c8487de

View File

@ -320,6 +320,14 @@ void ImproperHybrid::init_style()
if (styles[m]) styles[m]->init_style();
}
/* ---------------------------------------------------------------------- */
int ImproperHybrid::check_itype(int itype, char *substyle)
{
if (strcmp(keywords[map[itype]], substyle) == 0) return 1;
return 0;
}
/* ----------------------------------------------------------------------
proc 0 writes to restart file
------------------------------------------------------------------------- */