Neko  0.8.99
A portable framework for high-order spectral element flow simulations
usr_inflow Module Reference

Defines inflow dirichlet conditions.

Data Types

type  usr_inflow_t
 User defined dirichlet condition for inlet (vector valued) More...
 
interface  usr_inflow_eval
 Abstract interface defining a user defined inflow condition (pointwise) More...
 

Functions/Subroutines

subroutine usr_inflow_free (this)
 
subroutine usr_inflow_apply_scalar (this, x, n, t, tstep)
 No-op scalar apply. More...
 
subroutine usr_inflow_apply_scalar_dev (this, x_d, t, tstep)
 No-op scalar apply (device version) More...
 
subroutine usr_inflow_apply_vector (this, x, y, z, n, t, tstep)
 Apply user defined inflow conditions (vector valued) More...
 
subroutine usr_inflow_apply_vector_dev (this, x_d, y_d, z_d, t, tstep)
 
subroutine usr_inflow_set_eval (this, usr_eval)
 Assign user provided eval function. More...
 
subroutine usr_inflow_validate (this)
 Validate user inflow condition. More...
 

Function/Subroutine Documentation

◆ usr_inflow_apply_scalar()

subroutine usr_inflow::usr_inflow_apply_scalar ( class(usr_inflow_t), intent(inout)  this,
real(kind=rp), dimension(n), intent(inout)  x,
integer, intent(in)  n,
real(kind=rp), intent(in), optional  t,
integer, intent(in), optional  tstep 
)
private

Definition at line 125 of file usr_inflow.f90.

◆ usr_inflow_apply_scalar_dev()

subroutine usr_inflow::usr_inflow_apply_scalar_dev ( class(usr_inflow_t), intent(inout), target  this,
type(c_ptr)  x_d,
real(kind=rp), intent(in), optional  t,
integer, intent(in), optional  tstep 
)
private

Definition at line 134 of file usr_inflow.f90.

◆ usr_inflow_apply_vector()

subroutine usr_inflow::usr_inflow_apply_vector ( class(usr_inflow_t), intent(inout)  this,
real(kind=rp), dimension(n), intent(inout)  x,
real(kind=rp), dimension(n), intent(inout)  y,
real(kind=rp), dimension(n), intent(inout)  z,
integer, intent(in)  n,
real(kind=rp), intent(in), optional  t,
integer, intent(in), optional  tstep 
)
private

Definition at line 142 of file usr_inflow.f90.

Here is the call graph for this function:

◆ usr_inflow_apply_vector_dev()

subroutine usr_inflow::usr_inflow_apply_vector_dev ( class(usr_inflow_t), intent(inout), target  this,
type(c_ptr)  x_d,
type(c_ptr)  y_d,
type(c_ptr)  z_d,
real(kind=rp), intent(in), optional  t,
integer, intent(in), optional  tstep 
)
private

Definition at line 211 of file usr_inflow.f90.

Here is the call graph for this function:

◆ usr_inflow_free()

subroutine usr_inflow::usr_inflow_free ( class(usr_inflow_t), intent(inout), target  this)
private

Definition at line 105 of file usr_inflow.f90.

Here is the call graph for this function:

◆ usr_inflow_set_eval()

subroutine usr_inflow::usr_inflow_set_eval ( class(usr_inflow_t), intent(inout)  this,
procedure(usr_inflow_eval usr_eval 
)
private
Parameters
user_evalUser specified boundary condition for u,v,w (vector)

Definition at line 315 of file usr_inflow.f90.

◆ usr_inflow_validate()

subroutine usr_inflow::usr_inflow_validate ( class(usr_inflow_t), intent(inout)  this)
private

Definition at line 322 of file usr_inflow.f90.