Wind correction processor ranges.
#include <bf/csol_bf_wind_correct.h>
Creates set of sizes of all multigrid levels and layers from an initial three-dimensional grid size. The ranges created are:
- N_s: number of sigma levels, equal to number of required z-size
- N_reduce: number of items used for reduction (dot product)
- N_base_2D: the 2D base grid dimensions, equal to the tile dimensions in the x and y directions
- N_pad_2D: the padded 2D base grid dimensions (the BF_Fire_Tile internal dimensions), equal to the tile dimensions plus two in the x and y directions
- N_base_3D: the 3D base grid dimensions, equal to the tile dimensions and the z-size in the z-direction
- N_stag_2D: the 2D staggered grid dimensions, equal to the base dimensions plus one in x and y
- N_stag_3D: the 3D staggered grid dimensions, equal to the base dimensions plus one in x and y and the z-size plus two in the z-direction
- Parameters
-
levels | the number of nested multigrid levels. |
tileSize | the x and y size at the highest level. |
nz | the z size at the highest level. |
cl::NDRange dot_global_size |
cl::NDRange dot_local_size |
cl::NDRange global_size_base_3D |
std::vector<cl::NDRange> global_size_stag_2D |
std::vector<cl::NDRange> global_size_stag_3D |
std::vector<cl::NDRange> global_size_stag_int_3D |
cl::NDRange local_size_base_3D |
std::vector<cl::NDRange> local_size_stag_2D |
std::vector<cl::NDRange> local_size_stag_3D |
std::vector<cl::NDRange> local_size_stag_int_3D |
std::vector<int> N_stag_2D |
std::vector<int> N_stag_3D |