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

Implements non_normal_t.

Data Types

type  non_normal_t
 Mixed Dirichlet condition constraining the tangential vector components. More...
 

Functions/Subroutines

subroutine non_normal_init (this, coef, json)
 Construct the boundary condition from JSON.
 
subroutine non_normal_init_from_components (this, coef, value)
 Construct the boundary condition from a uniform global vector.
 
subroutine non_normal_apply_scalar (this, x, n, time, strong)
 No-op scalar application.
 
subroutine non_normal_apply_vector (this, x, y, z, n, time, strong)
 Strong application preserving the normal component while enforcing the tangential projections of the configured global value.
 
subroutine non_normal_apply_scalar_dev (this, x_d, time, strong, strm)
 No-op scalar application on the device.
 
subroutine non_normal_apply_vector_dev (this, x_d, y_d, z_d, time, strong, strm)
 Apply the tangential components of the prescribed vector on the device.
 
subroutine non_normal_finalize (this)
 Finalize the boundary condition.
 
subroutine non_normal_free (this)
 Free the boundary condition and its mixed-bc storage.
 

Function/Subroutine Documentation

◆ non_normal_apply_scalar()

subroutine non_normal::non_normal_apply_scalar ( class(non_normal_t), intent(inout this,
real(kind=rp), dimension(n), intent(inout x,
integer, intent(in n,
type(time_state_t), intent(in), optional  time,
logical, intent(in), optional  strong 
)
private
Parameters
xScalar field values.
nNumber of entries in x.
timeCurrent time state.
strongWhether to apply the strong form.

Definition at line 119 of file non_normal.f90.

◆ non_normal_apply_scalar_dev()

subroutine non_normal::non_normal_apply_scalar_dev ( class(non_normal_t), intent(inout), target  this,
type(c_ptr), intent(inout x_d,
type(time_state_t), intent(in), optional  time,
logical, intent(in), optional  strong,
type(c_ptr), intent(inout strm 
)
private
Parameters
x_dDevice pointer to the scalar field.
timeCurrent time state.
strongWhether to apply the strong form.
strmDevice stream.

Definition at line 186 of file non_normal.f90.

◆ non_normal_apply_vector()

subroutine non_normal::non_normal_apply_vector ( class(non_normal_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,
type(time_state_t), intent(in), optional  time,
logical, intent(in), optional  strong 
)
private
Parameters
xx-component of the field.
yy-component of the field.
zz-component of the field.
nNumber of entries in each component array.
timeCurrent time state.
strongWhether to apply the strong form.

Definition at line 135 of file non_normal.f90.

◆ non_normal_apply_vector_dev()

subroutine non_normal::non_normal_apply_vector_dev ( class(non_normal_t), intent(inout), target  this,
type(c_ptr), intent(inout x_d,
type(c_ptr), intent(inout y_d,
type(c_ptr), intent(inout z_d,
type(time_state_t), intent(in), optional  time,
logical, intent(in), optional  strong,
type(c_ptr), intent(inout strm 
)
private

Uses the resolved mixed-node mask together with the local basis vectors provided by the coupled vector BC projector.

Parameters
x_dDevice pointer to the x-component.
y_dDevice pointer to the y-component.
z_dDevice pointer to the z-component.
timeCurrent time state.
strongWhether to apply the strong form.
strmDevice stream.

Definition at line 203 of file non_normal.f90.

Here is the call graph for this function:

◆ non_normal_finalize()

subroutine non_normal::non_normal_finalize ( class(non_normal_t), intent(inout), target  this)
private

Definition at line 233 of file non_normal.f90.

◆ non_normal_free()

subroutine non_normal::non_normal_free ( class(non_normal_t), intent(inout), target  this)
private

Definition at line 240 of file non_normal.f90.

◆ non_normal_init()

subroutine non_normal::non_normal_init ( class(non_normal_t), intent(inout), target  this,
type(coef_t), intent(in), target  coef,
type(json_file), intent(inout json 
)
Parameters
[in]coefThe SEM coefficients.
[in,out]jsonThe JSON object configuring the boundary condition.

Definition at line 81 of file non_normal.f90.

◆ non_normal_init_from_components()

subroutine non_normal::non_normal_init_from_components ( class(non_normal_t), intent(inout), target  this,
type(coef_t), intent(in), target  coef,
real(kind=rp), dimension(3), intent(in value 
)
private
Parameters
[in]coefThe SEM coefficients.
[in]valueGlobal vector whose tangential components are enforced.

Definition at line 103 of file non_normal.f90.