CPU backend for RAMP mapping operations.
|
| subroutine, public | convex_down_ramp_mapping_apply_cpu (f_min, f_max, q, x_out, x_in, n) |
| | Apply convex-down RAMP forward mapping on CPU.
|
| |
| subroutine, public | convex_down_ramp_mapping_apply_backward_cpu (f_min, f_max, q, sens_out, sens_in, x_in, n) |
| | Apply convex-down RAMP chain rule on CPU.
|
| |
| subroutine, public | convex_up_ramp_mapping_apply_cpu (f_min, f_max, q, x_out, x_in, n) |
| | Apply convex-up RAMP forward mapping on CPU.
|
| |
| subroutine, public | convex_up_ramp_mapping_apply_backward_cpu (f_min, f_max, q, sens_out, sens_in, x_in, n) |
| | Apply convex-up RAMP chain rule on CPU.
|
| |
◆ convex_down_ramp_mapping_apply_backward_cpu()
| subroutine, public ramp_mapping_cpu::convex_down_ramp_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_min | Minimum mapped value. |
| [in] | f_max | Maximum mapped value. |
| [in] | q | RAMP penalty parameter. |
| [out] | sens_out | Sensitivity with respect to the unmapped field. |
| [in] | sens_in | Sensitivity with respect to the mapped field. |
| [in] | X_in | Unmapped field values. |
| [in] | n | Number of degrees of freedom. |
Definition at line 73 of file RAMP_mapping_cpu.f90.
◆ convex_down_ramp_mapping_apply_cpu()
| subroutine, public ramp_mapping_cpu::convex_down_ramp_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_min | Minimum mapped value. |
| [in] | f_max | Maximum mapped value. |
| [in] | q | RAMP penalty parameter. |
| [out] | X_out | Mapped field values. |
| [in] | X_in | Unmapped field values. |
| [in] | n | Number of degrees of freedom. |
Definition at line 55 of file RAMP_mapping_cpu.f90.
◆ convex_up_ramp_mapping_apply_backward_cpu()
| subroutine, public ramp_mapping_cpu::convex_up_ramp_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_min | Minimum mapped value. |
| [in] | f_max | Maximum mapped value. |
| [in] | q | RAMP penalty parameter. |
| [out] | sens_out | Sensitivity with respect to the unmapped field. |
| [in] | sens_in | Sensitivity with respect to the mapped field. |
| [in] | X_in | Unmapped field values. |
| [in] | n | Number of degrees of freedom. |
Definition at line 111 of file RAMP_mapping_cpu.f90.
◆ convex_up_ramp_mapping_apply_cpu()
| subroutine, public ramp_mapping_cpu::convex_up_ramp_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_min | Minimum mapped value. |
| [in] | f_max | Maximum mapped value. |
| [in] | q | RAMP penalty parameter. |
| [out] | X_out | Mapped field values. |
| [in] | X_in | Unmapped field values. |
| [in] | n | Number of degrees of freedom. |
Definition at line 93 of file RAMP_mapping_cpu.f90.