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

Implements scalar_projector_t.

Data Types

type  scalar_bc_projector_t
 Projector for scalar boundary conditions. More...
 

Functions/Subroutines

subroutine scalar_bc_projector_free (this)
 Destructor.
 
subroutine scalar_bc_projector_mark_bc (this, bc)
 Add the constrained dofs from a scalar boundary condition.
 
subroutine scalar_bc_projector_mark_bc_list (this, bclst)
 Add the constrained dofs from all boundary conditions in a list.
 
subroutine scalar_bc_projector_apply (this, x, n, strm)
 Apply the scalar boundary constraints by zeroing constrained dofs.
 
subroutine scalar_bc_projector_debug_output (this, field_name)
 Write a field showing the resolved scalar BC mask.
 

Function/Subroutine Documentation

◆ scalar_bc_projector_apply()

subroutine scalar_bc_projector::scalar_bc_projector_apply ( class(scalar_bc_projector_t), intent(in this,
real(kind=rp), dimension(n), intent(inout x,
integer, intent(in n,
type(c_ptr), intent(inout), optional  strm 
)
private
Parameters
[in,out]xScalar field values.
[in]nNumber of entries in x.
[in,out]strmOptional backend stream/queue used on device backends.

Definition at line 168 of file scalar_bc_projector.f90.

Here is the call graph for this function:

◆ scalar_bc_projector_debug_output()

subroutine scalar_bc_projector::scalar_bc_projector_debug_output ( class(scalar_bc_projector_t), intent(inout this,
character(len=*), intent(in), optional  field_name 
)
private
Parameters
[in]field_nameOptional base name for the output file. The .fld is appended automatically.

Definition at line 189 of file scalar_bc_projector.f90.

Here is the call graph for this function:

◆ scalar_bc_projector_free()

subroutine scalar_bc_projector::scalar_bc_projector_free ( class(scalar_bc_projector_t), intent(inout this)

Definition at line 78 of file scalar_bc_projector.f90.

◆ scalar_bc_projector_mark_bc()

subroutine scalar_bc_projector::scalar_bc_projector_mark_bc ( class(scalar_bc_projector_t), intent(inout this,
class(bc_t), intent(in bc 
)
private

Appends the bc mask to thisdof_masks, sorts, and takes the unique set.

Parameters
[in]bcFinalized scalar boundary condition contributing dofs to the projector mask.

Definition at line 89 of file scalar_bc_projector.f90.

◆ scalar_bc_projector_mark_bc_list()

subroutine scalar_bc_projector::scalar_bc_projector_mark_bc_list ( class(scalar_bc_projector_t), intent(inout this,
type(bc_list_t), intent(in bclst 
)
private
Parameters
[in]bclstList of scalar boundary conditions to merge into the projector mask.

Definition at line 154 of file scalar_bc_projector.f90.