Neko 1.99.1
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
scalars Module Reference

Contains the scalars_t type that manages multiple scalar fields.

Data Types

type  scalars_t
 Type to manage multiple scalar transport equations. More...
 

Functions/Subroutines

subroutine scalars_init (this, n_scalars, msh, coef, gs, params, numerics_params, user, chkp, ulag, vlag, wlag, time_scheme, rho)
 Initialize the scalars container.
 
subroutine scalars_init_single (this, msh, coef, gs, params, numerics_params, user, chkp, ulag, vlag, wlag, time_scheme, rho)
 
subroutine scalars_step (this, time, ext_bdf, dt_controller)
 Perform a time step for all scalar fields.
 
subroutine scalars_restart (this, chkp)
 Restart from checkpoint data.
 
subroutine scalars_validate (this)
 Check if the configuration is valid.
 
subroutine scalars_free (this)
 Clean up all resources.
 
subroutine register_lags_with_checkpoint (this, chkp)
 Register scalar lag fields with checkpoint.
 
subroutine associate_scalar_abx_fields (chkp, index, scalar_field)
 Helper subroutine to associate ABX field pointers with proper TARGET attribute.
 

Function/Subroutine Documentation

◆ associate_scalar_abx_fields()

subroutine scalars::associate_scalar_abx_fields ( type(chkp_t), intent(inout chkp,
integer, intent(in index,
type(scalar_pnpn_t), intent(in), target  scalar_field 
)
private

Definition at line 282 of file scalars.f90.

Here is the caller graph for this function:

◆ register_lags_with_checkpoint()

subroutine scalars::register_lags_with_checkpoint ( class(scalars_t), intent(inout this,
type(chkp_t), intent(inout chkp 
)
private

Definition at line 257 of file scalars.f90.

Here is the call graph for this function:

◆ scalars_free()

subroutine scalars::scalars_free ( class(scalars_t), intent(inout this)
private

Definition at line 243 of file scalars.f90.

◆ scalars_init()

subroutine scalars::scalars_init ( class(scalars_t), intent(inout this,
integer, intent(in n_scalars,
type(mesh_t), intent(in), target  msh,
type(coef_t), intent(in), target  coef,
type(gs_t), intent(inout), target  gs,
type(json_file), intent(inout), target  params,
type(json_file), intent(inout), target  numerics_params,
type(user_t), intent(in), target  user,
type(chkp_t), intent(inout), target  chkp,
type(field_series_t), intent(in), target  ulag,
type(field_series_t), intent(in), target  vlag,
type(field_series_t), intent(in), target  wlag,
type(time_scheme_controller_t), intent(in), target  time_scheme,
type(field_t), intent(in), target  rho 
)

Definition at line 88 of file scalars.f90.

Here is the caller graph for this function:

◆ scalars_init_single()

subroutine scalars::scalars_init_single ( class(scalars_t), intent(inout this,
type(mesh_t), intent(in), target  msh,
type(coef_t), intent(in), target  coef,
type(gs_t), intent(inout), target  gs,
type(json_file), intent(inout), target  params,
type(json_file), intent(inout), target  numerics_params,
type(user_t), intent(in), target  user,
type(chkp_t), intent(inout), target  chkp,
type(field_series_t), intent(in), target  ulag,
type(field_series_t), intent(in), target  vlag,
type(field_series_t), intent(in), target  wlag,
type(time_scheme_controller_t), intent(in), target  time_scheme,
type(field_t), intent(in), target  rho 
)
private

Definition at line 171 of file scalars.f90.

Here is the caller graph for this function:

◆ scalars_restart()

subroutine scalars::scalars_restart ( class(scalars_t), intent(inout this,
type(chkp_t), intent(inout chkp 
)
private

Definition at line 220 of file scalars.f90.

◆ scalars_step()

subroutine scalars::scalars_step ( class(scalars_t), intent(inout this,
type(time_state_t), intent(in time,
type(time_scheme_controller_t), intent(inout ext_bdf,
type(time_step_controller_t), intent(inout dt_controller 
)
private

Definition at line 202 of file scalars.f90.

Here is the call graph for this function:

◆ scalars_validate()

subroutine scalars::scalars_validate ( class(scalars_t), intent(inout this)
private

Definition at line 232 of file scalars.f90.