Hi Alireza, Your approach seems correct. May be you made some mistake in your potentialfunctionXXX.h and *.cc files. If you copy pasted some code from other potentialfuctions files, then you must make sure to update the class names, #ifdef statements to be consistent with potentialfuctionXXX class name. I hope that resolves the issue.
Best, Sikandar On Sun, Jul 17, 2016 at 1:39 AM, Alireza Moradzadeh <[email protected]> wrote: > Dear All, > > I want to add a new functional form to RE, I can do it with replacing one > of the current functional forms, but I prefer I want to know what files I > should change: > I already added potentialfunctionXXX.cc and potentialfunctionXXX.h. I also > added potentialfunctionXXX.h to csg_reupdate.h and added if potentialname > == XXX ucg = new potentialfunctionXXX(y,y,y) > but when I try to make csg_reupdate gives me back the following error. > > expected type specifier befor potentialfunctionXXX( y,y,y) > > Any suggestion? > > -- > You received this message because you are subscribed to the Google Groups > "votca" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/votca. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "votca" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/votca. For more options, visit https://groups.google.com/d/optout.
