Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
Loading...
Searching...
No Matches
neko_top_source_terms.f90
1
34
36submodule(neko_top) neko_top_source_terms
37 use source_term, only: source_term_allocate, register_source_term
38
39 ! Our user-defined source terms
49
50contains
51
53 module subroutine register_source_terms()
54 procedure(source_term_allocate), pointer :: adjoint_brinkman_dissipation
55 procedure(source_term_allocate), pointer :: adjoint_viscous_dissipation
56 procedure(source_term_allocate), pointer :: adjoint_mixing_scalar
57 procedure(source_term_allocate), pointer :: adjoint_scalar_convection
58 procedure(source_term_allocate), pointer :: simple_brinkman
59
60 ! Assign the pointers
61 adjoint_brinkman_dissipation => &
63 adjoint_viscous_dissipation => &
65 adjoint_mixing_scalar => adjoint_mixing_scalar_source_term_allocate
66 adjoint_scalar_convection => adjoint_scalar_convection_source_term_allocate
68
69 ! Register the source terms
70 call register_source_term('adjoint_brinkman_dissipation', &
71 adjoint_brinkman_dissipation)
72 call register_source_term('adjoint_viscous_dissipation', &
73 adjoint_viscous_dissipation)
74 call register_source_term('adjoint_mixing_scalar', adjoint_mixing_scalar)
75 call register_source_term('adjoint_scalar_convection', &
76 adjoint_scalar_convection)
77 call register_source_term('simple_brinkman', simple_brinkman)
78 end subroutine register_source_terms
79
80end submodule neko_top_source_terms
Implements the adjoint_brinkman_dissipation_source_term_t type.
subroutine, public adjoint_brinkman_dissipation_source_term_allocate(obj)
Allocator for the adjoint Brinkman dissipation source term.
Implements the adjoint_mixing_scalar_source_term type.
subroutine, public adjoint_mixing_scalar_source_term_allocate(obj)
Allocator for the adjoint mixing scalar source term.
Implements the adjoint_scalar_convection_source_term type.
subroutine, public adjoint_scalar_convection_source_term_allocate(obj)
Allocator for the adjoint scalar convection source term.
Implements the adjoint_viscous_dissipation_source_term_t type.
subroutine, public adjoint_viscous_dissipation_source_term_allocate(obj)
Allocator for the adjoint viscous dissipation source term.
Neko-TOP module.
Definition neko_top.f90:41
Implements the simple_brinkman_source_term_t type.
subroutine, public simple_brinkman_source_term_allocate(obj)
Allocator for the simple brinkman source term.