Nodes of different colours represent the following:
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
This routine computes one block of the rate term of the system , namely block
(jx, jy), for use in preconditioning.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Variables
Type
Visibility
Attributes
Name
Initial
integer,
public
::
i
real(kind=rk),
public
::
fac
real(kind=rk),
public
::
x
real(kind=rk),
public
::
y
Source Code
pure subroutine rates(t,jx,jy,c,rate)!! This routine computes one block of the rate term of the system \(v\), namely block!! `(jx, jy)`, for use in preconditioning.use web_par,only:alpha,beta,acoef,bcoef,dx,dy,pi,nsreal(rk),intent(in)::tinteger,intent(in)::jxinteger,intent(in)::jyreal(rk),intent(in)::c(*)real(rk),intent(inout)::rate(*)integer::ireal(rk)::fac,x,yy=(jy-1)*dyx=(jx-1)*dxfac=one+alpha*x*y+beta*sin(4*pi*x)*sin(4*pi*y)rate(1:ns)=zerodo i=1,nsrate(1:ns)=rate(1:ns)+c(i)*acoef(1:ns,i)end do do i=1,nsrate(i)=c(i)*(bcoef(i)*fac+rate(i))end do end subroutine rates