Intrepid2
Public Member Functions | List of all members
Intrepid2::UnitSquareToCircle< Scalar > Class Template Reference

Maps unit square [-1,1]x[-1,1] to circle of radius 1. More...

#include <Intrepid2_ProjectedGeometryExamples.hpp>

Public Member Functions

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

Detailed Description

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

Maps unit square [-1,1]x[-1,1] to circle of radius 1.

See https://www.xarg.org/2017/07/how-to-map-a-square-to-a-circle/

Definition at line 48 of file Intrepid2_ProjectedGeometryExamples.hpp.


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