idaholab / moose

Multiphysics Object Oriented Simulation Environment
https://www.mooseframework.org
GNU Lesser General Public License v2.1
1.72k stars 1.04k forks source link

Contact module-related maintenance #23889

Open recuero opened 1 year ago

recuero commented 1 year ago

Reason

Conform to best practices, avoid misuse of capabilities.

Design

Impact

Better code, better user experience.

recuero commented 1 year ago

@lindsayad I believe we don't have (or I don't remember) an error check for users trying to employ mortar with 1D meshes?

lindsayad commented 1 year ago

I don't recall one

recuero commented 1 year ago

We could add it in the base constructor querying the mesh. Might avoid other more cumbersome errors downstream.