Neko  0.8.99
A portable framework for high-order spectral element flow simulations
scalar_source_term Module Reference

Implements the scalar_source_term_t type.

Data Types

type  scalar_source_term_t
 Wrapper contaning and executing the scalar source terms. More...
 

Functions/Subroutines

subroutine scalar_source_term_init (this, f, coef, user)
 Constructor. More...
 
subroutine scalar_init_user_source (source_term, rhs_fields, coef, type, user)
 Initialize the user source term. More...
 

Function/Subroutine Documentation

◆ scalar_init_user_source()

subroutine scalar_source_term::scalar_init_user_source ( class(source_term_t), intent(inout), allocatable  source_term,
type(field_list_t rhs_fields,
type(coef_t), intent(inout)  coef,
character(len=*)  type,
type(user_t), intent(in)  user 
)
private
Parameters
source_termThe allocatable source term to be initialized to a user.
rhs_fieldsThe field list with the right-hand-side.
coefThe SEM coefs.
typeThe type of the user source term, "user_vector" or "user_poinwise".
userThe user type containing the user source term routines.

Definition at line 85 of file scalar_source_term.f90.

◆ scalar_source_term_init()

subroutine scalar_source_term::scalar_source_term_init ( class(scalar_source_term_t), intent(inout)  this,
type(field_t), intent(in), pointer  f,
type(coef_t), intent(inout), target  coef,
type(user_t), intent(in), target  user 
)

Definition at line 63 of file scalar_source_term.f90.