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

sphereToCell Class Reference

A topoSetSource to select cells based on cell centres inside sphere. More...

Inheritance diagram for sphereToCell:
Collaboration diagram for sphereToCell:

List of all members.


Public Member Functions

 TypeName ("sphereToCell")
 Runtime type information.
 sphereToCell (const polyMesh &mesh, const vector &centre, const scalar radius)
 Construct from components.
 sphereToCell (const polyMesh &mesh, const dictionary &dict)
 Construct from dictionary.
 sphereToCell (const polyMesh &mesh, Istream &)
 Construct from Istream.
virtual ~sphereToCell ()
virtual void applyToSet (const topoSetSource::setAction action, topoSet &) const

Detailed Description

A topoSetSource to select cells based on cell centres inside sphere.

Source files

Definition at line 44 of file sphereToCell.H.


Constructor & Destructor Documentation

sphereToCell ( const polyMesh &  mesh,
const vector &  centre,
const scalar  radius 
)

Construct from components.

Definition at line 62 of file sphereToCell.C.

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

Construct from dictionary.

Definition at line 75 of file sphereToCell.C.

sphereToCell ( const polyMesh &  mesh,
Istream &  is 
)

Construct from Istream.

Definition at line 88 of file sphereToCell.C.

~sphereToCell (  )  [virtual]

Definition at line 101 of file sphereToCell.C.


Member Function Documentation

TypeName ( "sphereToCell"   ) 

Runtime type information.

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

Implements topoSetSource.

Definition at line 108 of file sphereToCell.C.


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