Changeset 131 for codes/icosagcm/trunk/src/metric.f90
- Timestamp:
- 02/08/13 12:09:35 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/trunk/src/metric.f90
r21 r131 124 124 CALL dist_cart(vertex_glo(3,1,1)%xyz,vertex_glo(4,1,1)%xyz,d3) 125 125 CALL div_arc(vertex_glo(1,1,1)%xyz,vertex_glo(3,1,1)%xyz,0.5,p1) 126 ! CALL div_arc(vertex_glo(2,1,1)%xyz,vertex_glo(1,3,1)%xyz,1./3,p1) 127 ! CALL div_arc(vertex_glo(1,2,1)%xyz,vertex_glo(3,1,1)%xyz,1./3,p2) 128 ! CALL div_arc(vertex_glo(2,2,1)%xyz,vertex_glo(1,1,1)%xyz,1./3,p3) 129 ! PRINT *, "dist",d1 130 ! PRINT *, "dist",d2 131 ! PRINT *, "dist",d3 132 ! PRINT *,"dist",vertex_glo(2,1,1)%xyz 133 ! PRINT *,"dist",p1/sqrt(sum(p1**2)) 126 134 127 CALL circumcenter(vertex_glo(1,1,1)%xyz,vertex_glo(2,1,1)%xyz,vertex_glo(1,2,1)%xyz,p1) 135 128 ! CALL Centroide(vertex_glo(1,2,1)%xyz,vertex_glo(2,1,1)%xyz,vertex_glo(1,1,1)%xyz,p1) … … 138 131 CALL dist_cart(vertex_glo(2,1,1)%xyz,p1,d2) 139 132 CALL dist_cart(vertex_glo(1,2,1)%xyz,p1,d3) 140 ! PRINT *, "dist",d1141 ! PRINT *, "dist",d2142 ! PRINT *, "dist",d3143 133 144 134 END SUBROUTINE compute_face … … 337 327 338 328 ind=vertex_glo(i,j,nf)%ind 339 IF (ind==0) THEN340 PRINT *,"ind=0",i,j,nf341 ENDIF342 329 delta=MOD(vertex_glo(i,j,nf)%delta+neighbour+6,6) 343 330 ind2=cell_glo(ind)%neighbour(delta) … … 758 745 cell_glo(ind)%neighbour(3)=cell_glo(ind)%neighbour(2) 759 746 760 761 ind=vertex_glo(1,jjm_glo,1)%ind762 DO i=0,5763 ind2=cell_glo(ind)%neighbour(i)764 IF (ind2>0) PRINT *,"neighbour",i,cell_glo(ind2)%assign_face,cell_glo(ind2)%assign_i,cell_glo(ind2)%assign_j765 ENDDO766 767 747 768 748 !! assignation des delta
Note: See TracChangeset
for help on using the changeset viewer.