Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
scalar_residual_cpu::scalar_residual_cpu_t Type Reference

Wrapper type for the routine to compute the scalar residual on the CPU. More...

Inheritance diagram for scalar_residual_cpu::scalar_residual_cpu_t:
Collaboration diagram for scalar_residual_cpu::scalar_residual_cpu_t:

Static Public Member Functions

procedure, nopass compute (ax, s, s_res, f_xh, c_xh, msh, xh, lambda, rhocp, bd, dt, n)
 Compute the residual.
 

Detailed Description

Definition at line 20 of file scalar_residual_cpu.f90.

Member Function/Subroutine Documentation

◆ compute()

procedure, nopass scalar_residual_cpu::scalar_residual_cpu_t::compute ( class(ax_t), intent(in ax,
type(field_t), intent(inout s,
type(field_t), intent(inout s_res,
type(field_t), intent(in f_xh,
type(coef_t), intent(inout c_xh,
type(mesh_t), intent(inout msh,
type(space_t), intent(inout xh,
type(field_t), intent(in lambda,
real(kind=rp), intent(in rhocp,
real(kind=rp), intent(in bd,
real(kind=rp), intent(in dt,
integer, intent(in n 
)
staticvirtual
Parameters
AxThe Helmholtz operator.
sThe values of the scalar.
s_resThe values of the scalar residual.
f_xHThe right hand side.
c_xHThe SEM coefficients.
mshThe mesh.
XhThe SEM function space.
lambdaThe thermal conductivity.
rhocpThe density multiplied by the specific heat capacity.
bdThe coefficeints from the BDF differencing scheme.
dtThe timestep.
nThe total number of degrees of freedom.

Implements scalar_residual::scalar_residual_t.

Definition at line 23 of file scalar_residual_cpu.f90.


The documentation for this type was generated from the following file: