Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
Kokkos::Example::MapGridUnitCube Struct Reference

Map a grid onto a unit cube with smooth nonlinear grading of the map. More...

#include <BoxElemFixture.hpp>

Public Member Functions

 MapGridUnitCube (const unsigned grid_max_x, const unsigned grid_max_y, const unsigned grid_max_z, const double bubble_x, const double bubble_y, const double bubble_z)
 
template<typename Scalar >
KOKKOS_INLINE_FUNCTION void operator() (int grid_x, int grid_y, int grid_z, Scalar &coord_x, Scalar &coord_y, Scalar &coord_z) const
 
 MapGridUnitCube (const unsigned grid_max_x, const unsigned grid_max_y, const unsigned grid_max_z, const double bubble_x, const double bubble_y, const double bubble_z)
 
template<typename Scalar >
KOKKOS_INLINE_FUNCTION void operator() (int grid_x, int grid_y, int grid_z, Scalar &coord_x, Scalar &coord_y, Scalar &coord_z) const
 

Public Attributes

const double m_a
 
const double m_b
 
const double m_c
 
const unsigned m_max_x
 
const unsigned m_max_y
 
const unsigned m_max_z
 

Detailed Description

Map a grid onto a unit cube with smooth nonlinear grading of the map.

Definition at line 63 of file BoxElemFixture.hpp.

Constructor & Destructor Documentation

Kokkos::Example::MapGridUnitCube::MapGridUnitCube ( const unsigned  grid_max_x,
const unsigned  grid_max_y,
const unsigned  grid_max_z,
const double  bubble_x,
const double  bubble_y,
const double  bubble_z 
)
inline

Definition at line 72 of file BoxElemFixture.hpp.

Kokkos::Example::MapGridUnitCube::MapGridUnitCube ( const unsigned  grid_max_x,
const unsigned  grid_max_y,
const unsigned  grid_max_z,
const double  bubble_x,
const double  bubble_y,
const double  bubble_z 
)
inline

Definition at line 72 of file view/BoxElemFixture.hpp.

Member Function Documentation

template<typename Scalar >
KOKKOS_INLINE_FUNCTION void Kokkos::Example::MapGridUnitCube::operator() ( int  grid_x,
int  grid_y,
int  grid_z,
Scalar &  coord_x,
Scalar &  coord_y,
Scalar &  coord_z 
) const
inline

Definition at line 88 of file BoxElemFixture.hpp.

template<typename Scalar >
KOKKOS_INLINE_FUNCTION void Kokkos::Example::MapGridUnitCube::operator() ( int  grid_x,
int  grid_y,
int  grid_z,
Scalar &  coord_x,
Scalar &  coord_y,
Scalar &  coord_z 
) const
inline

Definition at line 88 of file view/BoxElemFixture.hpp.

Member Data Documentation

const double Kokkos::Example::MapGridUnitCube::m_a

Definition at line 65 of file BoxElemFixture.hpp.

const double Kokkos::Example::MapGridUnitCube::m_b

Definition at line 66 of file BoxElemFixture.hpp.

const double Kokkos::Example::MapGridUnitCube::m_c

Definition at line 67 of file BoxElemFixture.hpp.

const unsigned Kokkos::Example::MapGridUnitCube::m_max_x

Definition at line 68 of file BoxElemFixture.hpp.

const unsigned Kokkos::Example::MapGridUnitCube::m_max_y

Definition at line 69 of file BoxElemFixture.hpp.

const unsigned Kokkos::Example::MapGridUnitCube::m_max_z

Definition at line 70 of file BoxElemFixture.hpp.


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