2D AMRCLAW
Functions/Subroutines
copysol.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine copysol (valbig, val, nvar, mitot, mjtot, nghost, midub, mjdub, ngbig)
 

Function/Subroutine Documentation

◆ copysol()

subroutine copysol ( dimension(nvar,midub,mjdub)  valbig,
dimension(nvar,mitot,mjtot)  val,
  nvar,
  mitot,
  mjtot,
  nghost,
  midub,
  mjdub,
  ngbig 
)

Definition at line 6 of file copysol.f.

Referenced by prepbigstep().

6 c
7  implicit double precision (a-h,o-z)
8 
9  dimension valbig(nvar,midub,mjdub), val(nvar,mitot,mjtot)
10 c
11 c copy solution into grid with different number ghsot cells
12 c
13  do 10 j = nghost+1, mjtot-nghost
14  do 10 i = nghost+1, mitot-nghost
15  do 10 ivar = 1, nvar
16  valbig(ivar,i-nghost+ngbig,j-nghost+ngbig) = val(ivar,i,j)
17  10 continue
18 c
19  return
integer nghost
Definition: amr_module.f90:232
Here is the caller graph for this function: