Neko 1.99.11
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_set_initial_conditions (this, params, user, is_restart)
 Set initial conditions for all scalar fields.
subroutine scalars_validate (this)
 Check if the configuration is valid.
subroutine scalars_free (this)
 Clean up all resources.

Function/Subroutine Documentation

◆ scalars_free()

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

Definition at line 290 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 86 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 158 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 218 of file scalars.f90.

◆ scalars_set_initial_conditions()

subroutine scalars::scalars_set_initial_conditions ( class(scalars_t), intent(inout) this,
type(json_file), intent(inout) params,
type(user_t), intent(in) user,
logical, intent(in) is_restart )
private
Parameters
paramsThe scalar parameters passed to init, i.e. either the case.scalars array or the single case.scalar object.
userType with user-defined procedures.
is_restartWhether the case is restarting from a checkpoint.

Definition at line 234 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 186 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 278 of file scalars.f90.