vecadd Interface

interface
public subroutine vecadd(self, a, x, b, y)

Arguments

Type IntentOptional Attributes Name
class(base_backend_t) :: self
real(kind=dp), intent(in) :: a
class(field_t), intent(in) :: x
real(kind=dp), intent(in) :: b
class(field_t), intent(inout) :: y

Description

adds two vectors together: y = ax + by