You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: