This is a module to deal with the computational stencils for the Dirichlet of Sommerfeld boundary conditions
Determine which BC, for specified coarse grid system
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=realdp) | :: | ap | ||||
| real(kind=realdp) | :: | an | ||||
| real(kind=realdp) | :: | as | ||||
| real(kind=realdp) | :: | aw | ||||
| real(kind=realdp) | :: | ae | ||||
| integer, | intent(in) | :: | i | |||
| integer, | intent(in) | :: | j | |||
| integer, | intent(in) | :: | ni | |||
| integer, | intent(in) | :: | nj | |||
| real(kind=realdp), | intent(in) | :: | hx_c | |||
| real(kind=realdp), | intent(in) | :: | hy_c | |||
| real(kind=realdp), | intent(in) | :: | kxy |
Dirichlet, ap=h^2, which will devided by h^2 in the rountine of the operator When use this Dirichlet, you have to be carefull with the RHS respectively
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=realdp) | :: | ap | ||||
| real(kind=realdp) | :: | an | ||||
| real(kind=realdp) | :: | as | ||||
| real(kind=realdp) | :: | aw | ||||
| real(kind=realdp) | :: | ae | ||||
| integer, | intent(in) | :: | i | |||
| integer, | intent(in) | :: | j | |||
| integer, | intent(in) | :: | ni | |||
| integer, | intent(in) | :: | nj | |||
| real(kind=realdp), | intent(in) | :: | hx_c | |||
| real(kind=realdp), | intent(in) | :: | hy_c |
Sommerfeld boundary conditions. Eliminate the ghost grid points by second-order discretization
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=realdp) | :: | ap | ||||
| real(kind=realdp) | :: | an | ||||
| real(kind=realdp) | :: | as | ||||
| real(kind=realdp) | :: | aw | ||||
| real(kind=realdp) | :: | ae | ||||
| integer, | intent(in) | :: | i | |||
| integer, | intent(in) | :: | j | |||
| integer, | intent(in) | :: | ni | |||
| integer, | intent(in) | :: | nj | |||
| real(kind=realdp), | intent(in) | :: | hx_c | |||
| real(kind=realdp), | intent(in) | :: | hy_c | |||
| real(kind=realdp), | intent(in) | :: | kxy |