!-------------------------------------- LICENCE BEGIN ------------------------------------ !Environment Canada - Atmospheric Science and Technology License/Disclaimer, ! version 3; Last Modified: May 7, 2008. !This is free but copyrighted software; you can use/redistribute/modify it under the terms !of the Environment Canada - Atmospheric Science and Technology License/Disclaimer !version 3 or (at your option) any later version that should be found at: !http://collaboration.cmc.ec.gc.ca/science/rpn.comm/license.html ! !This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; !without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. !See the above mentioned License/Disclaimer for more details. !You should have received a copy of the License/Disclaimer along with this software; !if not, you can write to: EC-RPN COMM Group, 2121 TransCanada, suite 500, Dorval (Quebec), !CANADA, H9P 1J3; or send e-mail to service.rpn@ec.gc.ca !-------------------------------------- LICENCE END -------------------------------------- ! ! ! X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X !subroutine symmetrize_coef 1 ! !**s/r symmetrize_coef - Extend symmetrically Metric coefficients. ! !Author : Luc Fillion - MSC/CAN - 23 Apr 05. !Revision: ! ! ------------------- ! !Arguments ! IMPLICIT NONE #include "taglam4d.cdk"
#include "comdim.cdk"
#include "comcst.cdk"
#include "comct0.cdk"
#include "comgemla.cdk"
#include "comgrd_param.cdk"
! integer kni,knj,knk integer ji,jj,jk ! !! rdmu(0)=rdmu(nj) rdmu(-1)=rdmu(nj-1) rdmu(-2)=rdmu(nj-2) rdmu(-3)=rdmu(nj-3) rdmu(-4)=rdmu(nj-4) ! rdmu(nj+1)=rdmu(1) rdmu(nj+2)=rdmu(2) rdmu(nj+3)=rdmu(3) rdmu(nj+4)=rdmu(4) ! !!!! rdmuh(0)=rdmuh(nj) rdmuh(-1)=rdmuh(nj-1) rdmuh(-2)=rdmuh(nj-2) rdmuh(-3)=rdmuh(nj-3) rdmuh(-4)=rdmuh(nj-4) ! rdmuh(nj+1)=rdmuh(1) rdmuh(nj+2)=rdmuh(2) rdmuh(nj+3)=rdmuh(3) rdmuh(nj+4)=rdmuh(4) ! !!!! r1mmu2(0)=r1mmu2(nj) r1mmu2(-1)=r1mmu2(nj-1) r1mmu2(-2)=r1mmu2(nj-2) r1mmu2(-3)=r1mmu2(nj-3) r1mmu2(-4)=r1mmu2(nj-4) ! r1mmu2(nj+1)=r1mmu2(1) r1mmu2(nj+2)=r1mmu2(2) r1mmu2(nj+3)=r1mmu2(3) r1mmu2(nj+4)=r1mmu2(4) !!!! r1mmu2h(0)=r1mmu2h(nj) r1mmu2h(-1)=r1mmu2h(nj-1) r1mmu2h(-2)=r1mmu2h(nj-2) r1mmu2h(-3)=r1mmu2h(nj-3) r1mmu2h(-4)=r1mmu2h(nj-4) ! r1mmu2h(nj+1)=r1mmu2h(1) r1mmu2h(nj+2)=r1mmu2h(2) r1mmu2h(nj+3)=r1mmu2h(3) r1mmu2h(nj+4)=r1mmu2h(4) ! return end