Public Member Functions | List of all members
orderedPhasePair Class Reference
Inheritance diagram for orderedPhasePair:
Inheritance graph
[legend]
Collaboration diagram for orderedPhasePair:
Collaboration graph
[legend]

Public Member Functions

 orderedPhasePair (const phaseModel &from, const phaseModel &to)
 
virtual ~orderedPhasePair ()=default
 
virtual const phaseModelfrom () const
 
virtual const phaseModelto () const
 
virtual word name () const
 
 orderedPhasePair (const phaseModel &dispersed, const phaseModel &continuous)
 
virtual ~orderedPhasePair ()
 
virtual const phaseModeldispersed () const
 
virtual const phaseModelcontinuous () const
 
virtual word name () const
 
virtual word otherName () const
 
virtual tmp< volScalarFieldE () const
 
 orderedPhasePair (const phaseModel &dispersed, const phaseModel &continuous, const dimensionedVector &g, const scalarTable &sigmaTable, const dictTable &aspectRatioTable)
 
virtual ~orderedPhasePair ()
 
virtual const phaseModeldispersed () const
 
virtual const phaseModelcontinuous () const
 
virtual word name () const
 
virtual tmp< volScalarFieldE () const
 
- Public Member Functions inherited from phasePair
 phasePair (const phaseModel &phase1, const phaseModel &phase2, const bool ordered=false)
 
virtual ~phasePair ()=default
 
const phaseModelphase1 () const
 
const phaseModelphase2 () const
 
 phasePair (const phaseModel &phase1, const phaseModel &phase2, const bool ordered=false)
 
virtual ~phasePair ()
 
tmp< volScalarFieldrho () const
 
tmp< volScalarFieldmagUr () const
 
tmp< volVectorFieldUr () const
 
tmp< volScalarFieldRe () const
 
tmp< volScalarFieldPr () const
 
tmp< volScalarFieldEo () const
 
tmp< volScalarFieldEoH1 () const
 
tmp< volScalarFieldEoH2 () const
 
tmp< volScalarFieldsigma () const
 
tmp< volScalarFieldMo () const
 
tmp< volScalarFieldTa () const
 
const phaseModelphase1 () const
 
const phaseModelphase2 () const
 
bool contains (const phaseModel &phase) const
 
const phaseModelotherPhase (const phaseModel &phase) const
 
label index (const phaseModel &phase) const
 
const uniformDimensionedVectorFieldg () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
const_iterator begin () const
 
const_iterator end () const
 
 phasePair (const phaseModel &phase1, const phaseModel &phase2, const dimensionedVector &g, const scalarTable &sigmaTable, const bool ordered=false)
 
virtual ~phasePair ()
 
tmp< volScalarFieldrho () const
 
tmp< volScalarFieldmagUr () const
 
tmp< volVectorFieldUr () const
 
tmp< volScalarFieldRe () const
 
tmp< volScalarFieldPr () const
 
tmp< volScalarFieldEo () const
 
tmp< volScalarFieldEoH1 () const
 
tmp< volScalarFieldEoH2 () const
 
tmp< volScalarFieldMo () const
 
tmp< volScalarFieldTa () const
 
const phaseModelphase1 () const
 
const phaseModelphase2 () const
 
const dimensionedVectorg () const
 
const dimensionedScalarsigma () const
 
- Public Member Functions inherited from phasePairKey
 phasePairKey ()=default
 
 phasePairKey (const word &name1, const word &name2, const bool ordered=false)
 
virtual ~phasePairKey ()=default
 
bool ordered () const noexcept
 
 phasePairKey ()=default
 
 phasePairKey (const word &name1, const word &name2, const bool ordered=false)
 
virtual ~phasePairKey ()=default
 
bool ordered () const noexcept
 
 phasePairKey ()=default
 
 phasePairKey (const word &name1, const word &name2, const bool ordered=false)
 
virtual ~phasePairKey ()=default
 
bool ordered () const noexcept
 
- Public Member Functions inherited from Pair< word >
 Pair ()=default
 
 Pair (const T &f, const T &s)
 
 Pair (T &&f, T &&s)
 
 Pair (const std::pair< T, T > &vals)
 
 Pair (std::pair< T, T > &&vals)
 
 Pair (const FixedList< T, 2 > &list)
 
 Pair (const T &f, const T &s, const bool doSort)
 
 Pair (const FixedList< T, 2 > &list, const bool doSort)
 
 Pair (Istream &is)
 
