39 1 IPART ,RNOISE ,IPARTC ,IPARTG ,IPARTSP ,
40 2 IGRPART ,IPM ,IPARTS ,PERTURB ,QP_IPERTURB,
41 3 QP_RPERTURB ,LSUBMODEL,UNITAB )
54#include "implicit_f.inc"
65 TYPE (UNIT_TYPE_),
INTENT(IN) ::UNITAB
67 . RNOISE(NPERTURB,NUMELC+NUMELTG+NUMELS+NUMSPH),
68 . qp_rperturb(nperturb,4)
70 INTEGER IPART(LIPART1,*),IPARTC(*),IPARTSP(*),IPARTG(*),IPARTS(*),
71 . IPM(NPROPMI,*),PERTURB(NPERTURB),QP_IPERTURB(NPERTURB,6)
72 TYPE(SUBMODEL_DATA) LSUBMODEL(*)
73 TYPE (MATPARAM_STRUCT_) ,
DIMENSION(NUMMAT) ,
INTENT(INOUT) :: MAT_PARAM
75 TYPE (GROUP_) ,
DIMENSION(NGRPART) :: IGRPART
79 INTEGER ITYP,IDPERTURB(NPERTURB),
80 . NPART_SHELL,NPART_SOLID,OFFS
81 INTEGER,
DIMENSION(:),
ALLOCATABLE :: INDEX,INDEX_ITYP
87 DATA mess/
'PERTURBATION DEFINITION '/
93 idperturb(1:nperturb) = 0
95 ALLOCATE(index(numelc+numeltg+numels+numsph))
96 ALLOCATE(index_ityp(numelc+numeltg+numels+numsph))
106 IF (npart_shell > 0)
THEN
109 . ipart ,rnoise ,ipartc ,ipartg ,igrpart ,
110 . ipm ,perturb ,lsubmodel,unitab ,idperturb ,
111 . index ,index_ityp,npart_shell,offs,qp_iperturb,
114 offs = offs + npart_shell
119 IF (npart_solid > 0)
THEN
122 . ipart ,rnoise ,igrpart ,ipm ,iparts ,
123 . perturb,lsubmodel ,unitab ,idperturb,index ,
124 . index_ityp,npart_solid ,offs ,qp_iperturb,
127 offs = offs + npart_solid
133 . ipart ,rnoise ,ipartc ,ipartg ,ipartsp ,
134 . igrpart ,iparts ,perturb ,idperturb,
135 . index ,index_ityp,npart_shell,offs ,qp_iperturb,
136 . qp_rperturb,lsubmodel,unitab)
140 CALL udouble(idperturb,1,nperturb,mess,0,bid)
142 IF (
ALLOCATED(index))
DEALLOCATE(index)
143 IF (
ALLOCATED(index_ityp))
DEALLOCATE(index_ityp)
subroutine hm_read_perturb(mat_param, ipart, rnoise, ipartc, ipartg, ipartsp, igrpart, ipm, iparts, perturb, qp_iperturb, qp_rperturb, lsubmodel, unitab)
subroutine hm_read_perturb_fail(mat_param, ipart, rnoise, ipartc, ipartg, ipartsp, igrpart, iparts, perturb, idperturb, index, index_ityp, npart_shell, offs, qp_iperturb, qp_rperturb, lsubmodel, unitab)
subroutine hm_read_perturb_part_shell(ipart, rnoise, ipartc, ipartg, igrpart, ipm, perturb, lsubmodel, unitab, idperturb, index, index_ityp, npart_shell, offs, qp_iperturb, qp_rperturb)
subroutine hm_read_perturb_part_solid(ipart, rnoise, igrpart, ipm, iparts, perturb, lsubmodel, unitab, idperturb, index, index_ityp, npart_solid, offs, qp_iperturb, qp_rperturb)