<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Phil,<br>
      <br>
      If only a single variable need pass from dynamics to the physics,
      you may just simply to use the ESMF state add parameter function
      to attach this variable into the dynamics export ESMF state, then
      in the physics component import ESMF state, use the ESMF state get
      parameter function to get it out.  Based on ESMF version may be
      better to use the ESMF type logical variable ESMF_logical and use
      like ESMF_true and ESMF_false (I do not remember it exactly, some
      thing like this).  The ESMF logical variable will do the same
      thing as the regular logical variable.<br>
      <br>
      Weiyu<br>
      <br>
      <br>
      On 2/1/2016 3:33 PM, Henry Juang - NOAA Federal wrote:<br>
    </div>
    <blockquote
cite="mid:CAAAJESN7MPeoDTgU3tVAMfKYD5FgGdu83VbkfQ7tx0MRJJ1sxg@mail.gmail.com"
      type="cite">
      <div dir="ltr">If the variable will be back and forth between
        dynamic and physics components, then the reasonable way is to
        pass through export/import states as coupling. I suggest we make
        a reasonable length array in exp/imp states to carry options
        between two components through something like coupling.... a
        real array is more general to handle all options, such 1.0 for
        truth, 0,0 for false. In case of option with 0.5 for example,
        real array can handle it!
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Mon, Feb 1, 2016 at 12:26 PM, Philip
          Pegion - NOAA Affiliate <span dir="ltr">&lt;<a
              moz-do-not-send="true"
              href="mailto:philip.pegion@noaa.gov" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:philip.pegion@noaa.gov">philip.pegion@noaa.gov</a></a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Hi everyone,
              <div>  I am finishing up adding IAU capability to the
                NEMS/GSM and I need to pass a logical variable that is
                defined in the dynamics to the physics (down to
                gloopb.f).  Is there a recommended method to do this?  I
                cannot use namelist_def because the logical variable
                will start and false, then switch to true, and back to
                false during an IAU run.   </div>
              <div><br>
              </div>
              <div>Any suggestions are greatly appreciated.</div>
              <div> Thanks,</div>
              <div>Phil Pegion</div>
            </div>
            <br>
            _______________________________________________<br>
            Ncep.list.nems.announce mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Ncep.list.nems.announce@lstsrv.ncep.noaa.gov">Ncep.list.nems.announce@lstsrv.ncep.noaa.gov</a><br>
            <a moz-do-not-send="true"
href="https://www.lstsrv.ncep.noaa.gov/mailman/listinfo/ncep.list.nems.announce"
              rel="noreferrer" target="_blank">https://www.lstsrv.ncep.noaa.gov/mailman/listinfo/ncep.list.nems.announce</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Ncep.list.nems.announce mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ncep.list.nems.announce@lstsrv.ncep.noaa.gov">Ncep.list.nems.announce@lstsrv.ncep.noaa.gov</a>
<a class="moz-txt-link-freetext" href="https://www.lstsrv.ncep.noaa.gov/mailman/listinfo/ncep.list.nems.announce">https://www.lstsrv.ncep.noaa.gov/mailman/listinfo/ncep.list.nems.announce</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>