Public Member Functions | Friends | List of all members
refineCell Class Reference

Container with cells to refine. Refinement given as single direction. More...

Public Member Functions

 refineCell ()
 Default construct. More...
 
 refineCell (const label celli, const vector &direction)
 From components. Vector will be normalized upon construction. More...
 
 refineCell (Istream &is)
 From Istream. Vector will be normalized upon construction. More...
 
label cellNo () const
 
const vectordirection () const
 

Friends

bool operator== (const refineCell &rc1, const refineCell &rc2)
 
bool operator!= (const refineCell &rc1, const refineCell &rc2)
 
Ostreamoperator<< (Ostream &, const refineCell &)
 

Detailed Description

Container with cells to refine. Refinement given as single direction.

Source files

Definition at line 52 of file refineCell.H.

Constructor & Destructor Documentation

◆ refineCell() [1/3]

Default construct.

Definition at line 27 of file refineCell.C.

◆ refineCell() [2/3]

refineCell ( const label  celli,
const vector direction 
)

From components. Vector will be normalized upon construction.

Definition at line 34 of file refineCell.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and Foam::mag().

Here is the call graph for this function:

◆ refineCell() [3/3]

refineCell ( Istream is)
explicit

From Istream. Vector will be normalized upon construction.

Definition at line 55 of file refineCell.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and Foam::mag().

Here is the call graph for this function:

Member Function Documentation

◆ cellNo()

label cellNo ( ) const
inline

Definition at line 89 of file refineCell.H.

Referenced by Foam::operator<<(), refinementIterator::setRefinement(), and edgeVertex::updateLabels().

Here is the caller graph for this function:

◆ direction()

const vector& direction ( ) const
inline

Definition at line 94 of file refineCell.H.

Referenced by Foam::operator<<(), refinementIterator::setRefinement(), and edgeVertex::updateLabels().

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ operator==

bool operator== ( const refineCell rc1,
const refineCell rc2 
)
friend

Definition at line 103 of file refineCell.H.

◆ operator!=

bool operator!= ( const refineCell rc1,
const refineCell rc2 
)
friend

Definition at line 112 of file refineCell.H.

◆ operator<<

Ostream& operator<< ( Ostream ,
const refineCell  
)
friend

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