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

surfaceToPoint Class Reference

A topoSetSource to selects points based on relation to surface. More...

Inheritance diagram for surfaceToPoint:
Collaboration diagram for surfaceToPoint:

List of all members.


Public Member Functions

 TypeName ("surfaceToPoint")
 Runtime type information.
 surfaceToPoint (const polyMesh &mesh, const fileName &surfName, const scalar nearDist, const bool includeInside, const bool includeOutside)
 Construct from components.
 surfaceToPoint (const polyMesh &mesh, const dictionary &dict)
 Construct from dictionary.
 surfaceToPoint (const polyMesh &mesh, Istream &)
 Construct from Istream.
virtual ~surfaceToPoint ()
virtual void applyToSet (const topoSetSource::setAction action, topoSet &) const

Detailed Description

A topoSetSource to selects points based on relation to surface.

Select based on:

  • distance to surface
  • inside/outside status to surface (Uses normal of nearest surface triangle so requires valid surface topology!)

Source files

Definition at line 52 of file surfaceToPoint.H.


Constructor & Destructor Documentation

surfaceToPoint ( const polyMesh &  mesh,
const fileName &  surfName,
const scalar  nearDist,
const bool  includeInside,
const bool  includeOutside 
)

Construct from components.

Definition at line 124 of file surfaceToPoint.C.

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

Construct from dictionary.

Definition at line 144 of file surfaceToPoint.C.

surfaceToPoint ( const polyMesh &  mesh,
Istream &  is 
)

Construct from Istream.

Definition at line 161 of file surfaceToPoint.C.

~surfaceToPoint (  )  [virtual]

Definition at line 178 of file surfaceToPoint.C.


Member Function Documentation

TypeName ( "surfaceToPoint"   ) 

Runtime type information.

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

Implements topoSetSource.

Definition at line 185 of file surfaceToPoint.C.


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