← Back to team overview

yade-users team mailing list archive

Re: [Question #703419]: About the modifyication of the macro YADE_CLASS_BASE_DOC_ATTRS_CTOR in the class of NormPhys and NormshearPhys

 

Question #703419 on Yade changed:
https://answers.launchpad.net/yade/+question/703419

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

> I add two lines code

please emphasize the two lines / the change / diff /...
This way it is not very convenient to search the changes..

> There are the errors as below:
> /home/xuan/Desktop/yade_1/trunk/pkg/common/NormShearPhys.hpp:13:139: error: expected ‘(’ before ‘[’ token

even they may look a bit cryptic, usually the most important errors are at the top.
In this case it seems like some syntax problem.
Maybe "elemnormalForce[15]"? What should it do? The field is attribute name "[15]" does not make sense..

Cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.