Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

how to use phys_buffer hold arrays that must persist across timesteps

Dear all
I want to add the module stratiform into BCC model (BCC is similar in scheme with CAM3)
So I shoud persist concld across timesteps
I do like this
add
call pbuf_add('CONCLD' , 'physpkg', 1,pver, 1, concld_idx)
ifld = pbuf_get_fld_idx('CONCLD')
concld => pbuf(ifld)%fld_ptr(1,1:pcols,1:pver,lchnk,itim)

but I find concld value is not the value in the last step

can you give me some advice

Thanks a lot
 
Top