Skip to content
Snippets Groups Projects
Commit 5bc1aa73 authored by ESCOBAR Juan's avatar ESCOBAR Juan
Browse files

Juan 9/04/2013 : change type of XRT for mirror on GPU

parent c1827af9
No related branches found
No related tags found
No related merge requests found
...@@ -134,7 +134,8 @@ IF ( KCALL==3 ) THEN ...@@ -134,7 +134,8 @@ IF ( KCALL==3 ) THEN
IF (ASSOCIATED(XPABST)) DEALLOCATE(XPABST) IF (ASSOCIATED(XPABST)) DEALLOCATE(XPABST)
! !
DEALLOCATE(XRM) DEALLOCATE(XRM)
IF (ASSOCIATED(XRT)) DEALLOCATE(XRT) !!$ IF (ASSOCIATED(XRT)) DEALLOCATE(XRT)
IF (ALLOCATED(XRT)) DEALLOCATE(XRT)
END IF END IF
! !
IF ( KCALL==1 ) THEN IF ( KCALL==1 ) THEN
......
...@@ -112,7 +112,9 @@ REAL, DIMENSION(:,:,:), POINTER :: XRTKES=>NULL() ...@@ -112,7 +112,9 @@ REAL, DIMENSION(:,:,:), POINTER :: XRTKES=>NULL()
REAL, DIMENSION(:,:,:), POINTER :: XPABSM=>NULL() REAL, DIMENSION(:,:,:), POINTER :: XPABSM=>NULL()
REAL, DIMENSION(:,:,:), POINTER :: XPABST=>NULL() REAL, DIMENSION(:,:,:), POINTER :: XPABST=>NULL()
REAL, DIMENSION(:,:,:,:), POINTER :: XRM=>NULL() REAL, DIMENSION(:,:,:,:), POINTER :: XRM=>NULL()
REAL, DIMENSION(:,:,:,:), POINTER :: XRT=>NULL() !!$REAL, DIMENSION(:,:,:,:), POINTER :: XRT=>NULL()
REAL, DIMENSION(:,:,:,:), ALLOCATABLE :: XRT
!$acc declare mirror (XRT)
REAL, DIMENSION(:,:,:,:), POINTER :: XRRS=>NULL() REAL, DIMENSION(:,:,:,:), POINTER :: XRRS=>NULL()
REAL, DIMENSION(:,:,:,:), POINTER :: XSVM=>NULL() REAL, DIMENSION(:,:,:,:), POINTER :: XSVM=>NULL()
REAL, DIMENSION(:,:,:,:), POINTER :: XSVT=>NULL() REAL, DIMENSION(:,:,:,:), POINTER :: XSVT=>NULL()
...@@ -150,7 +152,7 @@ FIELD_MODEL(KFROM)%XRTKES=>XRTKES ...@@ -150,7 +152,7 @@ FIELD_MODEL(KFROM)%XRTKES=>XRTKES
FIELD_MODEL(KFROM)%XPABSM=>XPABSM FIELD_MODEL(KFROM)%XPABSM=>XPABSM
FIELD_MODEL(KFROM)%XPABST=>XPABST FIELD_MODEL(KFROM)%XPABST=>XPABST
FIELD_MODEL(KFROM)%XRM=>XRM FIELD_MODEL(KFROM)%XRM=>XRM
FIELD_MODEL(KFROM)%XRT=>XRT !!$FIELD_MODEL(KFROM)%XRT=>XRT
FIELD_MODEL(KFROM)%XRRS=>XRRS FIELD_MODEL(KFROM)%XRRS=>XRRS
FIELD_MODEL(KFROM)%XSVM=>XSVM FIELD_MODEL(KFROM)%XSVM=>XSVM
FIELD_MODEL(KFROM)%XSVT=>XSVT FIELD_MODEL(KFROM)%XSVT=>XSVT
...@@ -181,7 +183,7 @@ XRTKES=>FIELD_MODEL(KTO)%XRTKES ...@@ -181,7 +183,7 @@ XRTKES=>FIELD_MODEL(KTO)%XRTKES
XPABSM=>FIELD_MODEL(KTO)%XPABSM XPABSM=>FIELD_MODEL(KTO)%XPABSM
XPABST=>FIELD_MODEL(KTO)%XPABST XPABST=>FIELD_MODEL(KTO)%XPABST
XRM=>FIELD_MODEL(KTO)%XRM XRM=>FIELD_MODEL(KTO)%XRM
XRT=>FIELD_MODEL(KTO)%XRT !!$XRT=>FIELD_MODEL(KTO)%XRT
XRRS=>FIELD_MODEL(KTO)%XRRS XRRS=>FIELD_MODEL(KTO)%XRRS
XSVM=>FIELD_MODEL(KTO)%XSVM XSVM=>FIELD_MODEL(KTO)%XSVM
XSVT=>FIELD_MODEL(KTO)%XSVT XSVT=>FIELD_MODEL(KTO)%XSVT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment