-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve variable naming in autolev parser #15187
Comments
This should be an easy fix ideal for newcomers. Not so sure about #15166 though. |
Hello @NikhilPappu @moorepants I would like to give this bug a try.Could you please guide me how should I proceed over it ? Thank You |
@ayushmankoul |
@NikhilPappu |
@ayushmankoul Go to
Then run |
Sure,I have altered the |
I would like to work on this issue. |
well in the previous build only travis ci failed rest there has been all corrections, so i dont know if it would be a good idea to make a new pr |
Is anyone working on this one? Can I work on this issue? |
If this has not been resolved yet, I would like to give it a try. |
@NikhilPappu Can you tell me what exact values does the |
If this issue has not yet been resolved, I would like to work on it. I'm new to contributing; could someone give me pointers to where to start? |
I have created a PR for this issue at #21283. I would appreciate it if someone could look over that PR for me and give me feedback. Thank you! |
Here is an example output from #15165:
Name clashes will vary likely happen with the primary import names:
me, sm, np
. There should at least be changed to_me, _sm, _np
and even better there should be a check to ensure the Autolev code doesn't contain and reserved words and the properly handles them by adding underscores or some kind of pre/post fix. For example in autolev you might declareMASS ME
as the mass of body E. This will clash with the output codeme
.The automatic declaration of the time derivatives is currently:
A simple improvement would be:
Where
_d, _dd, _ddd
, etc is dot, double dot, triple dot, etc.The text was updated successfully, but these errors were encountered: