Commit 0235b1a2 authored by jrgissing's avatar jrgissing
Browse files

bond/react: move MAXLINE to header

parent 49b5825e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -56,7 +56,6 @@ static const char cite_fix_bond_react[] =

#define BIG 1.0e20
#define DELTA 16
#define MAXLINE 256
#define MAXGUESS 20 // max # of guesses allowed by superimpose algorithm
#define MAXCONARGS 5 // max # of arguments for any type of constraint

+3 −1
Original line number Diff line number Diff line
@@ -26,6 +26,8 @@ FixStyle(bond/react,FixBondReact)

#include "fix.h"

#define MAXLINE 256

namespace LAMMPS_NS {

class FixBondReact : public Fix {
@@ -175,7 +177,7 @@ class FixBondReact : public Fix {

  struct Set {
    int nreacts;
    char rxn_name[256];
    char rxn_name[MAXLINE];
    int reaction_count_total;
  };
  Set *set;