How to extract PHIS(ncol) variable in a subroutine in CAM?

Hi I want to specify the SST as a function of lapse rate in aquaplanet and want to make changes in the Ocn_comp.F90 file in the cam_aqua directory. I need to use the phis variable in this file in order to specify SST as a function of height in aquaplanet model. Can any one help me out on how to call phis variable from this file? 
 
Back
Top