Intrepid2
Private Member Functions | List of all members
Intrepid2::UnitCubeToSphere< Scalar > Class Template Reference

Maps unit cube [-1,1]x[-1,1]x[-1,1] to sphere of radius 1. More...

#include <Intrepid2_ProjectedGeometryExamples.hpp>

Private Member Functions

KOKKOS_INLINE_FUNCTION Scalar operator() (const Kokkos::Array< Scalar, 3 > &coords, const ordinal_type &d) const
 coordinate values
 
KOKKOS_INLINE_FUNCTION Scalar operator() (const Kokkos::Array< Scalar, 3 > &coords, const ordinal_type &d1, const ordinal_type &d2) const
 gradient of the mapping
 

Detailed Description

template<typename Scalar>
class Intrepid2::UnitCubeToSphere< Scalar >

Maps unit cube [-1,1]x[-1,1]x[-1,1] to sphere of radius 1.

Extends the map in UnitSquareToCircle to 3D.

Definition at line 126 of file Intrepid2_ProjectedGeometryExamples.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<typename Scalar >
KOKKOS_INLINE_FUNCTION Scalar Intrepid2::UnitCubeToSphere< Scalar >::operator() ( const Kokkos::Array< Scalar, 3 > & coords,
const ordinal_type & d ) const
inlineprivate

coordinate values

Definition at line 130 of file Intrepid2_ProjectedGeometryExamples.hpp.

◆ operator()() [2/2]

template<typename Scalar >
KOKKOS_INLINE_FUNCTION Scalar Intrepid2::UnitCubeToSphere< Scalar >::operator() ( const Kokkos::Array< Scalar, 3 > & coords,
const ordinal_type & d1,
const ordinal_type & d2 ) const
inlineprivate

gradient of the mapping

Definition at line 148 of file Intrepid2_ProjectedGeometryExamples.hpp.


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