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

FEValues cleanup: Remove polynomial space template argument from FE_Poly and FE_PolyTensor #1973

Open
bangerth opened this Issue Dec 10, 2015 · 0 comments

Comments

Projects
None yet
3 participants
@bangerth
Member

bangerth commented Dec 10, 2015

FE_Poly and FE_PolyTensor get a classname for the polynomial space as a template argument. This leads to some awkward duplication of code, see for example the explicit specializations in fe_poly.cc. I think that in practice, this could be avoided by not passing the name of the polynomial space class to FE_Poly and FE_PolyTensor but instead passing an object and then storing a pointer to it in the class. This should also significantly reduce compile time because the same class doesn't have to be instantiated that many times (and we could move the contents of the .templates.h file into the .cc file because we then know what template arguments to instantiate).

Related to #1198.

@bangerth bangerth added this to the Release 8.5 milestone Feb 11, 2016

@tamiko tamiko added the Enhancement label Jul 11, 2016

@tamiko tamiko modified the milestones: Release 9.0, Release 8.5 Feb 3, 2017

@bangerth bangerth modified the milestones: Release 9.0, Release 9.1 Apr 10, 2018

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