Updating MSM code to reflect changes allowing non-periodic boundaries.
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9247 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -24,6 +24,7 @@
|
||||
#include "style_region.h"
|
||||
#include "atom.h"
|
||||
#include "force.h"
|
||||
#include "kspace.h"
|
||||
#include "update.h"
|
||||
#include "modify.h"
|
||||
#include "fix.h"
|
||||
@ -399,6 +400,10 @@ void Domain::reset_box()
|
||||
set_global_box();
|
||||
set_local_box();
|
||||
|
||||
// if shrink-wrapped & kspace is defined (i.e. using MSM) call setup()
|
||||
|
||||
if (nonperiodic == 2 && force->kspace) force->kspace->setup();
|
||||
|
||||
// if shrink-wrapped & triclinic, re-convert to lamda coords for new box
|
||||
// re-invoke pbc() b/c x2lamda result can be outside [0,1] due to roundoff
|
||||
|
||||
|
||||
Reference in New Issue
Block a user