Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecation warning. #1308

Merged
merged 4 commits into from
Jan 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading