Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
Loading...
Searching...
No Matches
neko_ext Module Reference

Contains extensions to the neko library required to run the topology optimization code.

Functions/Subroutines

subroutine, public reset (neko_case)
 Reset the case data structure.
 
subroutine, public setup_iteration (neko_case, iter)
 Setup the iteration.
 

Function/Subroutine Documentation

◆ reset()

subroutine, public neko_ext::reset ( type(case_t), intent(inout neko_case)

This subroutine resets the case data structure. It is called at the beginning of each iteration. It is used to reset the time step counter, the lagged time step parameters, the external BDF coefficients, the fluid and scalar fields, and the simulation components.

Parameters
[in,out]CCase data structure.

Definition at line 41 of file neko_ext.f90.

Here is the caller graph for this function:

◆ setup_iteration()

subroutine, public neko_ext::setup_iteration ( type(case_t), intent(inout neko_case,
integer, intent(in iter 
)

This subroutine sets up the iteration. It is called at the beginning of each iteration. It is used to save the initial configuration and to set the output file name.

Parameters
[in,out]neko_caseCase data structure.
[in]iterIteration number.

Definition at line 153 of file neko_ext.f90.

Here is the call graph for this function:
Here is the caller graph for this function: