Go to the documentation of this file.
34 integer,
public ::
qa = 0
36 integer,
private,
parameter :: qa_max = 1024
62 NQ, NAME, DESC, UNIT, &
69 integer,
intent(out) :: qs
70 integer,
intent(in) :: nq
71 character(len=*),
intent(in) ::
name (nq)
72 character(len=*),
intent(in) :: desc (nq)
73 character(len=*),
intent(in) ::
unit (nq)
74 real(
rp),
intent(in),
optional :: cv (nq)
75 real(
rp),
intent(in),
optional :: cp (nq)
76 real(
rp),
intent(in),
optional :: r (nq)
77 real(
rp),
intent(in),
optional :: engi0(nq)
78 logical,
intent(in),
optional :: advc (nq)
79 logical,
intent(in),
optional ::
mass (nq)
84 real(
rp) :: engi0_(nq)
88 character(len=24) :: name_trim
93 if (
qa + nq > qa_max )
then
94 log_error(
"TRACER_regist",*)
'total number of tracer must be less or equal to ', qa_max
98 if (
present(cv) )
then
104 if (
present(cp) )
then
110 if (
present(r) )
then
116 if (
present(engi0) )
then
122 if (
present(advc) )
then
128 if (
present(
mass) )
then
137 name_trim = trim(
name(n))
139 log_info(
"TRACER_regist",
'(1x,A,I3,A,A,A,F6.1,A,F6.1,A,ES10.3,A,L1,A,L1)') &
140 '] Register tracer : No.',
qa+n, &
141 ', NAME = ', name_trim, &
144 ', ENGI0 = ', engi0_(n), &
145 ', ADVC = ', advc_(n), &
146 ', MASS = ', mass_(n)
176 character(len=*),
intent(in) ::
name
177 integer,
intent(out) :: id
subroutine, public prc_abort
Abort Process.
character(len=h_mid), dimension(qa_max), public tracer_desc
character(len=h_short), dimension(qa_max), public tracer_unit
real(rp), dimension(qa_max), public tracer_mass
subroutine, public tracer_inq_id(NAME, ID)
Inquire tracer ID.
logical, dimension(qa_max), public tracer_advc
real(rp), dimension(qa_max), public tracer_engi0
character(len=h_short), public unit
integer, parameter, public rp
real(rp), dimension(qa_max), public tracer_cv
character(len=h_short), dimension(qa_max), public tracer_name
subroutine, public tracer_regist(QS, NQ, NAME, DESC, UNIT, CV, CP, R, ENGI0, ADVC, MASS)
Regist tracer.
real(rp), dimension(qa_max), public tracer_cp
real(rp), dimension(qa_max), public tracer_r
character(len=h_short), public name