2D AMRCLAW
|
Go to the source code of this file.
Functions/Subroutines | |
recursive subroutine | prefilrecur (level, nvar, valbig, auxbig, naux, time, mitot, mjtot, nrowst, ncolst, ilo, ihi, jlo, jhi, iglo, ighi, jglo, jghi, patchOnly) |
For periodic boundary conditions more work needed to fill the piece of the boundary. More... | |
integer pure function | iadd (n, i, j) |
integer pure function | iaddscratch (n, i, j) |
subroutine | patchcopyout (nvar, valpatch, mi, mj, valbig, mitot, mjtot, i1, i2, j1, j2, iglo, jglo) |
subroutine | auxcopyin (auxPatch, mi, mj, auxbig, mitot, mjtot, naux, i1, i2, j1, j2, iglo, jglo) |
subroutine auxcopyin | ( | real(kind=8), dimension(naux,mi,mj), intent(inout) | auxPatch, |
integer | mi, | ||
integer | mj, | ||
real(kind=8), dimension(naux,mitot,mjtot), intent(inout) | auxbig, | ||
integer | mitot, | ||
integer | mjtot, | ||
integer | naux, | ||
integer | i1, | ||
integer | i2, | ||
integer | j1, | ||
integer | j2, | ||
integer | iglo, | ||
integer | jglo | ||
) |
Definition at line 250 of file prefilp.f90.
Referenced by prefilrecur().
integer pure function prefilrecur::iadd | ( | integer, intent(in) | n, |
integer, intent(in) | i, | ||
integer, intent(in) | j | ||
) |
Definition at line 201 of file prefilp.f90.
References iadd().
integer pure function prefilrecur::iaddscratch | ( | integer, intent(in) | n, |
integer, intent(in) | i, | ||
integer, intent(in) | j | ||
) |
Definition at line 207 of file prefilp.f90.
Referenced by iaddscratch(), and prefilrecur().
subroutine patchcopyout | ( | integer | nvar, |
real(kind=8), dimension(nvar,mi,mj), intent(inout) | valpatch, | ||
integer | mi, | ||
integer | mj, | ||
real(kind=8), dimension(nvar,mitot,mjtot), intent(inout) | valbig, | ||
integer | mitot, | ||
integer | mjtot, | ||
integer | i1, | ||
integer | i2, | ||
integer | j1, | ||
integer | j2, | ||
integer | iglo, | ||
integer | jglo | ||
) |
Definition at line 219 of file prefilp.f90.
Referenced by prefilrecur().
recursive subroutine prefilrecur | ( | integer, intent(in) | level, |
integer, intent(in) | nvar, | ||
real(kind=8), dimension(nvar,mitot,mjtot), intent(inout) | valbig, | ||
real(kind=8), dimension(naux,mitot,mjtot), intent(inout) | auxbig, | ||
integer, intent(in) | naux, | ||
real(kind=8), intent(in) | time, | ||
integer, intent(in) | mitot, | ||
integer, intent(in) | mjtot, | ||
integer | nrowst, | ||
integer | ncolst, | ||
integer, intent(in) | ilo, | ||
integer, intent(in) | ihi, | ||
integer, intent(in) | jlo, | ||
integer, intent(in) | jhi, | ||
integer, intent(in) | iglo, | ||
integer, intent(in) | ighi, | ||
integer, intent(in) | jglo, | ||
integer, intent(in) | jghi, | ||
logical | patchOnly | ||
) |
For periodic boundary conditions more work needed to fill the piece of the boundary.
This routine was called because the patch sticks out of the domain, and has periodic bc.s preprocess the patch before calling filpatch to shift the patch periodically back into the domain.
Inputs to this routine: xl, xr, yb, yt = the location in physical space of corners of a patch. fill_indices = the location in index space of this patch.
Outputs from this routine: The values around the border of the grid are inserted directly into the enlarged valbig array for this piece.
Definition at line 20 of file prefilp.f90.
References amr_module::alloc, auxcopyin(), filrecur(), amr_module::hxposs, amr_module::hyposs, iaddscratch(), amr_module::iregsz, amr_module::jregsz, amr_module::needs_to_be_set, amr_module::nghost, patchcopyout(), setaux(), amr_module::spheredom, amr_module::xlower, amr_module::xperdom, amr_module::ylower, and amr_module::yperdom.
Referenced by bound(), and filrecur().