LU 분해를 위한 포트란 workspace 배열 메모리를 동적 할당하는 서브루틴입니다.
경계 조건(xp, yp, zp = 0 주기적 경계 조건, 1 비주기적 경계 조건)에 따라 배열 크기와 할당 여부를 결정하며, 할당에 실패하면 에러를 출력하고 즉시 프로그램을 안전하게 종료(STOP)시킵니다.
| Type | Intent | Optional | 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). |