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

CPU backend for smooth Heaviside mapping operations.

Functions/Subroutines

subroutine, public heaviside_mapping_apply_cpu (beta, eta, x_out, x_in, n)
 Apply smooth Heaviside mapping on CPU.
 
subroutine, public heaviside_mapping_apply_backward_cpu (beta, eta, sens_out, sens_in, x_in, n)
 Apply smooth Heaviside mapping chain rule on CPU.
 

Function/Subroutine Documentation

◆ heaviside_mapping_apply_backward_cpu()

subroutine, public heaviside_mapping_cpu::heaviside_mapping_apply_backward_cpu ( real(kind=rp), intent(in beta,
real(kind=rp), intent(in eta,
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]betaProjection sharpness parameter.
[in]etaProjection threshold parameter.
[out]sens_outSensitivity with respect to unprojected field.
[in]sens_inSensitivity with respect to projected field.
[in]X_inUnprojected field values.
[in]nNumber of degrees of freedom.

Definition at line 73 of file heaviside_mapping_cpu.f90.

Here is the caller graph for this function:

◆ heaviside_mapping_apply_cpu()

subroutine, public heaviside_mapping_cpu::heaviside_mapping_apply_cpu ( real(kind=rp), intent(in beta,
real(kind=rp), intent(in eta,
real(kind=rp), dimension(n), intent(out x_out,
real(kind=rp), dimension(n), intent(in x_in,
integer, intent(in n 
)
Parameters
[in]betaProjection sharpness parameter.
[in]etaProjection threshold parameter.
[out]X_outMapped field values.
[in]X_inUnmapped field values.
[in]nNumber of degrees of freedom.

Definition at line 52 of file heaviside_mapping_cpu.f90.

Here is the caller graph for this function: