Skip to content
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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Attribute sets dev #219

wants to merge 4 commits into from

Conversation

sshiraiwa
Copy link
Member

@sshiraiwa sshiraiwa commented Apr 20, 2024

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 #213

  • removed bilininteg_ext.i and lininteg_ext.i from git tracking

  • note ArraysByName::begin and ArraysByName::end (STL-like iterator) are ignored for now

@sshiraiwa sshiraiwa added in-test-with-mfem-master trigger a workflow to test using MFEM master in-test-with-mfem-release trigger a workflow to test using MFEM release labels Apr 20, 2024
@sshiraiwa sshiraiwa self-assigned this Apr 20, 2024
@sshiraiwa sshiraiwa added in-test-with-mfem-master trigger a workflow to test using MFEM master in-test-with-mfem-release trigger a workflow to test using MFEM release and removed in-test-with-mfem-master trigger a workflow to test using MFEM master in-test-with-mfem-release trigger a workflow to test using MFEM release labels Apr 20, 2024
Copy link
Contributor

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?

Copy link
Contributor

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

Copy link
Member Author

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.

@justinlaughlin justinlaughlin added the in-test-with-mfem-master trigger a workflow to test using MFEM master label May 7, 2024
@sshiraiwa sshiraiwa mentioned this pull request May 9, 2024
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build in-test-with-mfem-master trigger a workflow to test using MFEM master in-test-with-mfem-release trigger a workflow to test using MFEM release minor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants