-
Notifications
You must be signed in to change notification settings - Fork 63
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
Attribute sets dev #219
Attribute sets dev #219
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am still trying to better understand SWIG so I apologize if these are basic questions:
- Does having import statements inside of the function affect performance? (is it okay to move
...import IsoparametricTransformation
outside of the functions)? - Since these are all almost the same function can we have one function, e.g.
GetTransformation()
, and all these other functions just compose on-top of it? Not sure how different this is in a*.i
vs*.py
file. - What does
$action(self, i, Tr)
do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps moving the import statement out of the functions may help performance issues noted in #216
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is from https://www.swig.org/Doc4.2/SWIGDocumentation.html.
$action** is will be replaced by the call to the C/C++ proper method. Note that this does not include the arguments to the C/C++ method.
I will see what can be done with import statement.
This PR add
attribute_sets.hpp and arrays_by_name.hpp wrapper
minor fix of ex5p mentioned in Install fails on MacOS:
chrpath
not found #213removed bilininteg_ext.i and lininteg_ext.i from git tracking
note ArraysByName::begin and ArraysByName::end (STL-like iterator) are ignored for now