pTraits< complex > Class Reference
Collaboration diagram for pTraits< complex >:
[legend]

Public Types

typedef complex cmptType
 Component type. More...
 
typedef scalar magType
 Magnitude type. More...
 
typedef label labelType
 Equivalent type of labels used for valid component indexing. More...
 

Public Member Functions

 pTraits (const complex &val)
 Copy construct from primitive. More...
 
 pTraits (Istream &is)
 Read construct from Istream. More...
 
 operator complex () const noexcept
 Return the value. More...
 
 operator complex & () noexcept
 Access the value. More...
 

Static Public Attributes

static constexpr direction dim = 3
 Dimensionality of space. More...
 
static constexpr direction rank = 0
 Rank of complex is 0. More...
 
static constexpr direction nComponents = 2
 Number of components in complex is 2. More...
 
static const char *const typeName
 
static const char *const componentNames []
 
static const complex zero
 complex (0,0) More...
 
static const complex one
 complex (1,0) More...
 
static const complex min
 complex (-VGREAT,-VGREAT) More...
 
static const complex max
 complex (VGREAT,VGREAT) More...
 
static const complex rootMin
 complex (-ROOTVGREAT, -ROOTVGREAT) More...
 
static const complex rootMax
 complex (ROOTVGREAT, ROOTVGREAT) More...
 

Detailed Description

Definition at line 255 of file complex.H.

Member Typedef Documentation

◆ cmptType

typedef complex cmptType

Component type.

Definition at line 264 of file complex.H.

◆ magType

typedef scalar magType

Magnitude type.

Definition at line 267 of file complex.H.

◆ labelType

typedef label labelType

Equivalent type of labels used for valid component indexing.

Definition at line 270 of file complex.H.

Constructor & Destructor Documentation

◆ pTraits() [1/2]

pTraits ( const complex val)
inlineexplicit

Copy construct from primitive.

Definition at line 301 of file complex.H.

◆ pTraits() [2/2]

pTraits ( Istream is)
explicit

Read construct from Istream.

Member Function Documentation

◆ operator complex()

operator complex ( ) const
inlinenoexcept

Return the value.

Definition at line 314 of file complex.H.

◆ operator complex &()

operator complex & ( )
inlinenoexcept

Access the value.

Definition at line 320 of file complex.H.

Member Data Documentation

◆ dim

constexpr direction dim = 3
staticconstexpr

Dimensionality of space.

Definition at line 276 of file complex.H.

◆ rank

constexpr direction rank = 0
staticconstexpr

Rank of complex is 0.

Definition at line 279 of file complex.H.

◆ nComponents

constexpr direction nComponents = 2
staticconstexpr

Number of components in complex is 2.

Definition at line 282 of file complex.H.

◆ typeName

const char* const typeName
static

Definition at line 287 of file complex.H.

◆ componentNames

const char* const componentNames[]
static

Definition at line 288 of file complex.H.

◆ zero

const complex zero
static

complex (0,0)

Definition at line 290 of file complex.H.

◆ one

const complex one
static

complex (1,0)

Definition at line 291 of file complex.H.

◆ min

const complex min
static

complex (-VGREAT,-VGREAT)

Definition at line 292 of file complex.H.

◆ max

◆ rootMin

const complex rootMin
static

complex (-ROOTVGREAT, -ROOTVGREAT)

Definition at line 294 of file complex.H.

◆ rootMax

const complex rootMax
static

complex (ROOTVGREAT, ROOTVGREAT)

Definition at line 295 of file complex.H.

Referenced by symmetryPlanePolyPatch::calcGeometry(), and wedgePolyPatch::calcGeometry().


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