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

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

Functions/Subroutines

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

Detailed Description

Implements the device kernel for the boussinesq_source_term_t type.

Function/Subroutine Documentation

◆ boussinesq_source_term_compute_device()

subroutine, public boussinesq_source_term_device::boussinesq_source_term_compute_device ( 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 device.

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_device.f90.

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