Neko  0.8.1
A portable framework for high-order spectral element flow simulations
boussinesq_source_term_cpu Module Reference

Implements the cpu kernel for the boussinesq_source_term_t type. More...

Functions/Subroutines

subroutine, public boussinesq_source_term_compute_cpu (fields, s, ref_value, g, beta)
 Computes the Boussinesq source term on the cpu. More...
 

Detailed Description

Implements the cpu kernel for the boussinesq_source_term_t type.

Function/Subroutine Documentation

◆ boussinesq_source_term_compute_cpu()

subroutine, public boussinesq_source_term_cpu::boussinesq_source_term_compute_cpu ( type(field_list_t), intent(inout)  fields,
type(field_t), intent(inout)  s,
real(kind=rp), intent(in)  ref_value,
real(kind=rp), dimension(3), intent(in)  g,
real(kind=rp), intent(in)  beta 
)

Computes the Boussinesq source term on the cpu.

Parameters
fieldsThe right-hand side.
sThe scalar field
ref_valueThe reference value of the scalar field.
gThe gravity vector.
betaThe thermal expansion coefficient.

Definition at line 52 of file boussinesq_source_term_cpu.f90.

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