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

Device dispatch for LPT elastic wall-collision handling.

Data Types

interface  hip_lpt_handle_elastic_wall_collisions
 HIP kernel entry point for elastic wall-collision reflection. More...

Functions/Subroutines

subroutine, public lpt_handle_elastic_wall_collisions_device (msh, dm_xh, coef, wall_facet_mask_d, el_list_d, x_old, y_old, z_old, x, y, z, d, u, v, w, u_lag, v_lag, w_lag, u_laglag, v_laglag, w_laglag, acc_xlag, acc_ylag, acc_zlag, acc_xlaglag, acc_ylaglag, acc_zlaglag, u_old, v_old, w_old, acc_x, acc_y, acc_z, lag_len, n, strm)
 Launch device kernel for elastic wall-collision reflection.

Function/Subroutine Documentation

◆ lpt_handle_elastic_wall_collisions_device()

subroutine, public lpt_wall_collision_device::lpt_handle_elastic_wall_collisions_device ( type(mesh_t), intent(in) msh,
type(dofmap_t), intent(in) dm_xh,
type(coef_t), intent(in) coef,
type(c_ptr), intent(in) wall_facet_mask_d,
type(c_ptr), intent(in) el_list_d,
type(vector_t), intent(in) x_old,
type(vector_t), intent(in) y_old,
type(vector_t), intent(in) z_old,
type(vector_t), intent(inout) x,
type(vector_t), intent(inout) y,
type(vector_t), intent(inout) z,
type(vector_t), intent(in) d,
type(vector_t), intent(inout) u,
type(vector_t), intent(inout) v,
type(vector_t), intent(inout) w,
type(vector_t), intent(inout) u_lag,
type(vector_t), intent(inout) v_lag,
type(vector_t), intent(inout) w_lag,
type(vector_t), intent(inout) u_laglag,
type(vector_t), intent(inout) v_laglag,
type(vector_t), intent(inout) w_laglag,
type(vector_t), intent(inout) acc_xlag,
type(vector_t), intent(inout) acc_ylag,
type(vector_t), intent(inout) acc_zlag,
type(vector_t), intent(inout) acc_xlaglag,
type(vector_t), intent(inout) acc_ylaglag,
type(vector_t), intent(inout) acc_zlaglag,
type(vector_t), intent(inout) u_old,
type(vector_t), intent(inout) v_old,
type(vector_t), intent(inout) w_old,
type(vector_t), intent(inout) acc_x,
type(vector_t), intent(inout) acc_y,
type(vector_t), intent(inout) acc_z,
integer, intent(in) lag_len,
integer, intent(in) n,
type(c_ptr), optional strm )
Parameters
mshMesh containing candidate wall facets.
dm_XhCoordinate dofmap used for wall geometry.
coefCoefficients used for facet normals.
wall_facet_mask_dDevice mask of elastic wall facets.
el_list_dDevice list of local owner elements.
nNumber of local particles.

Definition at line 162 of file lpt_wall_collision_device.F90.

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