65 type(
field_t),
pointer,
intent(in) :: f
66 type(
coef_t),
target,
intent(inout) :: coef
67 type(
user_t),
target,
intent(in) :: user
72 call rhs_fields%init(1)
73 call rhs_fields%assign(1, f)
75 call this%init_base(rhs_fields, coef, user)
86 class(
source_term_t),
allocatable,
intent(inout) :: source_term
88 type(
coef_t),
intent(inout) :: coef
89 character(len=*) :: type
90 type(
user_t),
intent(in) :: user
96 call source_term%init_from_components(rhs_fields, coef,
type, &
97 user%scalar_user_f_vector, &
Implements the scalar_source_term_t type.
subroutine scalar_init_user_source(source_term, rhs_fields, coef, type, user)
Initialize the user source term.
subroutine scalar_source_term_init(this, f, coef, user)
Constructor.
Implements the scalar_user_source_term_t type.
Implements the source_term_handler_t type.
Implements the source_term_t type and a wrapper source_term_wrapper_t.
Interfaces for user interaction with NEKO.
Coefficients defined on a given (mesh, ) tuple. Arrays use indices (i,j,k,e): element e,...
field_list_t, To be able to group fields together
Wrapper contaning and executing the scalar source terms.
A source-term for the scalar, with procedure pointers pointing to the actual implementation in the us...
Base abstract type for source terms.
Abstract class for handling source terms.