OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

cuttingPlane Class Reference

Inheritance diagram for cuttingPlane:

Inheritance graph
[legend]
Collaboration diagram for cuttingPlane:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 62 of file cuttingPlane.H.


Public Member Functions

 cuttingPlane (const primitiveMesh &, const plane &)
 Construct from components: Mesh reference and plane.
 cuttingPlane (const primitiveMesh &, const plane &, const labelList &cellIdLabels)
 Construct from mesh reference and plane,.
const plane & planeDesc () const
 Return plane used.
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 &)

Protected Member Functions

 cuttingPlane (const plane &)
 Construct plane description without cutting.
void reCut (const primitiveMesh &)
 recut mesh with existing planeDesc
void reCut (const primitiveMesh &, const labelList &cellIdLabels)
 recut mesh with existing planeDesc, restricted to a list of cells

Constructor & Destructor Documentation

cuttingPlane ( const plane &   )  [protected]

Construct plane description without cutting.

cuttingPlane ( const primitiveMesh &  ,
const plane &   
)

Construct from components: Mesh reference and plane.

cuttingPlane ( const primitiveMesh &  ,
const plane &  ,
const labelList &  cellIdLabels 
)

Construct from mesh reference and plane,.

restricted to a list of cells


Member Function Documentation

void reCut ( const primitiveMesh &   )  [protected]

recut mesh with existing planeDesc

void reCut ( const primitiveMesh &  ,
const labelList &  cellIdLabels 
) [protected]

recut mesh with existing planeDesc, restricted to a list of cells

const plane& planeDesc (  )  const

Return plane used.

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?

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

Sample the cell field.

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

void operator= ( const cuttingPlane &   ) 


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