Skip to content

Commit

Permalink
Merge pull request #17019 from bangerth/deprecate
Browse files Browse the repository at this point in the history
Deprecate two fields in MeshWorker::LocalIntegrator.
  • Loading branch information
masterleinad committed May 15, 2024
2 parents 8a4f450 + 0279f42 commit cced34b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/news/changes/minor/20240514Bangerth
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Deprecated: The member variables `input_vector_names` and
`output_names` of MeshWorker::LocalIntegrator are not used in the
library. They are now deprecated. If you use them, simply introduce
variables of the same name and type in your own derived class.
<br>
(Wolfgang Bangerth, 2024/05/14)
8 changes: 8 additions & 0 deletions include/deal.II/meshworker/local_integrator.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,11 @@ namespace MeshWorker
*
* @note This variable is currently not used by the library, but it is
* provided to help develop application programs.
*
* @deprecated Because the library itself does not use this field, it is
* better placed in derived classes.
*/
DEAL_II_DEPRECATED_EARLY
std::vector<std::string> input_vector_names;

/**
Expand All @@ -130,7 +134,11 @@ namespace MeshWorker
*
* @note This variable is currently not used by the library, but it is
* provided to help develop application programs.
*
* @deprecated Because the library itself does not use this field, it is
* better placed in derived classes.
*/
DEAL_II_DEPRECATED_EARLY
std::vector<std::string> output_names;

/**
Expand Down

0 comments on commit cced34b

Please sign in to comment.