Model for example4.
User-supplied subroutine for evaluating the model.
| Type | Intent | Optional | 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 |
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).
| Type | Intent | Optional | 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 |