Skip to content

Commit

Permalink
Split fe_values.h and fe_values.cc into three files each.
Browse files Browse the repository at this point in the history
In 367243a (PR 15575) I removed SPLIT_INSTANTIATIONS_INDEX et al from
fe_values.cc. This was fine for -O2 but with -O3 -march=native this file now
takes several minutes to compile.

The majority of our compilation time here is in FEValuesViews - ultimately I'd
like to split that up. This commit performs one step towards splitting that up
by splitting up fe_values.h and corresponding source files into files for
FEValuesViews, FEValues, and FEValuesBase.
  • Loading branch information
drwells committed Aug 2, 2023
1 parent cacfbef commit 007f257
Show file tree
Hide file tree
Showing 10 changed files with 10,339 additions and 9,985 deletions.
6,175 changes: 447 additions & 5,728 deletions include/deal.II/fe/fe_values.h

Large diffs are not rendered by default.

2,429 changes: 2,429 additions & 0 deletions include/deal.II/fe/fe_values_base.h

Large diffs are not rendered by default.

2,951 changes: 2,951 additions & 0 deletions include/deal.II/fe/fe_values_views.h

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions source/fe/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ set(_unity_include_src

set(_separate_src
fe_values.cc
fe_values_base.cc
fe_values_views.cc
mapping_fe_field.cc
mapping_fe_field_inst2.cc
fe_tools.cc
Expand Down Expand Up @@ -123,6 +125,8 @@ set(_inst
fe_tools_interpolate.inst.in
fe_tools_extrapolate.inst.in
fe_trace.inst.in
fe_values_base.inst.in
fe_values_views.inst.in
fe_values.inst.in
fe_wedge_p.inst.in
mapping_c1.inst.in
Expand Down

0 comments on commit 007f257

Please sign in to comment.