example4_model Module

Model for example4.


Uses

  • module~~example4_model~~UsesGraph module~example4_model example4_model iso_c_binding iso_c_binding module~example4_model->iso_c_binding module~odrpack_kinds odrpack_kinds module~example4_model->module~odrpack_kinds iso_fortran_env iso_fortran_env module~odrpack_kinds->iso_fortran_env

Used by

  • module~~example4_model~~UsedByGraph module~example4_model example4_model program~example4 example4 program~example4->module~example4_model

Subroutines

public pure subroutine fcn(n, m, q, np, ldifx, beta, xplusd, ifixb, ifixx, ideval, f, fjacb, fjacd, istop, data)

User-supplied subroutine for evaluating the model.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: n
integer, intent(in) :: m
integer, intent(in) :: q
integer, intent(in) :: np
integer, intent(in) :: ldifx
real(kind=dp), intent(in) :: beta(np)
real(kind=dp), intent(in) :: xplusd(n,m)
integer, intent(in) :: ifixb(np)
integer, intent(in) :: ifixx(ldifx,m)
integer, intent(in) :: ideval
real(kind=dp), intent(out) :: f(n,q)
real(kind=dp), intent(out) :: fjacb(n,np,q)
real(kind=dp), intent(out) :: fjacd(n,m,q)
integer, intent(out) :: istop
type(c_ptr), intent(in), value :: data

public pure subroutine mpf(u, c, kwee, k25, k25p, print_every, tout, root)

If root is not zero, then it returns value of time when u=root in tout. Else, runs until tout and returns the value in u. If print_every is non-zero then the solution is printed every print_every time units or every h (which ever is greater).

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(out) :: u
real(kind=dp), intent(in) :: c
real(kind=dp), intent(in) :: kwee
real(kind=dp), intent(in) :: k25
real(kind=dp), intent(in) :: k25p
real(kind=dp), intent(in) :: print_every
real(kind=dp), intent(inout) :: tout
real(kind=dp), intent(in) :: root