Neko  0.9.0
A portable framework for high-order spectral element flow simulations
source_scalar Module Reference

Source terms for scalars.

Data Types

type  source_scalar_t
 Defines a source term for the scalar transport equation term \( f \). More...
 
interface  source_scalar_term
 Abstract interface defining how to compute a source_scalar term. More...
 
interface  source_scalar_term_pw
 Abstract interface defining how to compute a source_scalar term pointwise. More...
 

Functions/Subroutines

subroutine source_scalar_init (f, dm)
 Initialize a source_scalar term f. More...
 
subroutine source_scalar_free (f)
 Deallocate a source_scalar term f. More...
 
subroutine source_scalar_set_type (f, f_eval)
 Set the eval method for the source_scalar term f. More...
 
subroutine source_scalar_set_pw_type (f, f_eval_pw)
 Set the pointwise eval method for the source_scalar term f. More...
 
subroutine source_scalar_eval_noforce (f, t)
 Eval routine for zero forcing. More...
 
subroutine source_scalar_eval_pw (f, t)
 Driver for all pointwise source_scalar term evaluatons. More...
 

Function/Subroutine Documentation

◆ source_scalar_eval_noforce()

subroutine source_scalar::source_scalar_eval_noforce ( class(source_scalar_t), intent(inout)  f,
real(kind=rp), intent(in)  t 
)
Note
Maybe this should be cache, avoding zeroing at each time-step

Definition at line 133 of file source_scalar.f90.

Here is the call graph for this function:

◆ source_scalar_eval_pw()

subroutine source_scalar::source_scalar_eval_pw ( class(source_scalar_t), intent(inout)  f,
real(kind=rp), intent(in)  t 
)

Definition at line 144 of file source_scalar.f90.

Here is the caller graph for this function:

◆ source_scalar_free()

subroutine source_scalar::source_scalar_free ( type(source_scalar_t), intent(inout)  f)

Definition at line 98 of file source_scalar.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ source_scalar_init()

subroutine source_scalar::source_scalar_init ( type(source_scalar_t), intent(inout)  f,
type(dofmap_t), intent(inout), target  dm 
)

Definition at line 79 of file source_scalar.f90.

Here is the call graph for this function:

◆ source_scalar_set_pw_type()

subroutine source_scalar::source_scalar_set_pw_type ( type(source_scalar_t), intent(inout)  f,
procedure(source_scalar_term_pw f_eval_pw 
)

Definition at line 121 of file source_scalar.f90.

Here is the call graph for this function:

◆ source_scalar_set_type()

subroutine source_scalar::source_scalar_set_type ( type(source_scalar_t), intent(inout)  f,
procedure(source_scalar_term f_eval 
)

Definition at line 114 of file source_scalar.f90.