-
Notifications
You must be signed in to change notification settings - Fork 4
Domain Actions #305
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
Merged
Merged
Domain Actions #305
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…d spherical lattice.
5 tasks
6 tasks
…into actions-and-apply-funcs
briandrawert
approved these changes
Aug 10, 2022
…into actions-and-apply-funcs
…SpatialPy into actions-and-apply-funcs
…eometry-combinations
…into actions-and-apply-funcs
Merged
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes to Domain
New Attributes
actionsis a list containing domain actionsChanges to
__init__actionsallows action to be passed in when a domain is constructedNew Functions
add_fill_actionconstructs a fill action and either applies it or adds it toactionsadd_remove_actionconstructs a remove action and either applies it or adds it toactionsadd_set_actionconstructs a set action and either applies it or adds it toactionsapply_actionsapplies all actions stored inactionsin list orderapply_fill_actionvalidates and applies the given fill actionapply_remove_actionvalidates and applies the given remove actionapply_set_actionvalidates and applies the given set actionRefactored Functions
fill_with_particlesnow uses fill actions and lattices to execute its functionality. Applies actions by default.set_propertiesnow uses set actions to execute its functionality. Applies actions by default.create_2D_domainnow uses action to create the domain.create_3D_domainnow uses action to create the domain.read_xml_meshnow uses action to create the domain.read_msh_filenow uses action to create the domain.import_meshio_objectnow uses action to create the domain.read_stochss_domainnow uses action to create the domain.