Add penalty MPC constraint support
This commit is contained in:
@@ -761,6 +761,9 @@ contains
|
||||
call boundary_apply_robin_forces(current_time, ierr)
|
||||
if (ierr .ne. FEM_SUCCESS) return
|
||||
|
||||
call boundary_apply_mpc_forces(ierr)
|
||||
if (ierr .ne. FEM_SUCCESS) return
|
||||
|
||||
do dof = 1, ndof
|
||||
rhs = fext(dof) + fsph(dof) + fcontact(dof) - fint(dof)
|
||||
a(dof) = rhs / mass_diag(dof)
|
||||
|
||||
Reference in New Issue
Block a user