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

Implements the fluid_source_term_t type.

Data Types

type  fluid_source_term_t
 Wrapper contaning and executing the fluid source terms. More...
 

Functions/Subroutines

subroutine fluid_source_term_init (this, f_x, f_y, f_z, coef, user, scheme_name)
 Constructor.
 
subroutine fluid_init_user_source (source_term, rhs_fields, coef, user, scheme_name)
 Initialize the user source term.
 

Function/Subroutine Documentation

◆ fluid_init_user_source()

subroutine fluid_source_term::fluid_init_user_source ( class(source_term_t), intent(inout), allocatable  source_term,
type(field_list_t rhs_fields,
type(coef_t), intent(in coef,
type(user_t), intent(in user,
character(len=*), intent(in scheme_name 
)
private
Parameters
source_termThe allocatable source term to be initialized to a user.
rhs_fieldsThe field list with the 3 right-hand-side components.
coefThe SEM coefs.
userThe user type containing the user source term routines.
scheme_nameThe name of the fluid scheme that owns this source term.

Definition at line 88 of file fluid_source_term.f90.

◆ fluid_source_term_init()

subroutine fluid_source_term::fluid_source_term_init ( class(fluid_source_term_t), intent(inout this,
type(field_t), intent(in), pointer  f_x,
type(field_t), intent(in), pointer  f_y,
type(field_t), intent(in), pointer  f_z,
type(coef_t), intent(in), target  coef,
type(user_t), intent(in), target  user,
character(len=*), intent(in scheme_name 
)

Definition at line 63 of file fluid_source_term.f90.