ludcmp Subroutine

public subroutine ludcmp(nx, ny, nz, xp, yp, zp)

Entry point for LU decomposition calculations.

Prepares the workspace allocations and runs the decomposition calculation for all three directions.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: nx

Grid size in x-direction.

integer, intent(in) :: ny

Grid size in x-direction. Grid size in y-direction.

integer, intent(in) :: nz

Grid size in x-direction. Grid size in y-direction. Grid size in z-direction.

integer, intent(in) :: xp

Periodic flag for x-direction (0 = periodic, other = non-periodic).

integer, intent(in) :: yp

Periodic flag for x-direction (0 = periodic, other = non-periodic). Periodic flag for y-direction (0 = periodic, other = non-periodic).

integer, intent(in) :: zp

Periodic flag for x-direction (0 = periodic, other = non-periodic). Periodic flag for y-direction (0 = periodic, other = non-periodic). Periodic flag for z-direction (0 = periodic, other = non-periodic).