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

support x parity constraints #72

Open
stevengj opened this issue Sep 7, 2018 · 0 comments
Open

support x parity constraints #72

stevengj opened this issue Sep 7, 2018 · 0 comments

Comments

@stevengj
Copy link
Collaborator

stevengj commented Sep 7, 2018

Right now we only support y and z parity. The reason for this is that, on distributed-memory machines, the x dimension is distributed and doing the parity constraint is painful because it requires communication.

However, it would be straightforward to implement an x-parity constraint that worked only in serial mode and gave an error for parallel calculations.

The relevant code for y and z parity is in:

https://github.com/stevengj/mpb/blob/master/src/maxwell/maxwell_constraints.c

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

No branches or pull requests

1 participant