OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
hm_read_ale_solver.F File Reference
#include "implicit_f.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine hm_read_ale_solver (lsubmodel, unitab, icaa, isfint)

Function/Subroutine Documentation

◆ hm_read_ale_solver()

subroutine hm_read_ale_solver ( type(submodel_data), dimension(nsubmod), intent(in) lsubmodel,
type(unit_type_), intent(in) unitab,
integer, intent(in) icaa,
integer, intent(inout) isfint )

Definition at line 38 of file hm_read_ale_solver.F.

39C-----------------------------------------------
40C D e s c r i p t i o n
41C-----------------------------------------------
42C This subroutine is reading /ALE/SOLVER/FINT option in user input file
43C-----------------------------------------------
44C M o d u l e s
45C-----------------------------------------------
46 USE unitab_mod
48 USE submodel_mod
49 USE message_mod
50C-----------------------------------------------
51C I m p l i c i t T y p e s
52C-----------------------------------------------
53#include "implicit_f.inc"
54C-----------------------------------------------
55C C o m m o n B l o c k s
56C-----------------------------------------------
57C-----------------------------------------------
58C D u m m y A r g u m e n t s
59C-----------------------------------------------
60 TYPE(SUBMODEL_DATA), DIMENSION(NSUBMOD), INTENT(IN) :: LSUBMODEL
61 TYPE(UNIT_TYPE_), INTENT(IN) :: UNITAB
62 INTEGER, INTENT(IN) :: ICAA
63 INTEGER, INTENT(INOUT) :: ISFINT
64C-----------------------------------------------
65C L o c a l V a r i a b l e s
66C-----------------------------------------------
67 INTEGER :: NALESOLVER
68 LOGICAL :: IS_AVAILABLE
69
70 CALL hm_option_count('/ALE/SOLVER/FINT', nalesolver)
71
72 IF (nalesolver > 0) THEN
73 CALL hm_option_start('/ALE/SOLVER/FINT')
74 CALL hm_option_next()
75 CALL hm_get_intv('Iform', isfint, is_available, lsubmodel)
76 IF (isfint < 0 .OR. isfint > 3)THEN
77 CALL ancmsg(msgid = 1138 ,
78 . msgtype = msgerror,
79 . anmode = aninfo ,
80 . c1 = 'ISFINT',
81 . i1 = isfint )
82 ENDIF
83 IF (isfint == 2 .AND. icaa == 1)THEN
84 CALL ancmsg(msgid = 1138 ,
85 . msgtype = msgerror,
86 . anmode = aninfo ,
87 . c1 = 'ISFINT=2 NOT COMPATIBLE WITH CAA',
88 . i1 = icaa )
89 ENDIF
90 IF (isfint == 0) isfint = 3
91 ENDIF
92
subroutine hm_get_intv(name, ival, is_available, lsubmodel)
subroutine hm_option_count(entity_type, hm_option_number)
subroutine hm_option_next()
subroutine hm_option_start(entity_type)
subroutine ancmsg(msgid, msgtype, anmode, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, r1, r2, r3, r4, r5, r6, r7, r8, r9, c1, c2, c3, c4, c5, c6, c7, c8, c9, prmode)
Definition message.F:889