The include fe/fe_values header file seems redundant

18 views
Skip to first unread message

Abbas

unread,
Jun 17, 2021, 12:21:39 PM6/17/21
to deal.II User Group
Hello,

Just a tiny remark, but it seems that commenting "#include <deal.II/fe/fe_values.h>"  out of the header yields no errors. I tried that in step-3 and the step worked fine. Is the FEvalues class imported by another library indirectly? 

Best,
Abbas

Wolfgang Bangerth

unread,
Jun 17, 2021, 6:32:30 PM6/17/21
to dea...@googlegroups.com
Some of the #include files you have listed above directly or indirectly
already had an
#include <deal.II/fe/fe_values.h>
somewhere. But it is useful to have it in your file anyway, just to be sure
and because you don't want to depend on whether or not one of the deal.II
files already #includes it or not.

Best
W.


--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/

Reply all
Reply to author
Forward
0 new messages