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
bc.f90 File Reference

Go to the source code of this file.

Data Types

type  bc::bc_t
 Base type for a boundary condition. More...
 
type  bc::bc_ptr_t
 Pointer to a `bc_t`. More...
 
type  bc::bc_alloc_t
 
interface  bc::bc_constructor
 Constructor. More...
 
interface  bc::bc_destructor
 Destructor. More...
 
interface  bc::bc_finalize
 Finalize by building the mask and facet arrays. More...
 
interface  bc::bc_apply_scalar
 Apply the boundary condition to a scalar field. More...
 
interface  bc::bc_apply_vector
 Apply the boundary condition to a vector field. More...
 
interface  bc::bc_apply_scalar_dev
 Apply the boundary condition to a scalar field on the device. More...
 
interface  bc::bc_apply_vector_dev
 Apply the boundary condition to a vector field on the device. More...
 

Modules

module  bc
 Defines a boundary condition.
 

Functions/Subroutines

subroutine bc::bc_init_base (this, coef)
 Constructor.
 
subroutine bc::bc_free_base (this)
 Destructor for the base type, bc_t.
 
subroutine bc::bc_apply_vector_generic (this, x, y, z, n, t, tstep)
 Apply the boundary condition to a vector field. Dispatches to the CPU or the device version.
 
subroutine bc::bc_apply_scalar_generic (this, x, n, t, tstep)
 Apply the boundary condition to a scalar field. Dispatches to the CPU or the device version.
 
subroutine bc::bc_mark_facet (this, facet, el)
 Mark facet on element el as part of the boundary condition.
 
subroutine bc::bc_mark_facets (this, facet_list)
 Mark all facets from a (facet, el) tuple list.
 
subroutine bc::bc_mark_zone (this, bc_zone)
 Mark all facets from a zone.
 
subroutine bc::bc_finalize_base (this, only_facets)
 Finalize the construction of the bc by populting the msk and facet arrays.
 
subroutine bc::bc_debug_mask (this, file_name)
 Write a field showing the mask of the bc.