42 use json_module,
only : json_file
57 type(json_file),
intent(inout) :: params
67 character(len=*),
intent(in) :: scheme_name
87 type(
mesh_t),
intent(inout) :: msh
118 character(len=*),
intent(in) :: scheme_name
134 character(len=*),
intent(in) :: scheme_name
147 logical :: suppress_type_injection = .false.
156 initial_conditions => null()
173 dirichlet_conditions => null()
176 material_properties => null()
196 class(
user_t),
intent(inout) :: this
197 logical :: user_extended = .false.
198 character(len=256),
dimension(14) :: extensions
202 if (.not.
associated(this%startup))
then
205 user_extended = .true.
207 write(extensions(n),
'(A)')
'- Startup'
210 if (.not.
associated(this%initial_conditions))
then
213 user_extended = .true.
215 write(extensions(n),
'(A)')
'- Initial condition'
218 if (.not.
associated(this%source_term))
then
221 user_extended = .true.
223 write(extensions(n),
'(A)')
'- Source term'
226 if (.not.
associated(this%dirichlet_conditions))
then
229 user_extended = .true.
231 write(extensions(n),
'(A)')
'- Dirichlet boundary condition'
234 if (.not.
associated(this%mesh_setup))
then
237 user_extended = .true.
239 write(extensions(n),
'(A)')
'- Mesh setup'
242 if (.not.
associated(this%compute))
then
245 user_extended = .true.
247 write(extensions(n),
'(A)')
'- User compute'
250 if (.not.
associated(this%preprocess))
then
253 user_extended = .true.
255 write(extensions(n),
'(A)')
'- User preprocess'
258 if (.not.
associated(this%initialize))
then
261 user_extended = .true.
263 write(extensions(n),
'(A)')
'- Initialize modules'
266 if (.not.
associated(this%finalize))
then
269 user_extended = .true.
271 write(extensions(n),
'(A)')
'- Finalize modules'
274 if (.not.
associated(this%material_properties))
then
277 user_extended = .true.
279 write(extensions(n),
'(A)')
'- Material properties'
282 if (user_extended)
then
283 call neko_log%section(
'User defined extensions')
286 call neko_log%message(extensions(i))
302 type(json_file),
intent(inout) :: params
307 character(len=*),
intent(in) :: scheme_name
310 call neko_error(
'Dummy user defined initial condition set')
315 character(len=*),
intent(in) :: scheme_name
318 call neko_error(
'Dummy user defined source term set')
323 type(
mesh_t),
intent(inout) :: msh
347 character(len=*),
intent(in) :: scheme_name
Abstract interface defining a dirichlet condition on a list of fields.
Retrieves a parameter by name or assigns a provided default value. In the latter case also adds the m...
Retrieves a parameter by name or throws an error.
Abstract interface for user defined check functions.
Abstract interface for finalizating user variables.
Abstract interface for user defined initial conditions.
Abstract interface for initilialization of modules.
Abstract interface for setting material properties.
Abstract interface for user defined mesh deformation functions.
Abstract interface for user defined source term.
Abstract interface for a user start-up routine.
Defines a boundary condition.
Defines user dirichlet condition for a scalar field.
Utilities for retrieving parameters from the case files.
type(log_t), public neko_log
Global log stream.
integer, parameter, public rp
Global precision used in computations.
Implements the source_term_t type and a wrapper source_term_wrapper_t.
Module with things related to the simulation time.
Interfaces for user interaction with NEKO.
subroutine dummy_user_finalize(time)
subroutine dummy_user_source_term(scheme_name, rhs, time)
Dummy user source_term.
subroutine user_intf_init(this)
Constructor.
subroutine dummy_initialize(time)
subroutine, public dummy_user_material_properties(scheme_name, properties, time)
subroutine dummy_startup(params)
Dummy user startup.
subroutine dirichlet_do_nothing(fields, bc, time)
subroutine dummy_user_mesh_setup(msh, time)
Dummy user mesh apply.
subroutine dummy_user_initial_conditions(scheme_name, fields)
Dummy user initial condition.
subroutine dummy_user_compute(time)
Dummy user compute.
subroutine, public neko_warning(warning_msg)
Reports a warning to standard output.
Base type for a boundary condition.
A list of allocatable `bc_t`. Follows the standard interface of lists.
Coefficients defined on a given (mesh, ) tuple. Arrays use indices (i,j,k,e): element e,...
User defined dirichlet condition, for which the user can work with an entire field....
field_list_t, To be able to group fields together
A struct that contains all info about the time, expand as needed.
A type collecting all the overridable user routines and flag to suppress type injection from custom m...