USER-DPD: whitespace and indentation fixes
This commit is contained in:
@ -34,10 +34,10 @@ FixDPDenergy::FixDPDenergy(LAMMPS *lmp, int narg, char **arg) :
|
||||
|
||||
pairDPDE = NULL;
|
||||
pairDPDE = (PairDPDfdtEnergy *) force->pair_match("dpd/fdt/energy",1);
|
||||
|
||||
if(pairDPDE == NULL)
|
||||
|
||||
if (pairDPDE == NULL)
|
||||
error->all(FLERR,"Must use pair_style dpd/fdt/energy with fix dpd/energy");
|
||||
if(!(atom->dpd_flag))
|
||||
if (!(atom->dpd_flag))
|
||||
error->all(FLERR,"Must use atom_style dpd/fdt/energy with fix dpd/energy");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user