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

CPU backend for Borrvall & Petersson mapping operations.

Functions/Subroutines

subroutine, public borrvall_petersson_mapping_apply_cpu (f_min, f_max, q, x_out, x_in, n)
 Apply Borrvall & Petersson forward mapping on CPU.
 
subroutine, public borrvall_petersson_mapping_apply_backward_cpu (f_min, f_max, q, sens_out, sens_in, x_in, n)
 Apply Borrvall & Petersson chain rule on CPU.
 

Function/Subroutine Documentation

◆ borrvall_petersson_mapping_apply_backward_cpu()

subroutine, public borrvall_petersson_mapping_cpu::borrvall_petersson_mapping_apply_backward_cpu ( real(kind=rp), intent(in f_min,
real(kind=rp), intent(in f_max,
real(kind=rp), intent(in q,
real(kind=rp), dimension(n), intent(out sens_out,
real(kind=rp), dimension(n), intent(in sens_in,
real(kind=rp), dimension(n), intent(in x_in,
integer, intent(in n 
)
Parameters
[in]f_minMinimum mapped value.
[in]f_maxMaximum mapped value.
[in]qpenalty parameter.
[out]sens_outSensitivity with respect to the unmapped field.
[in]sens_inSensitivity with respect to the mapped field.
[in]X_inUnmapped field values.
[in]nNumber of degrees of freedom.

Definition at line 72 of file Borrvall_Petersson_mapping_cpu.f90.

Here is the caller graph for this function:

◆ borrvall_petersson_mapping_apply_cpu()

subroutine, public borrvall_petersson_mapping_cpu::borrvall_petersson_mapping_apply_cpu ( real(kind=rp), intent(in f_min,
real(kind=rp), intent(in f_max,
real(kind=rp), intent(in q,
real(kind=rp), dimension(n), intent(out x_out,
real(kind=rp), dimension(n), intent(in x_in,
integer, intent(in n 
)
Parameters
[in]f_minMinimum mapped value.
[in]f_maxMaximum mapped value.
[in]qpenalty parameter.
[out]X_outMapped field values.
[in]X_inUnmapped field values.
[in]nNumber of degrees of freedom.

Definition at line 53 of file Borrvall_Petersson_mapping_cpu.f90.

Here is the caller graph for this function: