Sacado Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
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 fenl_assembly/BoxElemFixture.hpp.

Constructor & Destructor Documentation

◆ MapGridUnitCube() [1/2]

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 fenl_assembly/BoxElemFixture.hpp.

◆ MapGridUnitCube() [2/2]

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 fenl_assembly_view/BoxElemFixture.hpp.

Member Function Documentation

◆ operator()() [1/2]

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 fenl_assembly/BoxElemFixture.hpp.

◆ operator()() [2/2]

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 fenl_assembly_view/BoxElemFixture.hpp.

Member Data Documentation

◆ m_a

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

Definition at line 65 of file fenl_assembly/BoxElemFixture.hpp.

◆ m_b

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

Definition at line 66 of file fenl_assembly/BoxElemFixture.hpp.

◆ m_c

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

Definition at line 67 of file fenl_assembly/BoxElemFixture.hpp.

◆ m_max_x

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

Definition at line 68 of file fenl_assembly/BoxElemFixture.hpp.

◆ m_max_y

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

Definition at line 69 of file fenl_assembly/BoxElemFixture.hpp.

◆ m_max_z

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

Definition at line 70 of file fenl_assembly/BoxElemFixture.hpp.


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