OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

faceToCell Class Reference

A topoSetSource to select cells based on usage in faces. More...

Inheritance diagram for faceToCell:
Collaboration diagram for faceToCell:

List of all members.


Public Types

enum  faceAction { NEIGHBOUR, OWNER, ANY, ALL }
 Enumeration defining the valid options. More...

Public Member Functions

 TypeName ("faceToCell")
 Runtime type information.
 faceToCell (const polyMesh &mesh, const word &setName, const faceAction option)
 Construct from components.
 faceToCell (const polyMesh &mesh, const dictionary &dict)
 Construct from dictionary.
 faceToCell (const polyMesh &mesh, Istream &)
 Construct from Istream.
virtual ~faceToCell ()
virtual void applyToSet (const topoSetSource::setAction action, topoSet &) const

Detailed Description

A topoSetSource to select cells based on usage in faces.

Source files

Definition at line 45 of file faceToCell.H.


Member Enumeration Documentation

enum faceAction

Enumeration defining the valid options.

Enumerator:
NEIGHBOUR 
OWNER 
ANY 
ALL 

Definition at line 51 of file faceToCell.H.


Constructor & Destructor Documentation

faceToCell ( const polyMesh &  mesh,
const word &  setName,
const faceAction  option 
)

Construct from components.

Definition at line 168 of file faceToCell.C.

faceToCell ( const polyMesh &  mesh,
const dictionary &  dict 
)

Construct from dictionary.

Definition at line 182 of file faceToCell.C.

faceToCell ( const polyMesh &  mesh,
Istream &  is 
)

Construct from Istream.

Definition at line 195 of file faceToCell.C.

~faceToCell (  )  [virtual]

Definition at line 208 of file faceToCell.C.


Member Function Documentation

TypeName ( "faceToCell"   ) 

Runtime type information.

void applyToSet ( const topoSetSource::setAction  action,
topoSet &  set 
) const [virtual]

Implements topoSetSource.

Definition at line 215 of file faceToCell.C.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd