Added cautionary comments

This commit is contained in:
jtclemm
2020-08-08 09:15:56 -06:00
parent 6b1191b1c0
commit 41904f7946
20 changed files with 47 additions and 9 deletions

2
src/USER-SMD/fix_smd_tlsph_reference_configuration.cpp Normal file → Executable file
View File

@ -450,6 +450,7 @@ int FixSMD_TLSPH_ReferenceConfiguration::unpack_exchange(int nlocal, double *buf
int FixSMD_TLSPH_ReferenceConfiguration::pack_restart(int i, double *buf) {
int m = 0;
// pack buf[0] this way b/c other fixes unpack it
buf[m++] = 4 * npartner[i] + 2;
buf[m++] = npartner[i];
for (int n = 0; n < npartner[i]; n++) {
@ -470,6 +471,7 @@ void FixSMD_TLSPH_ReferenceConfiguration::unpack_restart(int /*nlocal*/, int /*n
// ipage = NULL if being called from granular pair style init()
// skip to Nth set of extra values
// unpack the Nth first values this way b/c other fixes pack them
// double **extra = atom->extra;
//