cosmetic
This commit is contained in:
@ -48,9 +48,8 @@
|
|||||||
#include "colvarmodule.h"
|
#include "colvarmodule.h"
|
||||||
#include "colvarproxy.h"
|
#include "colvarproxy.h"
|
||||||
#include "colvarproxy_lammps.h"
|
#include "colvarproxy_lammps.h"
|
||||||
#include "colvarscript.h"
|
|
||||||
#include "colvars_memstream.h"
|
#include "colvars_memstream.h"
|
||||||
|
#include "colvarscript.h"
|
||||||
|
|
||||||
/* struct for packed data communication of coordinates and forces. */
|
/* struct for packed data communication of coordinates and forces. */
|
||||||
struct LAMMPS_NS::commdata {
|
struct LAMMPS_NS::commdata {
|
||||||
@ -60,8 +59,7 @@ struct LAMMPS_NS::commdata {
|
|||||||
|
|
||||||
inline std::ostream &operator<<(std::ostream &out, const LAMMPS_NS::commdata &cd)
|
inline std::ostream &operator<<(std::ostream &out, const LAMMPS_NS::commdata &cd)
|
||||||
{
|
{
|
||||||
out << " (" << cd.tag << "/" << cd.type << ": "
|
out << " (" << cd.tag << "/" << cd.type << ": " << cd.x << ", " << cd.y << ", " << cd.z << ") ";
|
||||||
<< cd.x << ", " << cd.y << ", " << cd.z << ") ";
|
|
||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -303,8 +301,7 @@ void FixColvars::set_thermostat_temperature()
|
|||||||
error->one(FLERR, "Could not find thermostat fix ID {}", tfix_name);
|
error->one(FLERR, "Could not find thermostat fix ID {}", tfix_name);
|
||||||
}
|
}
|
||||||
int tmp = 0;
|
int tmp = 0;
|
||||||
double *tt = reinterpret_cast<double *>(tstat_fix->extract("t_target",
|
double *tt = reinterpret_cast<double *>(tstat_fix->extract("t_target", tmp));
|
||||||
tmp));
|
|
||||||
if (tt) {
|
if (tt) {
|
||||||
t_target = *tt;
|
t_target = *tt;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user