-
Notifications
You must be signed in to change notification settings - Fork 17
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
DiscretizationCollection constructor should do no work #104
Comments
What's the cleanest way to do this without breaking a whole bunch of stuff? We need to support |
Actually, I think we should do this after In order to remove all work from grudge/grudge/discretization.py Line 191 in fc24878
grudge/grudge/discretization.py Line 300 in fc24878
grudge/grudge/discretization.py Line 259 in fc24878
and several other related private method (the ones I listed are the really big ones) |
My thought is that this won't be cataclysmic. Most of the work could be moved to functions that the constructor calls while complaining, whereas the canonical call sites would be in |
This is too fat. The constructor itself should just be an attribute setter. The actual work should be done by a "maker function", like
make_discretization_collection
. This is a long-term thing that'll hopefully make it easier to move towards moving geometry.x-ref inducer/meshmode#123
The text was updated successfully, but these errors were encountered: