get_field_data Subroutine

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

Extract data from field f optionally reordering into dir orientation. To output in same orientation as f, use call ...%get_field_data(data, f, f%dir)

Type Bound

base_backend_t

Arguments

Type IntentOptional Attributes Name
class(base_backend_t) :: self
real(kind=dp), intent(out), dimension(:, :, :) :: data

Output array

class(field_t), intent(in) :: f

Field

integer, intent(in), optional :: dir

Desired orientation of output array (defaults to Cartesian)