Container to encapsulate various operations for linear equation of the forms with real coefficients: More...
Public Types | |
enum | components { A, B } |
![]() | |
typedef VectorSpace< Form, Cmpt, Ncmpts > | vsType |
typedef Cmpt | cmptType |
typedef Cmpt | magType |
typedef Cmpt * | iterator |
Public Member Functions | |
linearEqn () | |
linearEqn (const Foam::zero) | |
linearEqn (const scalar a, const scalar b) | |
scalar | a () const |
scalar | b () const |
scalar & | a () |
scalar & | b () |
scalar | value (const scalar x) const |
scalar | derivative (const scalar x) const |
scalar | error (const scalar x) const |
Roots< 1 > | roots () const |
![]() | |
VectorSpace ()=default | |
VectorSpace (const Foam::zero) | |
VectorSpace (const VectorSpace< Form, Cmpt, Ncmpts > &vs) | |
VectorSpace (const VectorSpace< Form2, Cmpt2, Ncmpts > &) | |
VectorSpace (Istream &is) | |
const Cmpt & | component (const direction) const |
Cmpt & | component (const direction) |
void | component (Cmpt &, const direction) const |
void | replace (const direction, const Cmpt &) |
const Cmpt * | cdata () const noexcept |
Cmpt * | data () noexcept |
const ConstBlock< SubVector, BStart > | block () const |
const Foam::VectorSpace< Form, Cmpt, Ncmpts >::template ConstBlock< SubVector, BStart > | block () const |
const Cmpt & | operator[] (const direction) const |
Cmpt & | operator[] (const direction) |
void | operator= (const VectorSpace< Form, Cmpt, Ncmpts > &) |
void | operator= (const Foam::zero) |
void | operator+= (const VectorSpace< Form, Cmpt, Ncmpts > &) |
void | operator-= (const VectorSpace< Form, Cmpt, Ncmpts > &) |
void | operator*= (const scalar) |
void | operator/= (const scalar) |
iterator | begin () noexcept |
const_iterator | begin () const noexcept |
iterator | end () noexcept |
const_iterator | end () const noexcept |
const_iterator | cbegin () const noexcept |
const_iterator | cend () const noexcept |
Additional Inherited Members | |
![]() | |
static constexpr direction | size () noexcept |
static Form | uniform (const Cmpt &s) |
![]() | |
const typedef Cmpt * | const_iterator |
Cmpt | v_ [Ncmpts] |
![]() | |
static constexpr direction | dim |
static constexpr direction | nComponents |
static constexpr direction | mRows |
static constexpr direction | nCols |
static const char *const | typeName |
static const char *const | componentNames [] |
static const Form | zero |
static const Form | one |
static const Form | max |
static const Form | min |
static const Form | rootMax |
static const Form | rootMin |
Container to encapsulate various operations for linear equation of the forms with real coefficients:
Definition at line 56 of file linearEqn.H.
enum components |
Enumerator | |
---|---|
A | |
B |
Definition at line 63 of file linearEqn.H.
|
inline |
Definition at line 24 of file linearEqnI.H.
|
inline |
Definition at line 28 of file linearEqnI.H.
|
inline |
Definition at line 34 of file linearEqnI.H.
References A, B, and Foam::constant::physicoChemical::b.
|
inline |
Definition at line 43 of file linearEqnI.H.
References A.
|
inline |
Definition at line 49 of file linearEqnI.H.
References B.
|
inline |
|
inline |
|
inline |
Definition at line 67 of file linearEqnI.H.
References Foam::constant::physicoChemical::b, and x.
|
inline |
Definition at line 73 of file linearEqnI.H.
|
inline |
Definition at line 79 of file linearEqnI.H.
References Foam::constant::physicoChemical::b, Foam::mag(), and x.
|
inline |
Definition at line 85 of file linearEqnI.H.
References Foam::constant::physicoChemical::b, Foam::mag(), Foam::roots::nan, Foam::roots::negInf, Foam::roots::posInf, Foam::roots::real, and Foam::sign().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.