Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
|
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. | |
subroutine, public | vector_to_field (field, vector) |
Vector to field. | |
subroutine, public | field_to_vector (vector, field) |
Field to vector. | |
subroutine, public neko_ext::field_to_vector | ( | type(vector_t), intent(inout) | vector, |
type(field_t), intent(in) | field | ||
) |
This subroutine converts a field to a vector in the special case that they have the same dimension.
[out] | vector | the output vector. |
[in] | field | the input field. |
Definition at line 221 of file neko_ext.f90.
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.
[in,out] | neko_case | Case data structure. |
Definition at line 49 of file neko_ext.f90.
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.
[in,out] | neko_case | Case data structure. |
[in] | iter | Iteration number. |
Definition at line 166 of file neko_ext.f90.
subroutine, public neko_ext::vector_to_field | ( | type(field_t), intent(inout) | field, |
type(vector_t), intent(in) | vector | ||
) |
This subroutine converts a vector to a field in the special case that they have the same dimension.
[out] | field | the output field. |
[in] | vector | the input vector. |
Definition at line 197 of file neko_ext.f90.