center_zed_segment_complex Subroutine

private subroutine center_zed_segment_complex(iv, f, llim, periodic)

Uses

    • parameters_numerical

center_zed_segment_complex takes as arguments the vpa index (iv) the z-depenendent conplex function f, and the starting iz index for the array f (llim), and overwrites f with the cell-centered version;

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: iv
complex, intent(inout), dimension(llim:) :: f
integer, intent(in) :: llim
logical, intent(in) :: periodic