Skip to content

Commit 1703407

Browse files
authored
Merge pull request #4311 from jwpeterson/drop_deprecated_equation_systems_get_solution
Drop deprecated EquationSystems::get_solution() API
2 parents a00ea23 + 0bf0fb3 commit 1703407

File tree

2 files changed

+0
-25
lines changed

2 files changed

+0
-25
lines changed

include/systems/equation_systems.h

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -326,20 +326,6 @@ class EquationSystems : public ReferenceCountedObject<EquationSystems>,
326326
void get_vars_active_subdomains(const std::vector<std::string> & names,
327327
std::vector<std::set<subdomain_id_type>> & vars_active_subdomains) const;
328328

329-
#ifdef LIBMESH_ENABLE_DEPRECATED
330-
/**
331-
* Retrieve the solution data for CONSTANT MONOMIALs and/or components of
332-
* CONSTANT MONOMIAL_VECs. If 'names' is populated, only the variables
333-
* corresponding to those names will be retrieved. This can be used to
334-
* filter which variables are retrieved.
335-
*
336-
* \deprecated Call the more appropriately-named build_elemental_solution_vector()
337-
* instead.
338-
*/
339-
void get_solution (std::vector<Number> & soln,
340-
std::vector<std::string> & names) const;
341-
#endif // LIBMESH_ENABLE_DEPRECATED
342-
343329
/**
344330
* Retrieve the solution data for CONSTANT MONOMIALs and/or components of
345331
* CONSTANT MONOMIAL_VECs. If 'names' is populated, only the variables

src/systems/equation_systems.C

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,17 +1012,6 @@ void EquationSystems::get_vars_active_subdomains(const std::vector<std::string>
10121012

10131013

10141014

1015-
#ifdef LIBMESH_ENABLE_DEPRECATED
1016-
void EquationSystems::get_solution (std::vector<Number> & soln,
1017-
std::vector<std::string> & names) const
1018-
{
1019-
libmesh_deprecated();
1020-
this->build_elemental_solution_vector(soln, names);
1021-
}
1022-
#endif // LIBMESH_ENABLE_DEPRECATED
1023-
1024-
1025-
10261015
void
10271016
EquationSystems::build_elemental_solution_vector (std::vector<Number> & soln,
10281017
std::vector<std::string> & names) const

0 commit comments

Comments
 (0)