Commit 346b3c53 authored by Aidan Thompson's avatar Aidan Thompson
Browse files

Added comm->me check

parent a1c49159
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
#include "math_const.h"
#include "memory.h"
#include "error.h"
#include "comm.h"

using namespace std;
using namespace LAMMPS_NS;
@@ -1523,6 +1524,8 @@ void SNA::init_clebsch_gordan()

void SNA::print_clebsch_gordan()
{
  if (comm->me) return;

  int aa2, bb2, cc2;
  for (int j = 0; j <= twojmax; j += 1) {
    printf("c = %g\n",j/2.0);