restore_constrained_values Function

public function restore_constrained_values(gdof, x, err) result(rst)

Restores the constrained degrees-of-freedom from the boundary conditions applied by apply_boundary_conditions.

Arguments

Type IntentOptional 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 constrained vector.

class(errors), intent(inout), optional, target :: err

An optional error handling object.

Return Value real(kind=real64), allocatable, dimension(:)

The altered vector.


Contents