1 subroutine
fcvjtimes (
v,fjv,tt,y,fy,h,ipar,rpar,work,ier)
3 c Compute Jacobian Vetor product FJV
4 c approximated by 1st-order fd quotient
6 real
v(*), fjv(*), tt, y(*), fy(*), h, rpar(1), work(*)
14 if (nio.eq.0.and.loglevel.gt.2)
19 ! compute weighted rms norm ||
v||
20 call fcvgeterrweights(work,ier)
24 sum = sum + dnorm*dnorm
26 sum = sqrt(
glsum(sum,1)/cv_nglobal)
30 ! set FJV = f(t, y + sigs*
v/||
v||)
32 work(i) = y(i) + sig*
v(i)
34 call
fcvfun(tt,work,fjv,ipar,rpar,ier)
38 fjv(i) = fjv(i)*siginv - fy(i)*siginv
subroutine fcvfun(time_, y, ydot, ipar, rpar, ier)
subroutine fcvjtimes(v, fjv, tt, y, fy, h, ipar, rpar, work, ier) c c Compute Jacobian Vetor product FJV c approximated by 1st-order fd quotient c real v(*)
The nomenclature of the interpolating fields saved by Nek into the binary file int_fld is here explained v