scalar_product_cart Function

public function scalar_product_cart(x, y, n_c, dims) result(s)

Scalar product of two DIR_C fields, whose storage is the padded Cartesian box n_c with the physical points in 1:dims.

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: x(*)
real(kind=dp), intent(in) :: y(*)
integer, intent(in) :: n_c(3)
integer, intent(in) :: dims(3)

Return Value real(kind=dp)