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

make grid pointer part of EMfields class #76

Open
alecjohnson opened this issue Oct 15, 2014 · 0 comments
Open

make grid pointer part of EMfields class #76

alecjohnson opened this issue Oct 15, 2014 · 0 comments

Comments

@alecjohnson
Copy link
Contributor

The EMfields3D class creates data that is naturally associated with a grid and therefore naturally ought to contain a reference to the grid. The grid in turn is naturally associated with a process topology and naturally ought to contain a reference to the process topology. Making these two changes allows to eliminate the ubiquitous "grid" and "vct" pointers that appear as arguments to a very large number of methods in the EMfields3D class.

Also, these classes are basically const, and therefore vct and grid should be const.

Alec

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