CSol
Public Member Functions | Public Attributes | List of all members
BF_Wind_Ranges Class Reference

Wind correction processor ranges.

#include <bf/csol_bf_wind_correct.h>

Public Member Functions

 BF_Wind_Ranges (int, int, int, int)
 Wind correction ranges constructor. More...
 
 BF_Wind_Ranges (const BF_Wind_Ranges &)
 
BF_Wind_Rangesoperator= (const BF_Wind_Ranges &)
 

Public Attributes

cl::NDRange dot_global_size
 
cl::NDRange dot_local_size
 
int dotGroupSize
 
int dotPadLength
 
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
 
int N_base_2D
 
int N_base_3D
 
int N_pad_2D
 
int N_reduce
 
int N_s
 
std::vector< int > N_stag_2D
 
std::vector< int > N_stag_3D
 

Constructor & Destructor Documentation

BF_Wind_Ranges ( int  levels,
int  tileSize,
int  nz,
int  localSize 
)

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
    levelsthe number of nested multigrid levels.
    tileSizethe x and y size at the highest level.
    nzthe z size at the highest level.

Member Function Documentation

BF_Wind_Ranges& operator= ( const BF_Wind_Ranges )

Member Data Documentation

cl::NDRange dot_global_size
cl::NDRange dot_local_size
int dotGroupSize
int dotPadLength
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
int N_base_2D
int N_base_3D
int N_pad_2D
int N_reduce
int N_s
std::vector<int> N_stag_2D
std::vector<int> N_stag_3D