Skip to content
Snippets Groups Projects
Commit 3528f9ca authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

fix bugs in documentation and implementation of atom style mdpd

parent 2e99e54e
No related branches found
No related tags found
No related merge requests found
...@@ -547,7 +547,7 @@ charge: atom-ID atom-type q x y z ...@@ -547,7 +547,7 @@ charge: atom-ID atom-type q x y z
dipole: atom-ID atom-type q x y z mux muy muz dipole: atom-ID atom-type q x y z mux muy muz
dpd: atom-ID atom-type theta x y z dpd: atom-ID atom-type theta x y z
edpd: atom-ID atom-type edpd_temp edpd_cv x y z edpd: atom-ID atom-type edpd_temp edpd_cv x y z
mdpd: atom-ID atom-type x y z mdpd: atom-ID atom-type rho x y z
tdpd: atom-ID atom-type x y z cc1 cc2 ... ccNspecies tdpd: atom-ID atom-type x y z cc1 cc2 ... ccNspecies
electron: atom-ID atom-type q spin eradius x y z electron: atom-ID atom-type q spin eradius x y z
ellipsoid: atom-ID atom-type ellipsoidflag density x y z ellipsoid: atom-ID atom-type ellipsoidflag density x y z
......
...@@ -43,9 +43,9 @@ AtomVecMDPD::AtomVecMDPD(LAMMPS *lmp) : AtomVec(lmp) ...@@ -43,9 +43,9 @@ AtomVecMDPD::AtomVecMDPD(LAMMPS *lmp) : AtomVec(lmp)
size_reverse = 3 + 1; // 3 + drho size_reverse = 3 + 1; // 3 + drho
size_border = 6 + 4; // 6 + rho + vest[3] size_border = 6 + 4; // 6 + rho + vest[3]
size_velocity = 3; size_velocity = 3;
size_data_atom = 5; size_data_atom = 6;
size_data_vel = 4; size_data_vel = 4;
xcol_data = 3; xcol_data = 4;
atom->rho_flag = 1; atom->rho_flag = 1;
atom->vest_flag = 1; atom->vest_flag = 1;
...@@ -817,7 +817,7 @@ void AtomVecMDPD::data_atom(double *coord, imageint imagetmp, char **values) { ...@@ -817,7 +817,7 @@ void AtomVecMDPD::data_atom(double *coord, imageint imagetmp, char **values) {
vest[nlocal][1] = 0.0; vest[nlocal][1] = 0.0;
vest[nlocal][2] = 0.0; vest[nlocal][2] = 0.0;
rho[nlocal] = 0.0; rho[nlocal] = atof(values[2]);
drho[nlocal] = 0.0; drho[nlocal] = 0.0;
atom->nlocal++; atom->nlocal++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment