refineCell Class Reference

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

Public Member Functions

 refineCell ()
 Null. More...
 
 refineCell (const label, const vector &)
 From components. Vector will be normalised upon construction. More...
 
 refineCell (Istream &is)
 From Istream. Vector will be normalised 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]

Null.

Definition at line 31 of file refineCell.C.

◆ refineCell() [2/3]

refineCell ( const label  celli,
const vector direction 
)

From components. Vector will be normalised upon construction.

Definition at line 38 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)

From Istream. Vector will be normalised upon construction.

Definition at line 59 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 82 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 87 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 95 of file refineCell.H.

◆ operator!=

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

Definition at line 104 of file refineCell.H.

◆ operator<<

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

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