Device backend wrappers for inhomogeneous Dirichlet boundary conditions.
|
| subroutine | device_inhom_dirichlet_apply_vector (msk, x, y, z, bla_x, bla_y, bla_z, m, strm) |
| | Apply an inhomogeneous Dirichlet condition to a vector field on the device.
|
| |
| subroutine | device_inhom_dirichlet_apply_scalar (msk, x, bla_x, m, strm) |
| | Apply an inhomogeneous Dirichlet condition to a scalar field on the device.
|
| |
◆ device_inhom_dirichlet_apply_scalar()
| subroutine device_inhom_dirichlet::device_inhom_dirichlet_apply_scalar |
( |
type(c_ptr) |
msk, |
|
|
type(c_ptr) |
x, |
|
|
type(c_ptr) |
bla_x, |
|
|
integer, intent(in) |
m, |
|
|
type(c_ptr) |
strm |
|
) |
| |
- Parameters
-
| msk | Device pointer to the boundary-condition mask. |
| x | Device pointer to the scalar field. |
| bla_x | Device pointer to the prescribed scalar values. |
| m | Number of constrained entries in the mask. |
| strm | Device stream or queue handle. |
Definition at line 180 of file device_inhom_dirichlet.F90.
◆ device_inhom_dirichlet_apply_vector()
| subroutine device_inhom_dirichlet::device_inhom_dirichlet_apply_vector |
( |
type(c_ptr) |
msk, |
|
|
type(c_ptr) |
x, |
|
|
type(c_ptr) |
y, |
|
|
type(c_ptr) |
z, |
|
|
type(c_ptr) |
bla_x, |
|
|
type(c_ptr) |
bla_y, |
|
|
type(c_ptr) |
bla_z, |
|
|
integer, intent(in) |
m, |
|
|
type(c_ptr) |
strm |
|
) |
| |
- Parameters
-
| msk | Device pointer to the boundary-condition mask. |
| x | Device pointer to the x component. |
| y | Device pointer to the y component. |
| z | Device pointer to the z component. |
| bla_x | Device pointer to the prescribed x values. |
| bla_y | Device pointer to the prescribed y values. |
| bla_z | Device pointer to the prescribed z values. |
| m | Number of constrained entries in the mask. |
| strm | Device stream or queue handle. |
Definition at line 150 of file device_inhom_dirichlet.F90.