Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::Real2POD Struct Reference

Public Member Functions

__host__ __device__ Real operator[] (Integer i) const
__host__ __device__ Real operator() (Integer i) const
__host__ __device__ Realoperator[] (Integer i)
__host__ __device__ Realoperator() (Integer i)
__host__ __device__ void setComponent (Integer i, Real value)
 Positions the i th component at value.

Public Attributes

Real x
 first component of the pair
Real y
 second component of the pair

Detailed Description

Definition at line 30 of file Real2.h.

Member Function Documentation

◆ operator()() [1/2]

__host__ __device__ Real & Arcane::Real2POD::operator() ( Integer i)
inline

Access to the i th component of the Real2POD

Note
only works for x, y ordered in the POD
Parameters
icomponent number to return
Returns
(&x)[i]

Definition at line 91 of file Real2.h.

References x.

◆ operator()() [2/2]

__host__ __device__ Real Arcane::Real2POD::operator() ( Integer i) const
inline

Read-only access to the i th component of the Real2POD

Note
only works for x, y ordered in the POD
Parameters
icomponent number to return
Returns
(&x)[i]

Definition at line 61 of file Real2.h.

References x.

◆ operator[]() [1/2]

__host__ __device__ Real & Arcane::Real2POD::operator[] ( Integer i)
inline

Access to the i th component of the Real2POD

Note
only works for x, y ordered in the POD
Parameters
icomponent number to return
Returns
(&x)[i]

Definition at line 76 of file Real2.h.

References x.

◆ operator[]() [2/2]

__host__ __device__ Real Arcane::Real2POD::operator[] ( Integer i) const
inline

Read-only access to the i th component of the Real2POD

Note
only works for x, y ordered in the POD
Parameters
icomponent number to return
Returns
(&x)[i]

Definition at line 46 of file Real2.h.

References x.

◆ setComponent()

__host__ __device__ void Arcane::Real2POD::setComponent ( Integer i,
Real value )
inline

Positions the i th component at value.

Definition at line 98 of file Real2.h.

References x.

Member Data Documentation

◆ x

Real Arcane::Real2POD::x

first component of the pair

Definition at line 34 of file Real2.h.

Referenced by Arcane::Real2::abs2(), Arcane::Real2::absolute(), Arcane::Real2::add(), Arcane::Real2Proxy::add(), Arcane::Real2::addSame(), Arcane::Real2::assign(), Arcane::Real2::assign(), Arcane::Real2::assign(), Arcane::Real2Proxy::assign(), Arcane::Real2::constView(), Arcane::Real2::div(), Arcane::Real2Proxy::div(), Arcane::Real2::divSame(), Arcane::math::dot(), Arcane::math::doubleContraction(), Arcane::math::isNearlyZero(), Arcane::math::max(), Arcane::math::min(), Arcane::Real2::mul(), Arcane::Real2Proxy::mul(), Arcane::Real2::mulSame(), operator()(), operator()(), Arcane::Real2::operator*, Arcane::Real2::operator*(), Arcane::Real2::operator*, Arcane::Real2Proxy::operator*(), Arcane::Real2::operator*=(), Arcane::Real2::operator+(), Arcane::Real2Proxy::operator+(), Arcane::Real2::operator-(), Arcane::Real2::operator-(), Arcane::Real2Proxy::operator-(), Arcane::Real2::operator/(), Arcane::Real2::operator/, Arcane::Real2Proxy::operator/(), Arcane::Real2::operator/=(), Arcane::Real2::operator<, Arcane::Real2::operator=(), Arcane::Real2::operator==(), Arcane::Real2Proxy::operator==(), operator[](), operator[](), Arcane::Real2::print(), Arcane::Real2::printXy(), Arcane::Real2::Real2(), Arcane::Real2::Real2(), Arcane::Real2::Real2(), Arcane::Real2::Real2(), Arcane::Real2::Real2(), Arcane::Real2::Real2(), Arcane::Real3::Real3(), Arcane::Real2::reset(), Arcane::math::scaMul(), setComponent(), Arcane::math::squareNormL2(), Arcane::Real2::squareNormL2(), Arcane::Real2::sub(), Arcane::Real2Proxy::sub(), Arcane::Real2::subSame(), and Arcane::Real2::view().

◆ y

Real Arcane::Real2POD::y

second component of the pair

Definition at line 35 of file Real2.h.

Referenced by Arcane::Real2::abs2(), Arcane::Real2::absolute(), Arcane::Real2::add(), Arcane::Real2Proxy::add(), Arcane::Real2::addSame(), Arcane::Real2::assign(), Arcane::Real2::assign(), Arcane::Real2::assign(), Arcane::Real2Proxy::assign(), Arcane::Real2::div(), Arcane::Real2Proxy::div(), Arcane::Real2::divSame(), Arcane::math::dot(), Arcane::math::doubleContraction(), Arcane::math::isNearlyZero(), Arcane::math::max(), Arcane::math::min(), Arcane::Real2::mul(), Arcane::Real2Proxy::mul(), Arcane::Real2::mulSame(), Arcane::Real2::operator*, Arcane::Real2::operator*(), Arcane::Real2::operator*, Arcane::Real2Proxy::operator*(), Arcane::Real2::operator*=(), Arcane::Real2::operator+(), Arcane::Real2Proxy::operator+(), Arcane::Real2::operator-(), Arcane::Real2::operator-(), Arcane::Real2Proxy::operator-(), Arcane::Real2::operator/(), Arcane::Real2::operator/, Arcane::Real2Proxy::operator/(), Arcane::Real2::operator/=(), Arcane::Real2::operator<, Arcane::Real2::operator=(), Arcane::Real2::operator==(), Arcane::Real2Proxy::operator==(), Arcane::Real2::print(), Arcane::Real2::printXy(), Arcane::Real2::Real2(), Arcane::Real2::Real2(), Arcane::Real2::Real2(), Arcane::Real2::Real2(), Arcane::Real2::Real2(), Arcane::Real2::Real2(), Arcane::Real3::Real3(), Arcane::Real2::reset(), Arcane::math::scaMul(), Arcane::math::squareNormL2(), Arcane::Real2::squareNormL2(), Arcane::Real2::sub(), Arcane::Real2Proxy::sub(), and Arcane::Real2::subSame().


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