Loading...
Searching...
No Matches
refineCell Class Reference

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

#include <refineCell.H>

Public Member Functions

 refineCell ()
 Default construct.
 refineCell (const label celli, const vector &direction)
 From components. Vector will be normalized upon construction.
 refineCell (Istream &is)
 From Istream. Vector will be normalized upon construction.
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]

refineCell ( )

Default construct.

Definition at line 27 of file refineCell.C.

References Foam::Zero.

Referenced by operator!=, operator<<, and operator==.

Here is the caller graph for this function:

◆ 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(), direction(), 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, Foam::mag(), and Foam::readLabel().

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<<(), 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<<(), refineCell(), refinementIterator::setRefinement(), and edgeVertex::updateLabels().

Here is the caller graph for this function:

◆ operator==

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

Definition at line 102 of file refineCell.H.

References cellNo(), and refineCell().

◆ operator!=

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

Definition at line 111 of file refineCell.H.

References refineCell().

◆ operator<<

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

References refineCell().


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