forked from lijiext/lammps
must try suffixes when recreating pair hybrid substyles from a restart
This commit is contained in:
parent
33996d9bac
commit
68e5a18070
|
@ -742,7 +742,7 @@ void PairHybrid::read_restart(FILE *fp)
|
|||
keywords[m] = new char[n];
|
||||
if (me == 0) utils::sfread(FLERR,keywords[m],sizeof(char),n,fp,NULL,error);
|
||||
MPI_Bcast(keywords[m],n,MPI_CHAR,0,world);
|
||||
styles[m] = force->new_pair(keywords[m],0,dummy);
|
||||
styles[m] = force->new_pair(keywords[m],1,dummy);
|
||||
styles[m]->read_restart_settings(fp);
|
||||
// read back per style special settings, if present
|
||||
special_lj[m] = special_coul[m] = NULL;
|
||||
|
|
Loading…
Reference in New Issue