Loading [MathJax]/extensions/tex2jax.js
Neko 0.9.99
A portable framework for high-order spectral element flow simulations
All Classes Namespaces Files Functions Variables Typedefs Enumerator Macros Pages
dirichlet Module Reference

Defines a dirichlet boundary condition.

Data Types

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

Functions/Subroutines

subroutine dirichlet_init (this, coef, json)
 Constructor from JSON.
 
subroutine dirichlet_init_from_components (this, coef, g)
 Constructor from components.
 
subroutine dirichlet_apply_scalar (this, x, n, t, tstep, strong)
 Boundary condition apply for a generic Dirichlet condition to a vector x.
 
subroutine dirichlet_apply_vector (this, x, y, z, n, t, tstep, strong)
 Boundary condition apply for a generic Dirichlet condition to vectors x, y and z.
 
subroutine dirichlet_apply_scalar_dev (this, x_d, t, tstep, strong)
 Boundary condition apply for a generic Dirichlet condition to a vector x (device version)
 
subroutine dirichlet_apply_vector_dev (this, x_d, y_d, z_d, t, tstep, strong)
 Boundary condition apply for a generic Dirichlet condition to vectors x, y and z (device version)
 
subroutine dirichlet_set_g (this, g)
 Set value of \( g \).
 
subroutine dirichlet_free (this)
 Destructor.
 
subroutine dirichlet_finalize (this)
 Finalize.
 

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,
logical, intent(in), optional  strong 
)
private

Definition at line 97 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,
logical, intent(in), optional  strong 
)
private

Definition at line 148 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,
logical, intent(in), optional  strong 
)
private

Definition at line 120 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,
logical, intent(in), optional  strong 
)
private

Definition at line 168 of file dirichlet.f90.

Here is the call graph for this function:

◆ dirichlet_finalize()

subroutine dirichlet::dirichlet_finalize ( class(dirichlet_t), intent(inout), target  this)
private

Definition at line 205 of file dirichlet.f90.

◆ dirichlet_free()

subroutine dirichlet::dirichlet_free ( class(dirichlet_t), intent(inout), target  this)
private

Definition at line 197 of file dirichlet.f90.

◆ dirichlet_init()

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

Definition at line 71 of file dirichlet.f90.

◆ dirichlet_init_from_components()

subroutine dirichlet::dirichlet_init_from_components ( class(dirichlet_t), intent(inout), target  this,
type(coef_t), intent(in coef,
real(kind=rp), intent(in g 
)
private
Parameters
[in]coefThe SEM coefficients.
[in]gThe value to apply at the boundary.

Definition at line 86 of file dirichlet.f90.

◆ dirichlet_set_g()

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

Definition at line 188 of file dirichlet.f90.