Skip to content

Commit

Permalink
Merge pull request #1308 from LLNL/tupek/no_deprecation_warnings
Browse files Browse the repository at this point in the history
Remove deprecation warning.
  • Loading branch information
tupek2 authored Jan 7, 2025
2 parents 1a6e5c1 + d7554cf commit b90c3dd
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/serac/physics/solid_mechanics.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -507,12 +507,8 @@ class SolidMechanics<order, dim, Parameters<parameter_space...>, std::integer_se
*
* @note This method must be called prior to completeSetup()
*/
//clang-format off
[[deprecated("Please use the boundary condition methods that take Domain objects. This method will be removed.")]]
//clang-format on
void
setDisplacementBCs(std::function<bool(const mfem::Vector&)> is_node_constrained,
std::function<double(const mfem::Vector&, double)> disp, int component)
void setDisplacementBCs(std::function<bool(const mfem::Vector&)> is_node_constrained,
std::function<double(const mfem::Vector&, double)> disp, int component)
{
// Get the nodal positions for the displacement vector in grid function form
mfem::ParGridFunction coordinates(
Expand Down

0 comments on commit b90c3dd

Please sign in to comment.