Applies boundary conditions to a matrix by removal of the appropriate rows and columns.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(inout), | dimension(:) | :: | gdof |
An array of the global degrees of freedom to restrain. The array is sorted into ascending order on output. |
|
| real(kind=real64), | intent(in), | dimension(:,:) | :: | x |
The matrix to constrain. |
|
| class(errors), | intent(inout), | optional, | target | :: | err |
An optional error handling object. |
The altered matrix.
Applies boundary conditions to a vector by removal of the appropriate items.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(inout), | dimension(:) | :: | gdof |
An array of the global degrees of freedom to restrain. The array is sorted into ascending order on output. |
|
| real(kind=real64), | intent(in), | dimension(:) | :: | x |
The vector to constrain. |
|
| class(errors), | intent(inout), | optional, | target | :: | err |
An optional error handling object. |
The altered vector.