8 use json_module,
only : json_file
12 register_scalar_scheme
34 numerics_params, user, chkp, ulag, vlag, wlag, time_scheme, rho)
36 type(
mesh_t),
target,
intent(in) :: msh
37 type(
coef_t),
target,
intent(in) :: coef
38 type(
gs_t),
target,
intent(inout) :: gs
39 type(json_file),
target,
intent(inout) :: params, numerics_params
40 type(
user_t),
target,
intent(in) :: user
41 type(
chkp_t),
target,
intent(inout) :: chkp
44 type(
field_t),
target,
intent(in) :: rho
48 call this%scheme_init(msh, coef, gs, params,
'scalar_scheme_template', &
57 call this%scheme_free()
69 call neko_error(
'scalar_scheme_template: step is not implemented')
74 type(
chkp_t),
intent(inout) :: chkp
81 call register_scalar_scheme(
'scalar_scheme_template', allocator)
Scalar scheme factory. Both constructs and initializes the object.
Contains the field_serties_t type.
Implements the base abstract type for Krylov solvers plus helper types.
Template for a user-defined scalar scheme.
subroutine scalar_scheme_template_step(this, time, ext_bdf, dt_controller, ksp_results)
subroutine, public scalar_scheme_template_register_types()
subroutine scalar_scheme_template_free(this)
subroutine scalar_scheme_template_restart(this, chkp)
subroutine scalar_scheme_template_allocate(obj)
subroutine scalar_scheme_template_init(this, msh, coef, gs, params, numerics_params, user, chkp, ulag, vlag, wlag, time_scheme, rho)
Contains the scalar_scheme_t type.
Compound scheme for the advection and diffusion operators in a transport equation.
Module with things related to the simulation time.
Implements type time_step_controller.
Interfaces for user interaction with NEKO.
Coefficients defined on a given (mesh, ) tuple. Arrays use indices (i,j,k,e): element e,...
Stores a series (sequence) of fields, logically connected to a base field, and arranged according to ...
Type for storing initial and final residuals in a Krylov solver.
Base type for a scalar advection-diffusion solver.
Implements the logic to compute the time coefficients for the advection and diffusion operators in a ...
A struct that contains all info about the time, expand as needed.
Provides a tool to set time step dt.
A type collecting all the overridable user routines and flag to suppress type injection from custom m...