Project

General

Profile

remapcon and remapcon2

Added by Rob Nicholas over 13 years ago

Would someone be willing to explain the difference between the 'remapcon' and 'remapcon2' operators? What is the difference between a first-order and second-order conservative remapping?

Thanks,
Rob


Replies (1)

RE: remapcon and remapcon2 - Added by Uwe Schulzweida over 13 years ago

Hi Rob,
The second-order conservative remapping consider also the gradients in lon and lat direction.

First-order conservative remapping:

for ( n = 0; n < num_links; n++ )
   dst_array[dst_addr[n]] += src_array[src_addr[n]]*weights[n];

Second-order conservative remapping:
for ( n = 0; n < num_links; n++ )
   dst_array[dst_addr[n]] += src_array[src_addr[n]]*weights[n] +
                             src_grad_lon[src_addr[n]]*weights_lon[n] +
                             src_grad_lat[src_addr[n]]*weights_lat[n];

Best Regards,
Uwe

    (1-1/1)