Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
Loading...
Searching...
No Matches
driver.f90
Go to the documentation of this file.
1program usrneko
2 use neko, only: neko_init, neko_solve, neko_finalize
3 use case, only: case_t
4 use user, only: user_setup
7
8 type(case_t) :: c
9 type(adjoint_case_t) :: adj
10
11 call user_setup(c%usr)
12 call neko_init(c)
13
14 call adjoint_init(adj, c)
15
16 call neko_solve(c)
17 call solve_adjoint(adj)
18
19 call adjoint_free(adj)
20 call neko_finalize(c)
21end program usrneko
program usrneko
Definition driver.f90:1
subroutine, public adjoint_free(this)
Adjoint simulation driver.
subroutine, public solve_adjoint(this)
User defined user region.
Definition user.f90:2
subroutine user_setup(user)
Register user defined functions (see nekos user_intf.f90)
Definition user.f90:22
Adjoint case type. Todo: This should Ideally be a subclass of case_t, however, that is not yet suppoe...