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

Defines a zero-valued Dirichlet boundary condition.

Data Types

type  zero_dirichlet_t
 Zero-valued Dirichlet boundary condition. Used for no-slip walls, but also for various auxillary conditions, such as for residuals. More...
 

Functions/Subroutines

subroutine zero_dirichlet_init (this, coef, json)
 Constructor.
 
subroutine zero_dirichlet_init_from_components (this, coef)
 Constructor.
 
subroutine zero_dirichlet_apply_scalar (this, x, n, time, strong)
 Apply boundary condition to a scalar field. to a vector x.
 
subroutine zero_dirichlet_apply_vector (this, x, y, z, n, time, strong)
 Apply boundary condition to a vector field.
 
subroutine zero_dirichlet_apply_scalar_dev (this, x_d, time, strong, strm)
 Apply boundary condition to a scalar field, device version.
 
subroutine zero_dirichlet_apply_vector_dev (this, x_d, y_d, z_d, time, strong, strm)
 Apply boundary condition to a vector field, device version.
 
subroutine zero_dirichlet_free (this)
 Destructor.
 
subroutine zero_dirichlet_finalize (this, only_facets)
 Finalize.
 

Function/Subroutine Documentation

◆ zero_dirichlet_apply_scalar()

subroutine zero_dirichlet::zero_dirichlet_apply_scalar ( class(zero_dirichlet_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

Definition at line 91 of file zero_dirichlet.f90.

◆ zero_dirichlet_apply_scalar_dev()

subroutine zero_dirichlet::zero_dirichlet_apply_scalar_dev ( class(zero_dirichlet_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

Definition at line 148 of file zero_dirichlet.f90.

Here is the call graph for this function:

◆ zero_dirichlet_apply_vector()

subroutine zero_dirichlet::zero_dirichlet_apply_vector ( class(zero_dirichlet_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

Definition at line 118 of file zero_dirichlet.f90.

◆ zero_dirichlet_apply_vector_dev()

subroutine zero_dirichlet::zero_dirichlet_apply_vector_dev ( class(zero_dirichlet_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

Definition at line 170 of file zero_dirichlet.f90.

Here is the call graph for this function:

◆ zero_dirichlet_finalize()

subroutine zero_dirichlet::zero_dirichlet_finalize ( class(zero_dirichlet_t), intent(inout), target  this,
logical, intent(in), optional  only_facets 
)
private

Definition at line 203 of file zero_dirichlet.f90.

◆ zero_dirichlet_free()

subroutine zero_dirichlet::zero_dirichlet_free ( class(zero_dirichlet_t), intent(inout), target  this)
private

Definition at line 195 of file zero_dirichlet.f90.

◆ zero_dirichlet_init()

subroutine zero_dirichlet::zero_dirichlet_init ( class(zero_dirichlet_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 72 of file zero_dirichlet.f90.

◆ zero_dirichlet_init_from_components()

subroutine zero_dirichlet::zero_dirichlet_init_from_components ( class(zero_dirichlet_t), intent(inout), target  this,
type(coef_t), intent(in), target  coef 
)
private
Parameters
[in]coefThe SEM coefficients.

Definition at line 82 of file zero_dirichlet.f90.