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

Defines inflow dirichlet conditions. More...

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_coef (this, c)
 Assign coefficients (facet normals etc) More...
 
subroutine usr_inflow_set_eval (this, usr_eval)
 Assign user provided eval function. More...
 
subroutine usr_inflow_validate (this)
 Validate user inflow condition. More...
 

Detailed Description

Defines inflow dirichlet conditions.

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

No-op scalar apply.

Definition at line 122 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

No-op scalar apply (device version)

Definition at line 131 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

Apply user defined inflow conditions (vector valued)

Definition at line 139 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 207 of file usr_inflow.f90.

Here is the call graph for this function:

◆ usr_inflow_free()

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

Definition at line 104 of file usr_inflow.f90.

Here is the call graph for this function:

◆ usr_inflow_set_coef()

subroutine usr_inflow::usr_inflow_set_coef ( class(usr_inflow_t), intent(inout)  this,
type(coef_t), intent(inout), target  c 
)
private

Assign coefficients (facet normals etc)

Definition at line 308 of file usr_inflow.f90.

◆ 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

Assign user provided eval function.

Parameters
user_evalUser specified boundary condition for u,v,w (vector)

Definition at line 316 of file usr_inflow.f90.

◆ usr_inflow_validate()

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

Validate user inflow condition.

Definition at line 323 of file usr_inflow.f90.