Public Types | Public Member Functions | Static Public Attributes | List of all members
pTraits< complex > Class Reference
Collaboration diagram for pTraits< complex >:
Collaboration graph
[legend]

Public Types

typedef complex cmptType
 
typedef scalar magType
 
typedef label labelType
 

Public Member Functions

 pTraits (const complex &val)
 
 pTraits (Istream &is)
 
 operator complex () const
 
 operator complex & ()
 

Static Public Attributes

static constexpr direction dim = 3
 
static constexpr direction rank = 0
 
static constexpr direction nComponents = 2
 
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 251 of file complex.H.

Member Typedef Documentation

◆ cmptType

typedef complex cmptType

Definition at line 260 of file complex.H.

◆ magType

typedef scalar magType

Definition at line 263 of file complex.H.

◆ labelType

typedef label labelType

Definition at line 266 of file complex.H.

Constructor & Destructor Documentation

◆ pTraits() [1/2]

pTraits ( const complex val)
explicit

◆ pTraits() [2/2]

pTraits ( Istream is)
explicit

Member Function Documentation

◆ operator complex()

operator complex ( ) const
inline

Definition at line 306 of file complex.H.

◆ operator complex &()

operator complex & ( )
inline

Definition at line 312 of file complex.H.

Member Data Documentation

◆ dim

constexpr direction dim = 3
staticconstexpr

Definition at line 272 of file complex.H.

◆ rank

constexpr direction rank = 0
staticconstexpr

Definition at line 275 of file complex.H.

◆ nComponents

constexpr direction nComponents = 2
staticconstexpr

Definition at line 278 of file complex.H.

◆ typeName

const char* const typeName
static

Definition at line 283 of file complex.H.

◆ componentNames

const char* const componentNames[]
static

Definition at line 284 of file complex.H.

◆ zero

const complex zero
static

complex (0,0)

Definition at line 286 of file complex.H.

◆ one

const complex one
static

complex (1,0)

Definition at line 287 of file complex.H.

◆ min

const complex min
static

complex (-VGREAT,-VGREAT)

Definition at line 288 of file complex.H.

◆ max

const complex max
static

complex (VGREAT,VGREAT)

Definition at line 289 of file complex.H.

◆ rootMin

const complex rootMin
static

complex (-ROOTVGREAT, -ROOTVGREAT)

Definition at line 290 of file complex.H.

◆ rootMax

const complex rootMax
static

complex (ROOTVGREAT, ROOTVGREAT)

Definition at line 291 of file complex.H.


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