Neko 1.99.10
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
vector_bc_projector::segregated_vector_bc_projector_t Type Referenceabstract

A projector for vector fields that acts component-wise. More...

Inheritance diagram for vector_bc_projector::segregated_vector_bc_projector_t:
Collaboration diagram for vector_bc_projector::segregated_vector_bc_projector_t:

Public Member Functions

procedure, pass(this) init (this, coef)
 Constructor, no-op.
procedure, pass(this) free (this)
 Destructor.
procedure, pass(this) finalize (this, rebuild_mask)
 No-op finalize routine.
procedure, pass(this) mark_bc (this, bc)
 Mark a boundary condition.
procedure, pass(this) mark_bc_component (this, bc, component)
 Mark a boundary condition on one Cartesian component.
procedure, pass(this) mark_bc_list (this, bclst)
 Mark a list of boundary conditions.
procedure, pass(this) mark_bc_list_component (this, bclst, component)
 Mark a list of boundary conditions on one Cartesian component.
procedure, pass(this) apply (this, x, y, z, n, strm)
 Zero-out constrained dofs using the underlying component projectors.
procedure(vector_bc_projector_init_intrf), deferred, pass init (this, coef)
 Constructor.
procedure(vector_bc_projector_free_intrf), deferred, pass free (this)
 Destructor.
procedure(vector_bc_projector_finalize_intrf), deferred, pass finalize (this, rebuild_mask)
 Finalize the vector boundary-condition projector.
procedure(vector_bc_projector_apply_intrf), deferred, pass apply (this, x, y, z, n, strm)
 Apply homogeneous resolved vector boundary constraints.
procedure(vector_bc_projector_mark_bc_intrf), deferred, pass mark_bc (this, bc)
 Mark a boundary condition in the vector boundary-condition projector.
procedure, pass(this) mark_bc_component (this, bc, component)
 Mark a boundary condition on one Cartesian component.
procedure(vector_bc_projector_mark_bc_list_intrf), deferred, pass mark_bc_list (this, bclst)
 Mark a list of boundary conditions in the projector.
procedure, pass(this) mark_bc_list_component (this, bclst, component)
 Mark a list of boundary conditions on one Cartesian component.
generic mark (this, bc)
 Mark a boundary condition in the vector boundary-condition projector.
generic mark (this, bc, component)
 Mark a boundary condition on one Cartesian component.
generic mark (this, bclst)
 Mark a list of boundary conditions in the projector.
generic mark (this, bclst, component)
 Mark a list of boundary conditions on one Cartesian component.

Public Attributes

type(scalar_bc_projector_t) x
 Projector for the x-component.
type(scalar_bc_projector_t) y
 Projector for the y-component.
type(scalar_bc_projector_t) z
 Projector for the z-component.

Detailed Description

Stores one scalar_bc_projector_t per global component and applies vector boundary conditions independently to x, y and z. This is suitable only for fully component-wise constraints. Like the underlying scalar projectors, this does not perform any real global resolution, we just feed it the Dirichlet dofs component-wise. Therefore, finalize is no-op.

Definition at line 105 of file vector_bc_projector.f90.

Member Function/Subroutine Documentation

◆ apply() [1/2]

procedure, pass(this) vector_bc_projector::segregated_vector_bc_projector_t::apply ( class(segregated_vector_bc_projector_t), intent(in) 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(c_ptr), intent(inout), optional strm )
Parameters
[in,out]xx-component field values.
[in,out]yy-component field values.
[in,out]zz-component field values.
[in]nNumber of entries in each component array.
[in,out]strmOptional backend stream/queue used on device backends.

Definition at line 131 of file vector_bc_projector.f90.

◆ apply() [2/2]

procedure(vector_bc_projector_apply_intrf), deferred, pass vector_bc_projector::vector_bc_projector_t::apply ( class(vector_bc_projector_t), intent(in) 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(c_ptr), intent(inout), optional strm )
pure virtualinherited

Definition at line 82 of file vector_bc_projector.f90.

◆ finalize() [1/2]

procedure, pass(this) vector_bc_projector::segregated_vector_bc_projector_t::finalize ( class(segregated_vector_bc_projector_t), intent(inout) this,
logical, intent(in) rebuild_mask )

Definition at line 118 of file vector_bc_projector.f90.

◆ finalize() [2/2]

procedure(vector_bc_projector_finalize_intrf), deferred, pass vector_bc_projector::vector_bc_projector_t::finalize ( class(vector_bc_projector_t), intent(inout) this,
logical, intent(in) rebuild_mask )
pure virtualinherited

Definition at line 79 of file vector_bc_projector.f90.

◆ free() [1/2]

procedure, pass(this) vector_bc_projector::segregated_vector_bc_projector_t::free ( class(segregated_vector_bc_projector_t), intent(inout) this)

Definition at line 116 of file vector_bc_projector.f90.

◆ free() [2/2]

procedure(vector_bc_projector_free_intrf), deferred, pass vector_bc_projector::vector_bc_projector_t::free ( class(vector_bc_projector_t), intent(inout) this)
pure virtualinherited

Definition at line 77 of file vector_bc_projector.f90.

◆ init() [1/2]

procedure, pass(this) vector_bc_projector::segregated_vector_bc_projector_t::init ( class(segregated_vector_bc_projector_t), intent(inout) this,
type(coef_t), intent(in), target coef )
Parameters
[in]coefSEM coefficients defining the dof layout.

