Public Types | Public Member Functions | Static Public Attributes | List of all members
pTraits< Scalar > Class Reference

Public Types

typedef Scalar cmptType
 
typedef Scalar magType
 
typedef label labelType
 

Public Member Functions

 pTraits (const Scalar &val) noexcept
 
 pTraits (Istream &is)
 
 operator Scalar () const noexcept
 
 operator Scalar & () noexcept
 

Static Public Attributes

static constexpr direction dim = 3
 
static constexpr direction rank = 0
 
static constexpr direction nComponents = 1
 
static const char *const typeName = "scalar"
 
static const char *const componentNames [] = { "" }
 
static const Scalar zero = 0.0
 
static const Scalar one = 1.0
 
static const Scalar max = ScalarVGREAT
 
static const Scalar min = -ScalarVGREAT
 
static const Scalar rootMax = ScalarROOTVGREAT
 
static const Scalar rootMin = -ScalarROOTVGREAT
 
static const Scalar vsmall = ScalarVSMALL
 

Detailed Description

Definition at line 63 of file Scalar.H.

Member Typedef Documentation

◆ cmptType

typedef Scalar cmptType

Definition at line 72 of file Scalar.H.

◆ magType

typedef Scalar magType

Definition at line 75 of file Scalar.H.

◆ labelType

typedef label labelType

Definition at line 78 of file Scalar.H.

Constructor & Destructor Documentation

◆ pTraits() [1/2]

pTraits ( const Scalar val)
explicitnoexcept

Definition at line 43 of file Scalar.C.

◆ pTraits() [2/2]

pTraits ( Istream is)
explicit

Definition at line 49 of file Scalar.C.

Member Function Documentation

◆ operator Scalar()

operator Scalar ( ) const
inlinenoexcept

Definition at line 118 of file Scalar.H.

◆ operator Scalar &()

operator Scalar & ( )
inlinenoexcept

Definition at line 124 of file Scalar.H.

Member Data Documentation

◆ dim

constexpr direction dim = 3
staticconstexpr

Definition at line 84 of file Scalar.H.

◆ rank

constexpr direction rank = 0
staticconstexpr

Definition at line 87 of file Scalar.H.

◆ nComponents

constexpr direction nComponents = 1
staticconstexpr

Definition at line 90 of file Scalar.H.

◆ typeName

const char *const typeName = "scalar"
static

Definition at line 95 of file Scalar.H.

◆ componentNames

const char *const componentNames = { "" }
static

Definition at line 96 of file Scalar.H.

◆ zero

const Scalar zero = 0.0
static

Definition at line 97 of file Scalar.H.

◆ one

const Scalar one = 1.0
static

Definition at line 98 of file Scalar.H.

◆ max

const Scalar max = ScalarVGREAT
static

Definition at line 99 of file Scalar.H.

◆ min

const Scalar min = -ScalarVGREAT
static

Definition at line 100 of file Scalar.H.

◆ rootMax

const Scalar rootMax = ScalarROOTVGREAT
static

Definition at line 101 of file Scalar.H.

◆ rootMin

const Scalar rootMin = -ScalarROOTVGREAT
static

Definition at line 102 of file Scalar.H.

◆ vsmall

const Scalar vsmall = ScalarVSMALL
static

Definition at line 103 of file Scalar.H.


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