Skip to content

Commit

Permalink
Merge branch 'master' of github.com:espressomd/espresso into ek_powf
Browse files Browse the repository at this point in the history
  • Loading branch information
rempferg committed Mar 18, 2015
2 parents ab04dca + fd8b894 commit ef8b2cf
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/core/dpd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,6 @@ double dpd_tr_cut = 0.0;
/* trans DPD weightfunction */
int dpd_twf = 0;

#ifdef DPD
/* inverse off DPD thermostat cutoff */
double dpd_r_cut_inv = 0.0;
double dpd_pref1;
double dpd_pref2;
static double dpd_pref2_buffer;

#ifdef TRANS_DPD
/* inverse off trans DPD thermostat cutoff */
double dpd_tr_cut_inv = 0.0;
double dpd_pref3;
double dpd_pref4;
static double dpd_pref4_buffer;
#endif

/** Chatterjee 2007 proposes that for DPD with Lees Edwards BCs,
* it is better not to count interactions with Ghost particles. */
static bool le_chatterjee_test_pair(Particle *p1, Particle *p2){
Expand All @@ -72,6 +57,21 @@ static bool le_chatterjee_test_pair(Particle *p1, Particle *p2){
return false;
}

#ifdef DPD
/* inverse off DPD thermostat cutoff */
double dpd_r_cut_inv = 0.0;
double dpd_pref1;
double dpd_pref2;
static double dpd_pref2_buffer;

#ifdef TRANS_DPD
/* inverse off trans DPD thermostat cutoff */
double dpd_tr_cut_inv = 0.0;
double dpd_pref3;
double dpd_pref4;
static double dpd_pref4_buffer;
#endif

void dpd_switch_off()
{
extern double dpd_gamma,dpd_r_cut;
Expand Down

0 comments on commit ef8b2cf

Please sign in to comment.