OpenFOAM logo
Open Source CFD Toolkit

cuttingPlane Class Reference

Inheritance diagram for cuttingPlane:

Inheritance graph
[legend]
Collaboration diagram for cuttingPlane:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 cuttingPlane (const primitiveMesh &, const plane &)
 Construct from components: Mesh reference and plane.
const pointField & points () const
 Return pointField of cutting points.
const faceList & faces () const
 Return faceList of points in cells.
const labelList & cells () const
 Return labelList of cut cells.
bool cut ()
 Return true or false to question: have any cells been cut?
template<class Type>
tmp< Field< Type > > sample (const Field< Type > &) const
 Sample the cell field.
template<class Type>
tmp< Field< Type > > sample (const tmp< Field< Type > > &) const
void operator= (const cuttingPlane &)

Constructor & Destructor Documentation

cuttingPlane (  const primitiveMesh &  ,
const plane & 
) 
 

Construct from components: Mesh reference and plane.


Member Function Documentation

const labelList& cells (   )  const
 

Return labelList of cut cells.

bool cut (   ) 
 

Return true or false to question: have any cells been cut?

const faceList& faces (   )  const
 

Return faceList of points in cells.

void operator= (  const cuttingPlane &   ) 
 

const pointField& points (   )  const
 

Return pointField of cutting points.

tmp<Field<Type> > sample (  const tmp< Field< Type > > &   )  const
 

tmp<Field<Type> > sample (  const Field< Type > &   )  const
 

Sample the cell field.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org