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

Defines overset interface scalar boundary conditions.

Data Types

interface  morph_overset_interface
 User callback for overset-interface morphing and boundary-value updates. More...
 
type  overset_interface_t
 Overset interface BC for a scalar field. More...
 

Functions/Subroutines

subroutine overset_interface_init (this, coef, json)
 Constructor.
 
subroutine overset_interface_init_from_components (this, coef, field_name, tol, pad)
 Constructor from components.
 
subroutine overset_interface_free (this)
 Destructor.
 
subroutine overset_interface_apply_scalar (this, x, n, time, strong)
 Apply scalar.
 
subroutine overset_interface_apply_scalar_dev (this, x_d, time, strong, strm)
 Apply scalar (device).
 
subroutine overset_interface_apply_vector (this, x, y, z, n, time, strong)
 (No-op) Apply vector.
 
subroutine overset_interface_apply_vector_dev (this, x_d, y_d, z_d, time, strong, strm)
 (No-op) Apply vector (device).
 
subroutine overset_interface_finalize (this, only_facets)
 Finalize by building the mask arrays and preparing interpolation data.
 
subroutine overset_interface_update (this, time)
 Update values at the overset interface.
 
subroutine build_masks_ (this)
 Build masks.
 
subroutine gather_interface_dofs_ (this)
 Gather interface dofs.
 
subroutine setup_interpolator_ (this)
 Set up the global interpolator.
 

Function/Subroutine Documentation

◆ build_masks_()

subroutine overset_interface::build_masks_ ( class(overset_interface_t), intent(inout this)
private

Definition at line 422 of file overset_interface.f90.

Here is the call graph for this function:

◆ gather_interface_dofs_()

subroutine overset_interface::gather_interface_dofs_ ( class(overset_interface_t), intent(inout this)
private

Definition at line 473 of file overset_interface.f90.

Here is the call graph for this function:

◆ overset_interface_apply_scalar()

subroutine overset_interface::overset_interface_apply_scalar ( class(overset_interface_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
xField onto which to copy the values.
nSize of the array x.
timeThe current time state.

Definition at line 255 of file overset_interface.f90.

Here is the call graph for this function:

◆ overset_interface_apply_scalar_dev()

subroutine overset_interface::overset_interface_apply_scalar_dev ( class(overset_interface_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 field onto which to copy the values.
timeThe current time state.
strmDevice stream

Definition at line 284 of file overset_interface.f90.

Here is the call graph for this function:

◆ overset_interface_apply_vector()

subroutine overset_interface::overset_interface_apply_vector ( class(overset_interface_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 313 of file overset_interface.f90.

◆ overset_interface_apply_vector_dev()

subroutine overset_interface::overset_interface_apply_vector_dev ( class(overset_interface_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 328 of file overset_interface.f90.

◆ overset_interface_finalize()

subroutine overset_interface::overset_interface_finalize ( class(overset_interface_t), intent(inout), target  this,
logical, intent(in), optional  only_facets 
)
private

Definition at line 344 of file overset_interface.f90.

◆ overset_interface_free()

subroutine overset_interface::overset_interface_free ( class(overset_interface_t), intent(inout), target  this)
private

Definition at line 222 of file overset_interface.f90.

◆ overset_interface_init()

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

Definition at line 155 of file overset_interface.f90.

◆ overset_interface_init_from_components()

subroutine overset_interface::overset_interface_init_from_components ( class(overset_interface_t), intent(inout), target  this,
type(coef_t), intent(in coef,
character(len=*), intent(in field_name,
real(kind=rp), intent(in), optional  tol,
real(kind=rp), intent(in), optional  pad 
)
private
Parameters
[in]coefThe SEM coefficients.

Definition at line 172 of file overset_interface.f90.

Here is the call graph for this function:

◆ overset_interface_update()

subroutine overset_interface::overset_interface_update ( class(overset_interface_t), intent(inout this,
type(time_state_t), intent(in time 
)
private

Change the coordinates of the interface if set up by the user

Find points if needed - later make sure only in first substep

Definition at line 382 of file overset_interface.f90.

Here is the call graph for this function:

◆ setup_interpolator_()

subroutine overset_interface::setup_interpolator_ ( class(overset_interface_t), intent(inout this)
private

Definition at line 490 of file overset_interface.f90.