#include "implicit_f.inc"
#include "param_c.inc"
#include "com04_c.inc"
#include "parit_c.inc"
Go to the source code of this file.
◆ sensor_ener_sav()
| subroutine sensor_ener_sav |
( |
integer, intent(in) | nsensor, |
|
|
type (sensor_str_), dimension(nsensor) | sensor_tab, |
|
|
| partsav, |
|
|
| partsav2 ) |
Definition at line 30 of file sensor_ener_sav.F.
31
32
33
34 USE sensor_mod
35
36
37
38#include "implicit_f.inc"
39
40
41
42#include "param_c.inc"
43#include "com04_c.inc"
44#include "parit_c.inc"
45
46
47
48 INTEGER ,INTENT(IN) :: NSENSOR
49 my_real :: partsav(npsav,*),partsav2(2,*)
50 TYPE (SENSOR_STR_) ,DIMENSION(NSENSOR) :: SENSOR_TAB
51
52
53
54 INTEGER I,J,K
55
56 IF(iparit==0) THEN
57 DO k=1,nsensor
58 IF (sensor_tab(k)%TYPE == 14) THEN
59 DO j=1,2
60 DO i=1,npart
61 partsav2(j,i) = partsav(j,i)
62 ENDDO
63 ENDDO
64 ENDIF
65 ENDDO
66 ENDIF
67
68 RETURN