dealii / code-gallery

A collection of codes based on deal.II contributed by deal.II users
Other
44 stars 54 forks source link

Use of deprecated QTrapez in Parallel In Time #123

Closed jerett-cc closed 1 year ago

jerett-cc commented 1 year ago

On building the project, one gets a deprecation warning for QTrapez. Seems like it is used in the file /src/HeatEquationImplem.hh

The warning:

In file included from /home/jerett/bin/dealii/code-gallery/parallel_in_time/src/HeatEquation.hh:181, from /home/jerett/bin/dealii/code-gallery/parallel_in_time/src/BraidFuncs.hh:24, from /home/jerett/bin/dealii/code-gallery/parallel_in_time/src/BraidFuncs.cc:1: /home/jerett/bin/dealii/code-gallery/parallel_in_time/src/HeatEquationImplem.hh: In member function ‘void HeatEquation::process_solution(double, int, const dealii::Vector&)’: /home/jerett/bin/dealii/code-gallery/parallel_in_time/src/HeatEquationImplem.hh:337:20: warning: ‘using QTrapez = class dealii::QTrapezoid<1>’ is deprecated [-Wdeprecated-declarations] 337 | const QTrapez<1> q_trapez; | ^~~ In file included from /home/jerett/bin/dealii/install/include/deal.II/fe/mapping_q.h:24, from /home/jerett/bin/dealii/install/include/deal.II/fe/mapping_q1.h:22, from /home/jerett/bin/dealii/install/include/deal.II/hp/mapping_collection.h:24, from /home/jerett/bin/dealii/install/include/deal.II/numerics/vector_tools_boundary.h:24, from /home/jerett/bin/dealii/install/include/deal.II/numerics/vector_tools.h:22, from /home/jerett/bin/dealii/code-gallery/parallel_in_time/src/BraidFuncs.hh:18, from /home/jerett/bin/dealii/code-gallery/parallel_in_time/src/BraidFuncs.cc:1: /home/jerett/bin/dealii/install/include/deal.II/base/quadrature_lib.h:142:7: note: declared here 142 | using QTrapez DEAL_II_DEPRECATED = QTrapezoid; | ^~~