rename arg_kludge to uef_arg_kludge

This commit is contained in:
David Nicholson
2017-09-29 16:54:46 -04:00
parent 4ef63feea7
commit 4524b0fa83
2 changed files with 4 additions and 3 deletions

View File

@ -44,7 +44,7 @@ enum{ISO,ANISO,TRICLINIC};
so FixNH::FixNH() only sees the keywords it knows. Save the numer of
remaining keywords in rem.
---------------------------------------------------------------------- */
char ** FixNHUef::arg_kludge(int &narg, char **arg, int &rem)
char ** LAMMPS_NS::uef_arg_kludge(int &narg, char **arg, int &rem)
{
int iarg = 3;
bool flags[3]= {false,false,false};
@ -114,7 +114,7 @@ static const char cite_user_uef_package[] =
* temp/pressure fixes
---------------------------------------------------------------------- */
FixNHUef::FixNHUef(LAMMPS *lmp, int narg, char **arg) :
FixNH(lmp, narg, arg_kludge(narg,arg,rem))
FixNH(lmp, narg, uef_arg_kludge(narg,arg,rem))
{
if (lmp->citeme) lmp->citeme->add(cite_user_uef_package);

View File

@ -21,6 +21,8 @@
#include "fix_nh.h"
namespace LAMMPS_NS {
char **uef_arg_kludge(int&, char**, int&);
class FixNHUef : public FixNH {
public:
FixNHUef(class LAMMPS *, int, char **);
@ -46,7 +48,6 @@ class FixNHUef : public FixNH {
virtual int size_restart_global();
virtual void nve_x();
virtual void nve_v();
char **arg_kludge(int&, char**, int&);
void rotate_x(double [3][3]);
void inv_rotate_x(double[3][3]);
void rotate_v(double[3][3]);