Quantify de distance between desired moments and calculated moments
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pikaia_class), | intent(inout) | :: | me | |||
real(kind=R8), | intent(in), | dimension(:) | :: | x | ||
real(kind=R8), | intent(out) | :: | f |
subroutine cost_func_skku(me, x, f) !! Quantify de distance between desired moments and calculated moments implicit none class(pikaia_class), intent(inout) :: me real(kind=R8) , intent(in ), dimension(:) :: x real(kind=R8) , intent( out) :: f f = fitness_skku_anal(n = PARAM%nparam, x = x(1:PARAM%nparam) ) return endsubroutine cost_func_skku