Neko 1.99.9
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
device_inhom_dirichlet Module Reference

Device backend wrappers for inhomogeneous Dirichlet boundary conditions.

Data Types

interface  hip_inhom_dirichlet_apply_scalar
 
interface  hip_inhom_dirichlet_apply_vector
 

Functions/Subroutines

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.
 

Function/Subroutine Documentation

◆ 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
mskDevice pointer to the boundary-condition mask.
xDevice pointer to the scalar field.
bla_xDevice pointer to the prescribed scalar values.
mNumber of constrained entries in the mask.
strmDevice stream or queue handle.

Definition at line 180 of file device_inhom_dirichlet.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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
mskDevice pointer to the boundary-condition mask.
xDevice pointer to the x component.
yDevice pointer to the y component.
zDevice pointer to the z component.
bla_xDevice pointer to the prescribed x values.
bla_yDevice pointer to the prescribed y values.
bla_zDevice pointer to the prescribed z values.
mNumber of constrained entries in the mask.
strmDevice stream or queue handle.

Definition at line 150 of file device_inhom_dirichlet.F90.

Here is the call graph for this function:
Here is the caller graph for this function: