Esempio n. 1
0
/** Rotate all particle coordinates around an axis given by phi,theta through the center of mass by an angle alpha */
void rotate_system(double phi, double theta, double alpha)
{
  if (n_nodes!=1) {
      runtimeErrorMsg() <<"Rotate_system only works on a single cpu core";
  }

  local_rotate_system(phi, theta, alpha);
}
Esempio n. 2
0
/** Rotate all particle coordinates around an axis given by phi,theta through the center of mass by an angle alpha */
void rotate_system(double phi, double theta, double alpha)
{
  if (n_nodes!=1) {
      ostringstream msg;
      msg <<"Rotate_system only works on a single cpu core";
      runtimeError(msg);
  }

  local_rotate_system(phi, theta, alpha);
}