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

All network generators should take an origin keyword #716

Closed
jgostick opened this issue Aug 9, 2017 · 2 comments
Closed

All network generators should take an origin keyword #716

jgostick opened this issue Aug 9, 2017 · 2 comments

Comments

@jgostick
Copy link
Member

jgostick commented Aug 9, 2017

This is super simple to do after the fact by adjust the 'pore.coords' array, but it would be handy for other reasons to allow an origin keyword to offset to the network upon creation. The default would obviously be [0, 0, 0]

@jgostick
Copy link
Member Author

jgostick commented Feb 8, 2018

This is almost too easy, you just add it to net['pore.coords']

@jgostick
Copy link
Member Author

just do net['pore.coords'] += [3, 3, 3]

It would only add cruft to the init calls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant