set_field_data Subroutine

public subroutine set_field_data(self, f, data, dir)

Type Bound

base_backend_t

Arguments

Type IntentOptional Attributes Name
class(base_backend_t) :: self
class(field_t), intent(inout) :: f

Field

real(kind=dp), intent(in), dimension(:, :, :) :: data

Input array

integer, intent(in), optional :: dir

Orientation of input array (defaults to Cartesian)