Skip to content

Commit

Permalink
Add the possibility to use a multiplier to allow Robin type of lumped…
Browse files Browse the repository at this point in the history
… conditions when having an integral constraint.
  • Loading branch information
raback committed Aug 29, 2022
1 parent e328d86 commit 952c012
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fem/src/SolverUtils.F90
Expand Up @@ -5290,6 +5290,12 @@ SUBROUTINE SetDirichletBoundaries( Model, A, b, Name, DOF, NDOFs, Perm, &
t = Offset + Perm(ind)
b(t) = b(t) + SingleVal
END IF

SingleVal = ListGetCReal( ValueList,TRIM(DirName)//' Multiplier',GotIt)
IF( GotIt ) THEN
t = Offset + Perm(ind)
CALL AddToMatrixElement(A,t,t,SingleVal)
END IF
END IF

n = COUNT( LumpedNodeSet )
Expand Down

0 comments on commit 952c012

Please sign in to comment.