const Tsecond () const noexcept
 
Tsecond () noexcept
 
const Tother (const T &a) const
 
bool sorted () const
 
void flip ()
 
void sort ()
 

Additional Inherited Members

- Public Types inherited from phasePair
typedef HashTable< dictionary, phasePairKey, phasePairKey::hashdictTable
 
typedef HashTable< scalar, phasePairKey, phasePairKey::hashscalarTable
 
typedef HashTable< dictionary, phasePairKey, phasePairKey::hashdictTable
 
typedef HashTable< scalar, phasePairKey, phasePairKey::hashscalarTable
 
- Public Types inherited from phasePairKey
using hash = phasePairKey::hasher
 
using hash = phasePairKey::hasher
 
using hash = phasePairKey::hasher
 
- Static Public Member Functions inherited from Pair< word >
static int compare (const Pair< T > &a, const Pair< T > &b)
 

Detailed Description

Source files

Source files

Source files

Definition at line 45 of file orderedPhasePair.H.

Constructor & Destructor Documentation

◆ orderedPhasePair() [1/3]

orderedPhasePair ( const phaseModel from,
const phaseModel to 
)

Definition at line 26 of file orderedPhasePair.C.

◆ ~orderedPhasePair() [1/3]

~orderedPhasePair ( )
virtualdefault

Definition at line 43 of file orderedPhasePair.C.

◆ orderedPhasePair() [2/3]

orderedPhasePair ( const phaseModel dispersed,
const phaseModel continuous 
)

◆ ~orderedPhasePair() [2/3]

virtual ~orderedPhasePair ( )
virtual

◆ orderedPhasePair() [3/3]

orderedPhasePair ( const phaseModel dispersed,
const phaseModel continuous,
const dimensionedVector g,
const scalarTable sigmaTable,
const dictTable aspectRatioTable 
)

Definition at line 28 of file orderedPhasePair.C.

References HashTable::found(), and Foam::New().

Here is the call graph for this function:

◆ ~orderedPhasePair() [3/3]

virtual ~orderedPhasePair ( )
virtual

Member Function Documentation

◆ from()

const Foam::phaseModel & from ( ) const
virtual

Reimplemented from phasePair.

Definition at line 37 of file orderedPhasePair.C.

References phasePair::phase1().

Here is the call graph for this function:

◆ to()

const Foam::phaseModel & to ( ) const
virtual

Reimplemented from phasePair.

Definition at line 43 of file orderedPhasePair.C.

References phase2.

◆ name() [1/3]

Foam::word name ( ) const
virtual

Reimplemented from phasePair.

Definition at line 49 of file orderedPhasePair.C.

◆ dispersed() [1/2]

const Foam::phaseModel & dispersed ( ) const
virtual

Reimplemented from phasePair.

Definition at line 49 of file orderedPhasePair.C.

References phase1.

◆ continuous() [1/2]

const Foam::phaseModel & continuous ( ) const
virtual

Reimplemented from phasePair.

Definition at line 55 of file orderedPhasePair.C.

References phase2.

◆ name() [2/3]

virtual word name ( ) const
virtual

Reimplemented from phasePair.

◆ otherName()

Foam::word otherName ( ) const
virtual

Reimplemented from phasePair.

Definition at line 69 of file orderedPhasePair.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and word::null.

Here is the call graph for this function:

◆ E() [1/2]

Foam::tmp< Foam::volScalarField > E ( ) const
virtual

Reimplemented from phasePair.

Definition at line 79 of file orderedPhasePair.C.

References phaseSystem::E(), phaseModel::fluid(), and phase1.

Here is the call graph for this function:

◆ dispersed() [2/2]

virtual const phaseModel& dispersed ( ) const
virtual

Reimplemented from phasePair.

◆ continuous() [2/2]

virtual const phaseModel& continuous ( ) const
virtual

Reimplemented from phasePair.

◆ name() [3/3]

virtual word name ( ) const
virtual

Reimplemented from phasePair.

◆ E() [2/2]

virtual tmp<volScalarField> E ( ) const
virtual

Reimplemented from phasePair.


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