Add basic Robin boundary support

This commit is contained in:
shenw
2026-06-22 23:20:01 +08:00
parent 1ba1ce4ae9
commit 81ba21af55
5 changed files with 346 additions and 0 deletions
+3
View File
@@ -758,6 +758,9 @@ contains
call boundary_apply_prescribed_loads(current_time, ierr)
if (ierr .ne. FEM_SUCCESS) return
call boundary_apply_robin_forces(current_time, 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)