Commit c02dea99 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

remaplib: added remap_define_reg2d(reg2d_tgt_gridID, tgt_grid)

parent 0122d45a
...@@ -960,6 +960,10 @@ void remap_grids_init(int map_type, int lextrapolate, int gridID1, remapgrid_t * ...@@ -960,6 +960,10 @@ void remap_grids_init(int map_type, int lextrapolate, int gridID1, remapgrid_t *
{ {
remap_define_reg2d(reg2d_src_gridID, src_grid); remap_define_reg2d(reg2d_src_gridID, src_grid);
} }
else if ( tgt_grid->remap_grid_type == REMAP_GRID_TYPE_REG2D )
{
remap_define_reg2d(reg2d_tgt_gridID, tgt_grid);
}
else if ( map_type != MAP_TYPE_DISTWGT ) else if ( map_type != MAP_TYPE_DISTWGT )
{ {
cell_bounding_boxes(src_grid, REMAP_GRID_BASIS_SRC); cell_bounding_boxes(src_grid, REMAP_GRID_BASIS_SRC);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment