private subroutine dacopy(nrow, ncol, a, nrowa, b, nrowb)
this routine copies one rectangular array, a, to another, b,
where a and b may have different row dimensions, nrowa and nrowb.
the data copied consists of nrow rows and ncol columns.
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.
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.
Source Code
subroutine dacopy(nrow,ncol,a,nrowa,b,nrowb)integer,intent(in)::nrowinteger,intent(in)::ncolinteger,intent(in)::nrowainteger,intent(in)::nrowbreal(wp),intent(in)::a(nrowa,ncol)real(wp),intent(out)::b(nrowb,ncol)integer::icdo ic=1,ncolcall dcopy(nrow,a(1,ic),1,b(1,ic),1)enddo end subroutine dacopy