Public Member Functions | Private Attributes | Friends
refineCell Class Reference

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

Collaboration diagram for refineCell:
Collaboration graph
[legend]

Public Member Functions

 refineCell ()
 Null. More...
 
 refineCell (const label, const vector &)
 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
 

Private Attributes

label cellNo_
 Cell label. More...
 
vector direction_
 Preferred refinement direction (always normalized). More...
 

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]

Null.

Definition at line 31 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 38 of file refineCell.C.

References Foam::abort(), refineCell::cellNo_, refineCell::direction_, 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 normalized upon construction.

Definition at line 59 of file refineCell.C.

References Foam::abort(), refineCell::cellNo_, refineCell::direction_, 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 78 of file refineCell.H.

References refineCell::cellNo_.

Referenced by multiDirRefinement::addCells(), cellCuts::setFromCellCutter(), refinementIterator::setRefinement(), and edgeVertex::updateLabels().

Here is the caller graph for this function:

◆ direction()

const vector& direction ( ) const
inline

Definition at line 83 of file refineCell.H.

References refineCell::direction_.

Referenced by multiDirRefinement::addCells(), cellCuts::setFromCellCutter(), 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 92 of file refineCell.H.

◆ operator!=

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

Definition at line 101 of file refineCell.H.

◆ operator<<

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

Field Documentation

◆ cellNo_

label cellNo_
private

Cell label.

Definition at line 57 of file refineCell.H.

Referenced by refineCell::cellNo(), and refineCell::refineCell().

◆ direction_

vector direction_
private

Preferred refinement direction (always normalized).

Definition at line 60 of file refineCell.H.

Referenced by refineCell::direction(), and refineCell::refineCell().


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