4 use json_module,
only : json_file
27 character(len=*),
intent(in) :: scheme_name
28 type(
coef_t),
intent(in) :: coef
29 integer,
intent(in) :: msk(:), facet(:)
30 type(json_file),
intent(inout) :: json
32 call this%partial_init(coef, scheme_name, json)
33 call this%finalize(msk, facet)
38 type(
coef_t),
intent(in) :: coef
39 character(len=*),
intent(in) :: scheme_name
40 type(json_file),
intent(inout) :: json
42 call this%partial_init_base(coef, scheme_name, json)
48 integer,
intent(in) :: msk(:), facet(:)
49 character(len=*),
optional,
intent(in) :: bc_name
50 type(
user_t),
target,
optional,
intent(in) :: user
52 if (
present(bc_name) .and.
present(
user))
then
53 call this%finalize_base(msk, facet, bc_name,
user)
54 else if (
present(bc_name))
then
55 call this%finalize_base(msk, facet, bc_name)
57 call this%finalize_base(msk, facet)
70 real(kind=
rp),
intent(in) :: t
71 integer,
intent(in) :: tstep
73 call this%compute_mag_field()
79 call register_wall_model(
'wall_model_template', allocator)
Wall model factory. Both constructs and initializes the object.
integer, parameter, public rp
Global precision used in computations.
Interfaces for user interaction with NEKO.
Template for a user-defined wall model.
subroutine wall_model_template_finalize(this, msk, facet, bc_name, user)
subroutine wall_model_template_compute(this, t, tstep)
subroutine wall_model_template_free(this)
subroutine wall_model_template_allocate(obj)
subroutine, public wall_model_template_register_types()
subroutine wall_model_template_init(this, scheme_name, coef, msk, facet, json)
subroutine wall_model_template_partial_init(this, coef, scheme_name, json)
Coefficients defined on a given (mesh, ) tuple. Arrays use indices (i,j,k,e): element e,...
A type collecting all the overridable user routines and flag to suppress type injection from custom m...
Base abstract type for wall-stress models for wall-modelled LES.