Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
cuproj_test::grid_generator< Coord > Struct Template Reference

Public Member Functions

 grid_generator (Coord const &min_corner, Coord const &max_corner, int num_points_x, int num_points_y)
 
Coord operator() (int i) const
 

Public Attributes

Coord min_corner {}
 
Coord max_corner {}
 
Coord spacing {}
 
int num_points_x {}
 

Detailed Description

template<typename Coord>
struct cuproj_test::grid_generator< Coord >

Definition at line 29 of file coordinate_generator.cuh.

Constructor & Destructor Documentation

◆ grid_generator()

template<typename Coord >
cuproj_test::grid_generator< Coord >::grid_generator ( Coord const & min_corner,
Coord const & max_corner,
int num_points_x,
int num_points_y )
inline

Definition at line 35 of file coordinate_generator.cuh.

Member Function Documentation

◆ operator()()

template<typename Coord >
Coord cuproj_test::grid_generator< Coord >::operator() ( int i) const
inline

Definition at line 45 of file coordinate_generator.cuh.

Member Data Documentation

◆ max_corner

template<typename Coord >
Coord cuproj_test::grid_generator< Coord >::max_corner {}

Definition at line 31 of file coordinate_generator.cuh.

◆ min_corner

template<typename Coord >
Coord cuproj_test::grid_generator< Coord >::min_corner {}

Definition at line 30 of file coordinate_generator.cuh.

◆ num_points_x

template<typename Coord >
int cuproj_test::grid_generator< Coord >::num_points_x {}

Definition at line 33 of file coordinate_generator.cuh.

◆ spacing

template<typename Coord >
Coord cuproj_test::grid_generator< Coord >::spacing {}

Definition at line 32 of file coordinate_generator.cuh.


The documentation for this struct was generated from the following file: