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

Defines a dirichlet boundary condition. More...

Data Types

type  dirichlet_t
 Generic Dirichlet boundary condition \( x = g \) on \(\partial \Omega\). More...
 

Functions/Subroutines

subroutine dirichlet_apply_scalar (this, x, n, t, tstep)
 Boundary condition apply for a generic Dirichlet condition to a vector x. More...
 
subroutine dirichlet_apply_vector (this, x, y, z, n, t, tstep)
 Boundary condition apply for a generic Dirichlet condition to vectors x, y and z. More...
 
subroutine dirichlet_apply_scalar_dev (this, x_d, t, tstep)
 Boundary condition apply for a generic Dirichlet condition to a vector x (device version) More...
 
subroutine dirichlet_apply_vector_dev (this, x_d, y_d, z_d, t, tstep)
 Boundary condition apply for a generic Dirichlet condition to vectors x, y and z (device version) More...
 
subroutine dirichlet_set_g (this, g)
 Set value of \( g \). More...
 

Detailed Description

Defines a dirichlet boundary condition.

Function/Subroutine Documentation

◆ dirichlet_apply_scalar()

subroutine dirichlet::dirichlet_apply_scalar ( class(dirichlet_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 
)

Boundary condition apply for a generic Dirichlet condition to a vector x.

Definition at line 58 of file dirichlet.f90.

◆ dirichlet_apply_scalar_dev()

subroutine dirichlet::dirichlet_apply_scalar_dev ( class(dirichlet_t), intent(inout), target  this,
type(c_ptr)  x_d,
real(kind=rp), intent(in), optional  t,
integer, intent(in), optional  tstep 
)
private

Boundary condition apply for a generic Dirichlet condition to a vector x (device version)

Definition at line 97 of file dirichlet.f90.

Here is the call graph for this function:

◆ dirichlet_apply_vector()

subroutine dirichlet::dirichlet_apply_vector ( class(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,
real(kind=rp), intent(in), optional  t,
integer, intent(in), optional  tstep 
)
private

Boundary condition apply for a generic Dirichlet condition to vectors x, y and z.

Definition at line 75 of file dirichlet.f90.

◆ dirichlet_apply_vector_dev()

subroutine dirichlet::dirichlet_apply_vector_dev ( class(dirichlet_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

Boundary condition apply for a generic Dirichlet condition to vectors x, y and z (device version)

Definition at line 110 of file dirichlet.f90.

Here is the call graph for this function:

◆ dirichlet_set_g()

subroutine dirichlet::dirichlet_set_g ( class(dirichlet_t), intent(inout)  this,
real(kind=rp), intent(in)  g 
)
private

Set value of \( g \).

Definition at line 124 of file dirichlet.f90.