4.2 KiB
Compact.f90

Overview
Author: Ignis @brief High-order compact finite difference scheme solver.
This module handles the generation of tridiagonal/pentadiagonal matrices, LU decomposition calculations, and tridiagonal solver operations for periodic and non-periodic boundary conditions.
API Index
- Module:
Compact - Subroutine:
ludcmp - Subroutine:
ludcmp_allocate - Subroutine:
ludcmp_deallocate - Subroutine:
ludcmp_testalloc - Subroutine:
ludcmp_calculate - Subroutine:
test_nonp_lud1 - Subroutine:
test_nonp_lud2 - Subroutine:
test_p_lud1 - Subroutine:
test_p_lud2 - Subroutine:
nonp_lud - Subroutine:
p_lud - Subroutine:
stdlu - Subroutine:
ptdlu - Subroutine:
rhs1np - Subroutine:
dfnonp - Subroutine:
dfp - Subroutine:
ptdslv - Subroutine:
d2fp - Subroutine:
tdslv - Subroutine:
d2fnonp
API Reference
[Module] Compact
Author: Ignis @brief High-order compact finite difference scheme solver.
This module handles the generation of tridiagonal/pentadiagonal matrices, LU decomposition calculations, and tridiagonal solver operations for periodic and non-periodic boundary conditions.
[Subroutine] ludcmp
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.
nx: Grid size in x-direction.ny: Grid size in y-direction.nz: Grid size in z-direction.xp: Periodic flag for x-direction (0 = periodic, other = non-periodic).yp: Periodic flag for y-direction (0 = periodic, other = non-periodic).zp: Periodic flag for z-direction (0 = periodic, other = non-periodic).
[Subroutine] ludcmp_allocate
subroutine ludcmp_allocate(nx, ny, nz, xp, yp, zp)
No description provided.
[Subroutine] ludcmp_deallocate
subroutine ludcmp_deallocate(xp, yp, zp)
No description provided.
[Subroutine] ludcmp_testalloc
subroutine ludcmp_testalloc()
No description provided.
[Subroutine] ludcmp_calculate
subroutine ludcmp_calculate(nx, ny, nz, xp, yp, zp)
No description provided.
[Subroutine] test_nonp_lud1
subroutine test_nonp_lud1(xx, coef)
No description provided.
[Subroutine] test_nonp_lud2
subroutine test_nonp_lud2(xx, coef)
No description provided.
[Subroutine] test_p_lud1
subroutine test_p_lud1(xx, coef1, coef2)
No description provided.
[Subroutine] test_p_lud2
subroutine test_p_lud2(xx, coef1, coef2)
No description provided.
[Subroutine] nonp_lud
subroutine nonp_lud(xyz, xx)
No description provided.
[Subroutine] p_lud
subroutine p_lud(xyz, xx)
No description provided.
[Subroutine] stdlu
subroutine stdlu(a, n, l)
No description provided.
[Subroutine] ptdlu
subroutine ptdlu(a, n, l, w)
No description provided.
[Subroutine] rhs1np
subroutine rhs1np(n, h, x, dx, nd)
No description provided.
[Subroutine] dfnonp
subroutine dfnonp(n, h, x, dx, nd, dir)
No description provided.
[Subroutine] dfp
subroutine dfp(n, h, x, dx, nd, dir)
No description provided.
[Subroutine] ptdslv
subroutine ptdslv(r, n, l, w, nd)
No description provided.
[Subroutine] d2fp
subroutine d2fp(n, h, x, dx, nd, dir)
No description provided.
[Subroutine] tdslv
subroutine tdslv(r, n, l, nd)
No description provided.
[Subroutine] d2fnonp
subroutine d2fnonp(n, h, x, dx, nd, dir)
No description provided.