0.6.2-dev0
FORCES
FORtran lib for Comp. Env. Sys.
Loading...
Searching...
No Matches
mo_cost Module Reference

Added for testing purposes of test_mo_anneal. More...

Functions/Subroutines

real(sp) function, public cost_sp (paraset)
 function: f(x) = ax^3 + bx^2 + cx + d
 
real(dp) function, public cost_dp (paraset)
 function: f(x) = ax^3 + bx^2 + cx + d
 
real(sp) function, public cost_valid_sp (paraset, status_in)
 function: f(x) = ax^3 + bx^2 + cx + d
 
real(dp) function, public cost_valid_dp (paraset, status_in)
 function: f(x) = ax^3 + bx^2 + cx + d
 
subroutine, public range_dp (paraset, ipar, rangepar)
 dummy range
 
subroutine, public range_sp (paraset, ipar, rangepar)
 dummy range
 
real(dp) function, public cost_objective (parameterset, eval, arg1, arg2, arg3)
 dummy cost objective function
 

Detailed Description

Added for testing purposes of test_mo_anneal.

Function/Subroutine Documentation

◆ cost_dp()

real(dp) function, public mo_cost::cost_dp ( real(dp), dimension(:), intent(in)  paraset)

function: f(x) = ax^3 + bx^2 + cx + d

Definition at line 49 of file mo_cost.f90.

References cost_dp().

Referenced by cost_dp().

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

◆ cost_objective()

real(dp) function, public mo_cost::cost_objective ( real(dp), dimension(:), intent(in)  parameterset,
procedure(eval_interface), intent(in), pointer  eval,
real(dp), intent(in), optional  arg1,
real(dp), intent(out), optional  arg2,
real(dp), intent(out), optional  arg3 
)

dummy cost objective function

Definition at line 224 of file mo_cost.f90.

References cost_objective(), and mo_kind::dp.

Referenced by cost_objective().

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

◆ cost_sp()

real(sp) function, public mo_cost::cost_sp ( real(sp), dimension(:), intent(in)  paraset)

function: f(x) = ax^3 + bx^2 + cx + d

Definition at line 24 of file mo_cost.f90.

References cost_sp().

Referenced by cost_sp().

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

◆ cost_valid_dp()

real(dp) function, public mo_cost::cost_valid_dp ( real(dp), dimension(:), intent(in)  paraset,
logical, intent(out), optional  status_in 
)

function: f(x) = ax^3 + bx^2 + cx + d

Definition at line 105 of file mo_cost.f90.

References cost_valid_dp().

Referenced by cost_valid_dp().

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

◆ cost_valid_sp()

real(sp) function, public mo_cost::cost_valid_sp ( real(sp), dimension(:), intent(in)  paraset,
logical, intent(out), optional  status_in 
)

function: f(x) = ax^3 + bx^2 + cx + d

Definition at line 74 of file mo_cost.f90.

References cost_valid_sp().

Referenced by cost_valid_sp().

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

◆ range_dp()

subroutine, public mo_cost::range_dp ( real(dp), dimension(:), intent(in)  paraset,
integer(i4), intent(in)  ipar,
real(dp), dimension(2), intent(out)  rangepar 
)

dummy range

Definition at line 136 of file mo_cost.f90.

◆ range_sp()

subroutine, public mo_cost::range_sp ( real(sp), dimension(:), intent(in)  paraset,
integer(i4), intent(in)  ipar,
real(sp), dimension(2), intent(out)  rangepar 
)

dummy range

Definition at line 180 of file mo_cost.f90.