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

Implements the source_term_handler_t type.

Data Types

type  source_term_handler_t
 Abstract class for handling source terms. More...
 
interface  source_term_handler_init_user_source
 

Functions/Subroutines

subroutine source_term_handler_init_base (this, rhs_fields, coef, user)
 Constructor. More...
 
subroutine source_term_handler_free (this)
 Destructor. More...
 
subroutine source_term_handler_compute (this, t, tstep)
 Add all the source term to the passed right-hand side fields. More...
 
subroutine source_term_handler_add_json_source_terms (this, json, name)
 Read from the json file and initialize the source terms. More...
 
subroutine source_term_handler_add_source_term (this, source_term)
 Add new source term to the list. More...
 

Function/Subroutine Documentation

◆ source_term_handler_add_json_source_terms()

subroutine source_term_handler::source_term_handler_add_json_source_terms ( class(source_term_handler_t), intent(inout)  this,
type(json_file), intent(inout)  json,
character(len=*), intent(in)  name 
)
private

Definition at line 163 of file source_term_handler.f90.

◆ source_term_handler_add_source_term()

subroutine source_term_handler::source_term_handler_add_source_term ( class(source_term_handler_t), intent(inout)  this,
class(source_term_t), intent(in)  source_term 
)
private
Parameters
source_termThe source term to be added.

Definition at line 221 of file source_term_handler.f90.

◆ source_term_handler_compute()

subroutine source_term_handler::source_term_handler_compute ( class(source_term_handler_t), intent(inout)  this,
real(kind=rp), intent(in)  t,
integer, intent(in)  tstep 
)
private
Parameters
tThe time value.
tstepThe current time step.

Definition at line 141 of file source_term_handler.f90.

Here is the call graph for this function:

◆ source_term_handler_free()

subroutine source_term_handler::source_term_handler_free ( class(source_term_handler_t), intent(inout)  this)
private

Definition at line 123 of file source_term_handler.f90.

◆ source_term_handler_init_base()

subroutine source_term_handler::source_term_handler_init_base ( class(source_term_handler_t), intent(inout)  this,
type(field_list_t), intent(in)  rhs_fields,
type(coef_t), intent(inout), target  coef,
type(user_t), intent(in), target  user 
)
private

Definition at line 106 of file source_term_handler.f90.