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 56 of file refineCell.H.

Constructor & Destructor Documentation

◆ refineCell() [1/3]

Default construct.

Definition at line 33 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 40 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 61 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 83 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 88 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==

◆ operator!=

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

Definition at line 105 of file refineCell.H.

◆ operator<<

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

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