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

Defines a Neumann boundary condition. More...

Data Types

type  neumann_t
 Generic Neumann boundary condition. This sets the flux of the field to the chosen value. More...
 

Functions/Subroutines

subroutine neumann_apply_scalar (this, x, n, t, tstep)
 Boundary condition apply for a generic Neumann condition to a vector x. More...
 
subroutine neumann_apply_vector (this, x, y, z, n, t, tstep)
 Boundary condition apply for a generic Neumann condition to vectors x, y and z. More...
 
subroutine neumann_apply_scalar_dev (this, x_d, t, tstep)
 Boundary condition apply for a generic Neumann condition to a vector x (device version) More...
 
subroutine neumann_apply_vector_dev (this, x_d, y_d, z_d, t, tstep)
 Boundary condition apply for a generic Neumann condition to vectors x, y and z (device version) More...
 
subroutine neumann_init_neumann (this, flux)
 Constructor. More...
 
pure real(kind=rp) function neumann_flux (this)
 Get the set flux. More...
 

Detailed Description

Defines a Neumann boundary condition.

Function/Subroutine Documentation

◆ neumann_apply_scalar()

subroutine neumann::neumann_apply_scalar ( class(neumann_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 Neumann condition to a vector x.

Definition at line 62 of file neumann.f90.

Here is the call graph for this function:

◆ neumann_apply_scalar_dev()

subroutine neumann::neumann_apply_scalar_dev ( class(neumann_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 Neumann condition to a vector x (device version)

Definition at line 107 of file neumann.f90.

◆ neumann_apply_vector()

subroutine neumann::neumann_apply_vector ( class(neumann_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 Neumann condition to vectors x, y and z.

Definition at line 91 of file neumann.f90.

◆ neumann_apply_vector_dev()

subroutine neumann::neumann_apply_vector_dev ( class(neumann_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 Neumann condition to vectors x, y and z (device version)

Definition at line 119 of file neumann.f90.

◆ neumann_flux()

pure real(kind=rp) function neumann::neumann_flux ( class(neumann_t), intent(in)  this)
private

Get the set flux.

Definition at line 142 of file neumann.f90.

◆ neumann_init_neumann()

subroutine neumann::neumann_init_neumann ( class(neumann_t), intent(inout)  this,
real(kind=rp), intent(in)  flux 
)
private

Constructor.

Parameters
fluxThe desired flux.
coefThe SEM coefficients.

Definition at line 134 of file neumann.f90.