AMROC Main     Blockstructured Adaptive Mesh Refinement in object-oriented C++


Main Page   Class Hierarchy   Compound List   File List  

utils/pythnorm.f

c-----------------------------------------------------------------------
      subroutine pythnorm(lb, ub, shape, truncU, truncerr,
     .                    wgtu)
c-----------------------------------------------------------------------
        implicit none

        integer lb(2), ub(2), shape(2)

        real*8  truncU(shape(1), shape(2)),
     .          truncerr(shape(1), shape(2))

        real*8  wgtu

c       Local variables

        integer i, j

        do i = 1, shape(1)
          do j = 1, shape(2)
            truncerr(i,j) = sqrt( wgtu * truncU(i,j)**2 )
          end do
        end do

        return
       end
c-----------------------------------------------------------------------


Quickstart     Users Guide     Programmers Reference     Installation      Examples     Download



AMROC Main      Home      Contact
last update: 06/01/04