Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
|
Functions/Subroutines | |
pure real(kind=rp) function, dimension(3) | cross (a, b) |
Compute cross product of two vectors. | |
pure real(kind=rp) function | dot (a, b) |
Compute dot product of two vectors. | |
pure real(kind=rp) function | area (nv, vertices) |
Compute area of a polygon. | |
subroutine | get_facets (c, out, facet_type) |
Construct a list of facets. | |
subroutine | get_facets_outlet (c, out) |
Construct a list of facets. | |
pure real(kind=rp) function | sum_weighted (a, w) |
Compute the weighted sum of an array. | |
pure real(kind=rp) function | average_weighted (a, w) |
Compute the weighted average of an array. | |
subroutine | get_facet_nodes (c, element_id, facet_id, nodes) |
Construct a list of nodes for a facet. | |
subroutine | estimate_temperature (neko_case) |
Variables | |
integer, parameter, public | facet_type_interior = 0 |
integer, parameter, public | facet_type_outlet = 1 |
integer, parameter, public | facet_type_inlet = 2 |
integer, parameter, public | facet_type_wall = 3 |
integer, parameter, public | facet_type_sympln = 4 |
pure real(kind=rp) function develop::area | ( | integer, intent(in) | nv, |
real(kind=rp), dimension(3, nv), intent(in) | vertices | ||
) |
[in] | nv | Number of vertices. |
[in] | vertices | Vertices. |
Definition at line 57 of file develop.f90.
pure real(kind=rp) function develop::average_weighted | ( | real(kind=rp), dimension(:), intent(in) | a, |
real(kind=rp), dimension(:), intent(in), optional | w | ||
) |
[in] | a | Array. |
[in] | w | Weights, optional. |
This function computes the weighted average of an array. The weights must be the same size as the array.
Definition at line 172 of file develop.f90.
pure real(kind=rp) function, dimension(3) develop::cross | ( | real(kind=rp), dimension(3), intent(in) | a, |
real(kind=rp), dimension(3), intent(in) | b | ||
) |
[in] | a | First vector |
[in] | b | Second vector |
Definition at line 27 of file develop.f90.
pure real(kind=rp) function develop::dot | ( | real(kind=rp), dimension(3), intent(in) | a, |
real(kind=rp), dimension(3), intent(in) | b | ||
) |
[in] | a | First vector. |
[in] | b | Second vector. |
Definition at line 42 of file develop.f90.
subroutine develop::estimate_temperature | ( | type(case_t), intent(inout) | neko_case | ) |
Definition at line 233 of file develop.f90.
subroutine develop::get_facet_nodes | ( | type(case_t), intent(in) | c, |
integer, intent(in) | element_id, | ||
integer, intent(in) | facet_id, | ||
real(kind=rp), dimension(:, :), intent(out), allocatable | nodes | ||
) |
[in] | C | Case data structure. |
[in] | element_id | Element ID. |
[in] | facet_id | Facet ID. |
[out] | nodes | Node list. |
Definition at line 190 of file develop.f90.
subroutine develop::get_facets | ( | type(case_t), intent(in) | c, |
integer, dimension(:, :), intent(out), allocatable | out, | ||
integer, intent(in), optional | facet_type | ||
) |
[in] | C | Case data structure. |
[out] | out | List of facets, size (2, N_facets), first row is element. ID, second row is facet ID. |
[in] | facet_type | Type of facet, optional, (0 = interior, 1 = outlet [default]). |
Definition at line 89 of file develop.f90.
subroutine develop::get_facets_outlet | ( | type(case_t), intent(in) | c, |
integer, dimension(:, :), intent(out), allocatable | out | ||
) |
[in] | C | Case data structure. |
[out] | out | List of outlet facets, size (2, N_facets), first row is element ID, second row is facet ID. |
Definition at line 139 of file develop.f90.
pure real(kind=rp) function develop::sum_weighted | ( | real(kind=rp), dimension(:), intent(in) | a, |
real(kind=rp), dimension(:), intent(in), optional | w | ||
) |
[in] | a | Array. |
[in] | w | Weights, optional. |
This function computes the weighted sum of an array. The weights must be the same size as the array. If no weights are supplied, the unweighted sum is computed.
Definition at line 153 of file develop.f90.
Definition at line 17 of file develop.f90.
Definition at line 15 of file develop.f90.
Definition at line 16 of file develop.f90.
Definition at line 19 of file develop.f90.
Definition at line 18 of file develop.f90.