Definition at line 114 of file vector_bc_projector.f90.

◆ init() [2/2]

procedure(vector_bc_projector_init_intrf), deferred, pass vector_bc_projector::vector_bc_projector_t::init ( class(vector_bc_projector_t), intent(inout) this,
type(coef_t), intent(in), target coef )
pure virtualinherited

Definition at line 75 of file vector_bc_projector.f90.

◆ mark() [1/4]

generic vector_bc_projector::vector_bc_projector_t::mark ( class(vector_bc_projector_t), intent(inout) this,
class(bc_t), intent(inout), target bc )
inherited

Definition at line 95 of file vector_bc_projector.f90.

◆ mark() [2/4]

generic vector_bc_projector::vector_bc_projector_t::mark ( class(vector_bc_projector_t), intent(inout) this,
class(bc_t), intent(inout), target bc,
character(len=1), intent(in) component )
inherited

Definition at line 95 of file vector_bc_projector.f90.

◆ mark() [3/4]

generic vector_bc_projector::vector_bc_projector_t::mark ( class(vector_bc_projector_t), intent(inout) this,
type(bc_list_t), intent(in) bclst )
inherited

Definition at line 95 of file vector_bc_projector.f90.

◆ mark() [4/4]

generic vector_bc_projector::vector_bc_projector_t::mark ( class(vector_bc_projector_t), intent(inout) this,
type(bc_list_t), intent(in) bclst,
character(len=1), intent(in) component )
inherited

Definition at line 95 of file vector_bc_projector.f90.

◆ mark_bc() [1/2]

procedure, pass(this) vector_bc_projector::segregated_vector_bc_projector_t::mark_bc ( class(segregated_vector_bc_projector_t), intent(inout) this,
class(bc_t), intent(inout), target bc )

Fully constrained vector boundary conditions are applied to all three component projectors.

Parameters
[in,out]bcBoundary condition to register.

Definition at line 120 of file vector_bc_projector.f90.

◆ mark_bc() [2/2]

procedure(vector_bc_projector_mark_bc_intrf), deferred, pass vector_bc_projector::vector_bc_projector_t::mark_bc ( class(vector_bc_projector_t), intent(inout) this,
class(bc_t), intent(inout), target bc )
pure virtualinherited

Definition at line 84 of file vector_bc_projector.f90.

◆ mark_bc_component() [1/2]

procedure, pass(this) vector_bc_projector::segregated_vector_bc_projector_t::mark_bc_component ( class(segregated_vector_bc_projector_t), intent(inout) this,
class(bc_t), intent(inout), target bc,
character(len=1), intent(in) component )
Parameters
[in,out]bcBoundary condition to register.
[in]componentComponent selector.

Definition at line 122 of file vector_bc_projector.f90.

◆ mark_bc_component() [2/2]

procedure, pass(this) vector_bc_projector::vector_bc_projector_t::mark_bc_component ( class(vector_bc_projector_t), intent(inout) this,
class(bc_t), intent(inout), target bc,
character(len=1), intent(in) component )
inherited

Definition at line 87 of file vector_bc_projector.f90.

◆ mark_bc_list() [1/2]

procedure, pass(this) vector_bc_projector::segregated_vector_bc_projector_t::mark_bc_list ( class(segregated_vector_bc_projector_t), intent(inout) this,
type(bc_list_t), intent(in) bclst )
Parameters
[in]bclstBoundary-condition list to register.

Definition at line 125 of file vector_bc_projector.f90.

◆ mark_bc_list() [2/2]

procedure(vector_bc_projector_mark_bc_list_intrf), deferred, pass vector_bc_projector::vector_bc_projector_t::mark_bc_list ( class(vector_bc_projector_t), intent(inout) this,
type(bc_list_t), intent(in) bclst )
pure virtualinherited

Definition at line 90 of file vector_bc_projector.f90.

◆ mark_bc_list_component() [1/2]

procedure, pass(this) vector_bc_projector::segregated_vector_bc_projector_t::mark_bc_list_component ( class(segregated_vector_bc_projector_t), intent(inout) this,
type(bc_list_t), intent(in) bclst,
character(len=1), intent(in) component )
Parameters
[in]bclstBoundary-condition list to register.
[in]componentComponent selector.

Definition at line 128 of file vector_bc_projector.f90.

◆ mark_bc_list_component() [2/2]

procedure, pass(this) vector_bc_projector::vector_bc_projector_t::mark_bc_list_component ( class(vector_bc_projector_t), intent(inout) this,
type(bc_list_t), intent(in) bclst,
character(len=1), intent(in) component )
inherited

Definition at line 93 of file vector_bc_projector.f90.

Member Data Documentation

◆ x

type(scalar_bc_projector_t) vector_bc_projector::segregated_vector_bc_projector_t::x

Definition at line 107 of file vector_bc_projector.f90.

◆ y

type(scalar_bc_projector_t) vector_bc_projector::segregated_vector_bc_projector_t::y

Definition at line 109 of file vector_bc_projector.f90.

◆ z

type(scalar_bc_projector_t) vector_bc_projector::segregated_vector_bc_projector_t::z

Definition at line 111 of file vector_bc_projector.f90.


The documentation for this type was generated from the following file: