Neko 1.99.2
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
neko_api_user.f90 File Reference

Go to the source code of this file.

Data Types

interface  neko_api_user::api_ic_callback
 Abstract interface for initial condition callbacks. More...
 
interface  neko_api_user::api_bc_callback
 Abstract interface for boundary condition callbacks. More...
 
interface  neko_api_user::api_ft_callback
 Abstract interface for callbacks requiring a field list and time Used for material properties and source terms. More...
 
interface  neko_api_user::api_gn_callback
 Abstract interface for generic callbacks requiring only time Used for preprocess and compute callbacks. More...
 
type  neko_api_user::api_user_cb
 Type defining all supported callbacks via the API. More...
 
interface  neko_api_user::neko_api_user_cb_get_field
 

Modules

module  neko_api_user
 Neko API user callbacks.
 

Functions/Subroutines

subroutine, public neko_api_user::neko_api_user_cb_register (user, initial_cb, preprocess_cb, compute_cb, dirichlet_cb, material_cb, source_cb)
 Register callbacks.
 
subroutine neko_api_user::neko_api_user_initial_condition (scheme_name, fields)
 API user initial condition callback caller.
 
subroutine neko_api_user::neko_api_user_preprocess (time)
 API user preprocessing callback caller.
 
subroutine neko_api_user::neko_api_user_compute (time)
 API user compute callback caller.
 
subroutine neko_api_user::neko_api_user_dirichlet_condition (fields, bc, time)
 API user dirichlet condition callback caller.
 
type(c_ptr) function neko_api_user_bc_msk_ptr (bc)
 Helper function to extract a pointer to the mask.
 
subroutine neko_api_user::neko_api_user_material_properties (scheme_name, properties, time)
 API user material properties callback caller.
 
subroutine neko_api_user::neko_api_user_source_term (scheme_name, rhs, time)
 API user source term callback caller.
 
subroutine neko_api_user::neko_api_set_cb_field_list (fields)
 Set the callbacks active field list.
 
type(field_t) function, pointer neko_api_user::neko_api_user_cb_get_field_by_name (field_name)
 Retrive a pointer to a field for the currently active callback.
 
type(field_t) function, pointer neko_api_user::neko_api_user_cb_get_field_by_index (field_idx)
 Retrive a pointer to a field for the currently active callback.
 

Variables

type(api_user_cb), allocatable neko_api_user::neko_api_user_cb
 Registered callbacks in the API.
 
type(field_list_t), pointer neko_api_user::neko_api_cb_field_list => null()
 Pointer to an active field_list_t in a callback.
 

Function/Subroutine Documentation

◆ neko_api_user_bc_msk_ptr()

type(c_ptr) function neko_api_user_dirichlet_condition::neko_api_user_bc_msk_ptr ( type(field_dirichlet_t), intent(in), target  bc)
private

Definition at line 259 of file neko_api_user.f90.

Here is the caller graph for this function: