Stokhos 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 size_t grid_max_x, const size_t grid_max_y, const size_t 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
 
const size_t m_max_x
 
const size_t m_max_y
 
const size_t m_max_z
 

Detailed Description

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

Definition at line 36 of file FadMPAssembly/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 45 of file FadMPAssembly/BoxElemFixture.hpp.

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

Definition at line 45 of file MPAssembly/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 61 of file FadMPAssembly/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 61 of file MPAssembly/BoxElemFixture.hpp.

Member Data Documentation

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

Definition at line 38 of file FadMPAssembly/BoxElemFixture.hpp.

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

Definition at line 39 of file FadMPAssembly/BoxElemFixture.hpp.

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

Definition at line 40 of file FadMPAssembly/BoxElemFixture.hpp.

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

Definition at line 41 of file FadMPAssembly/BoxElemFixture.hpp.

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

Definition at line 42 of file FadMPAssembly/BoxElemFixture.hpp.

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

Definition at line 43 of file FadMPAssembly/BoxElemFixture.hpp.

const size_t Kokkos::Example::MapGridUnitCube::m_max_x

Definition at line 41 of file MPAssembly/BoxElemFixture.hpp.

const size_t Kokkos::Example::MapGridUnitCube::m_max_y

Definition at line 42 of file MPAssembly/BoxElemFixture.hpp.

const size_t Kokkos::Example::MapGridUnitCube::m_max_z

Definition at line 43 of file MPAssembly/BoxElemFixture.hpp.


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