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

A RAMP mapping of coefficients.

Data Types

type  ramp_mapping_t
 A RAMP mapping of coefficients This is the standard RAMP described in https://doi.org/10.1007/s001580100129. More...
 

Functions/Subroutines

subroutine ramp_mapping_init_from_json (this, json, coef)
 Constructor from json.
 
subroutine ramp_mapping_init_from_attributes (this, coef)
 Actual constructor.
 
subroutine ramp_mapping_free (this)
 Destructor.
 
subroutine ramp_mapping_apply (this, x_out, x_in)
 Apply the mapping.
 
subroutine ramp_mapping_apply_backward (this, df_dx_in, df_dx_out, x_in)
 Apply the chain rule.
 
subroutine convex_down_ramp_mapping_apply (f_min, f_max, q, x_out, x_in)
 Apply the mapping.
 
subroutine convex_down_ramp_mapping_apply_backward (f_min, f_max, q, df_dx_in, df_dx_out, x_in)
 Apply the chain rule.
 
subroutine convex_up_ramp_mapping_apply (f_min, f_max, q, x_out, x_in)
 Apply the mapping.
 
subroutine convex_up_ramp_mapping_apply_backward (f_min, f_max, q, df_dx_in, df_dx_out, x_in)
 Apply the chain rule.
 

Function/Subroutine Documentation

◆ convex_down_ramp_mapping_apply()

subroutine ramp_mapping::convex_down_ramp_mapping_apply ( real(kind=rp), intent(in f_min,
real(kind=rp), intent(in f_max,
real(kind=rp), intent(in q,
type(field_t), intent(inout x_out,
type(field_t), intent(in x_in 
)
private
Parameters
X_outmapped field
X_inunmapped field

Definition at line 181 of file RAMP_mapping.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ convex_down_ramp_mapping_apply_backward()

subroutine ramp_mapping::convex_down_ramp_mapping_apply_backward ( real(kind=rp), intent(in f_min,
real(kind=rp), intent(in f_max,
real(kind=rp), intent(in q,
type(field_t), intent(inout df_dx_in,
type(field_t), intent(in df_dx_out,
type(field_t), intent(in x_in 
)
private
Parameters
X_inunmapped field
dF_dX_inis the sensitivity with respect to the unfiltered design
dF_dX_outis the sensitivity with respect to the filtered design

Definition at line 207 of file RAMP_mapping.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ convex_up_ramp_mapping_apply()

subroutine ramp_mapping::convex_up_ramp_mapping_apply ( real(kind=rp), intent(in f_min,
real(kind=rp), intent(in f_max,
real(kind=rp), intent(in q,
type(field_t), intent(inout x_out,
type(field_t), intent(in x_in 
)
private
Parameters
X_outmapped field
X_inunmapped field

Definition at line 237 of file RAMP_mapping.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ convex_up_ramp_mapping_apply_backward()

subroutine ramp_mapping::convex_up_ramp_mapping_apply_backward ( real(kind=rp), intent(in f_min,
real(kind=rp), intent(in f_max,
real(kind=rp), intent(in q,
type(field_t), intent(inout df_dx_in,
type(field_t), intent(in df_dx_out,
type(field_t), intent(in x_in 
)
private
Parameters
X_inunmapped field
dF_dX_inis the sensitivity with respect to the unfiltered design
dF_dX_outis the sensitivity with respect to the filtered design

Definition at line 265 of file RAMP_mapping.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ramp_mapping_apply()

subroutine ramp_mapping::ramp_mapping_apply ( class(ramp_mapping_t), intent(inout this,
type(field_t), intent(inout x_out,
type(field_t), intent(in x_in 
)
private
Parameters
X_outmapped field
X_inunmapped field

Definition at line 142 of file RAMP_mapping.f90.

Here is the call graph for this function:

◆ ramp_mapping_apply_backward()

subroutine ramp_mapping::ramp_mapping_apply_backward ( class(ramp_mapping_t), intent(inout this,
type(field_t), intent(inout df_dx_in,
type(field_t), intent(in df_dx_out,
type(field_t), intent(in x_in 
)
private
Parameters
X_inunmapped field
dF_dX_inis the sensitivity with respect to the unfiltered design
dF_dX_outis the sensitivity with respect to the filtered design

Definition at line 162 of file RAMP_mapping.f90.

Here is the call graph for this function:

◆ ramp_mapping_free()

subroutine ramp_mapping::ramp_mapping_free ( class(ramp_mapping_t), intent(inout this)
private

Definition at line 132 of file RAMP_mapping.f90.

◆ ramp_mapping_init_from_attributes()

subroutine ramp_mapping::ramp_mapping_init_from_attributes ( class(ramp_mapping_t), intent(inout this,
type(coef_t), intent(inout coef 
)
private

Definition at line 123 of file RAMP_mapping.f90.

Here is the caller graph for this function:

◆ ramp_mapping_init_from_json()

subroutine ramp_mapping::ramp_mapping_init_from_json ( class(ramp_mapping_t), intent(inout this,
type(json_file), intent(inout json,
type(coef_t), intent(inout coef 
)

Definition at line 106 of file RAMP_mapping.f90.

Here is the call graph for this function: