substance Class Reference

Public Member Functions

 substance ()
 Construct null. More...
 
const wordname () const
 
scalar volFrac () const
 
bool operator== (const substance &s) const
 
bool operator!= (const substance &s) const
 

Friends

Istreamoperator>> (Istream &is, substance &s)
 
Ostreamoperator<< (Ostream &os, const substance &s)
 

Detailed Description

Source files

Definition at line 53 of file substance.H.

Constructor & Destructor Documentation

◆ substance()

substance ( )
inline

Construct null.

Definition at line 66 of file substance.H.

Member Function Documentation

◆ name()

const word & name ( ) const
inline

Definition at line 74 of file substance.H.

◆ volFrac()

scalar volFrac ( ) const
inline

Definition at line 79 of file substance.H.

◆ operator==()

bool operator== ( const substance s) const
inline

Definition at line 84 of file substance.H.

References s().

Referenced by substance::operator!=().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator!=()

bool operator!= ( const substance s) const
inline

Definition at line 89 of file substance.H.

References substance::operator==(), and s().

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator>>

Istream & operator>> ( Istream is,
substance s 
)
friend

Definition at line 97 of file substance.H.

◆ operator<<

Ostream & operator<< ( Ostream os,
const substance s 
)
friend

Definition at line 103 of file substance.H.


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