Public Member Functions | Private Attributes | Friends
patchRefinement Class Reference
Collaboration diagram for patchRefinement:
Collaboration graph
[legend]

Public Member Functions

 patchRefinement ()
 Null contructor. More...
 
 patchRefinement (const word &, const scalar &)
 Construct from word and desired cell size. More...
 
 patchRefinement (Istream &)
 contruct from stream More...
 
 ~patchRefinement ()
 
word patchName () const
 
label patchInSurface (const triSurf &) const
 
scalar cellSize () const
 
void operator= (const patchRefinement &)
 

Private Attributes

word patchName_
 
scalar cellSize_
 

Friends

Istreamoperator>> (Istream &, patchRefinement &)
 
Ostreamoperator<< (Ostream &, const patchRefinement &)
 
bool operator== (const patchRefinement &, const patchRefinement &)
 
bool operator!= (const patchRefinement &, const patchRefinement &)
 

Detailed Description

Definition at line 55 of file patchRefinement.H.

Constructor & Destructor Documentation

◆ patchRefinement() [1/3]

Null contructor.

Definition at line 41 of file patchRefinement.C.

◆ patchRefinement() [2/3]

patchRefinement ( const word n,
const scalar &  s 
)

Construct from word and desired cell size.

Definition at line 48 of file patchRefinement.C.

◆ patchRefinement() [3/3]

contruct from stream

Definition at line 55 of file patchRefinement.C.

◆ ~patchRefinement()

Definition at line 64 of file patchRefinement.C.

Member Function Documentation

◆ patchName()

word patchName ( ) const

Definition at line 70 of file patchRefinement.C.

References patchRefinement::patchName_.

Referenced by Foam::operator==().

Here is the caller graph for this function:

◆ patchInSurface()

label patchInSurface ( const triSurf ts) const

Definition at line 75 of file patchRefinement.C.

References Foam::exit(), Foam::FatalError, FatalErrorIn, forAll, triSurfFacets::patches(), and patchRefinement::patchName_.

Here is the call graph for this function:

◆ cellSize()

scalar cellSize ( ) const

Definition at line 91 of file patchRefinement.C.

References patchRefinement::cellSize_.

◆ operator=()

void operator= ( const patchRefinement pr)

Definition at line 98 of file patchRefinement.C.

References patchRefinement::cellSize_, and patchRefinement::patchName_.

Friends And Related Function Documentation

◆ operator>>

Istream& operator>> ( Istream is,
patchRefinement pr 
)
friend

Definition at line 104 of file patchRefinement.C.

◆ operator<<

Ostream& operator<< ( Ostream os,
const patchRefinement pr 
)
friend

Definition at line 111 of file patchRefinement.C.

◆ operator==

bool operator== ( const patchRefinement p1,
const patchRefinement p2 
)
friend

Definition at line 117 of file patchRefinement.C.

◆ operator!=

bool operator!= ( const patchRefinement p1,
const patchRefinement p2 
)
friend

Definition at line 125 of file patchRefinement.C.

Field Documentation

◆ patchName_

word patchName_
private

◆ cellSize_

scalar cellSize_
private

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