You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li>If a named dimension is no longer used, it may be removed from the calling list (i.e. pcols, etc)</li>
1663
1663
<li>On the CAM interface side, any variables dimensioned by <code>pcols</code> in CAM will need to be subsetted to <code>1:ncol</code> in the call to the CCPP-ized routine so that only the active columns are passed</li>
1664
-
<li>All <code>intent(out)</code> variables which are dimensioned pcols` should be initialized to zero right before being called in the main CAM physics calling routine to prevent extraneous values from existing in a pcols-dimensioned array.<ul>
1664
+
<li>All <code>intent(out)</code> variables which are dimensioned <code>pcols</code> should be initialized to zero right before being called in the main CAM physics calling routine to prevent extraneous values from existing in a pcols-dimensioned array.<ul>
1665
1665
<li>Put <code>!REMOVECAM/!REMOVECAM_END</code> labels around these initializations as any which remain after CAM is retired no longer need this precautionary step.</li>
<p>When calling CCPPized subroutines from CAM, only the active columns (<code>1:ncol</code>) should be passed in. Because CAM distinguishes between <code>ncols</code> and <code>pcols</code>, output variables sized <code>pcols</code> must be initialized to zero, because the CCPPized subroutines will only be able to modify the active columns <code>1:ncol</code>.</p>
1678
+
</div>
1675
1679
<h2id="1d-use-kind_phys-instead-of-r8">1d - Use kind_phys instead of r8</h2>
0 commit comments