Go to the documentation of this file.
35 integer,
public ::
qa = 0
37 integer,
private,
parameter :: qa_max = 1024
65 NQ, NAME, DESC, UNIT, &
72 integer,
intent(out) :: qs
73 integer,
intent(in) :: nq
74 character(len=*),
intent(in) ::
name (nq)
75 character(len=*),
intent(in) :: desc (nq)
76 character(len=*),
intent(in) ::
unit (nq)
77 real(
rp),
intent(in),
optional :: cv (nq)
78 real(
rp),
intent(in),
optional :: cp (nq)
79 real(
rp),
intent(in),
optional :: r (nq)
80 real(
rp),
intent(in),
optional :: engi0(nq)
81 logical,
intent(in),
optional :: advc (nq)
82 logical,
intent(in),
optional ::
mass (nq)
87 real(
rp) :: engi0_(nq)
91 character(len=24) :: name_trim
96 if (
qa + nq > qa_max )
then
97 log_error(
"TRACER_regist",*)
'total number of tracer must be less or equal to ', qa_max
101 if (
present(cv) )
then
107 if (
present(cp) )
then
113 if (
present(r) )
then
119 if (
present(engi0) )
then
125 if (
present(advc) )
then
131 if (
present(
mass) )
then
140 name_trim = trim(
name(n))
142 log_info(
"TRACER_regist",
'(1x,A,I3,A,A,A,F6.1,A,F6.1,A,ES10.3,A,L1,A,L1)') &
143 '] Register tracer : No.',
qa+n, &
144 ', NAME = ', name_trim, &
147 ', ENGI0 = ', engi0_(n), &
148 ', ADVC = ', advc_(n), &
149 ', MASS = ', mass_(n)
187 character(len=*),
intent(in) ::
name
188 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
subroutine, public tracer_finalize
character(len=h_short), public name