OpenFOAM logo
Open Source CFD Toolkit

pointZone Class Reference

Inheritance diagram for pointZone:

Inheritance graph
[legend]
Collaboration diagram for pointZone:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TypeName ("pointZone")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, pointZone, dictionary,(const word &name, const dictionary &dict, const label index, const pointZoneMesh &zm),(name, dict, index, zm))
 pointZone (const word &name, const labelList &addr, const label index, const pointZoneMesh &zm)
 Construct from components.
 pointZone (const word &name, const dictionary &dict, const label index, const pointZoneMesh &zm)
 Construct from dictionary.
 pointZone (const pointZone &pz, const labelList &addr, const label index, const pointZoneMesh &zm)
 Construct given the original zone and resetting the.
virtual autoPtr< pointZoneclone (const pointZoneMesh &zm) const
 Construct and return a clone, resetting the zone mesh.
virtual autoPtr< pointZoneclone (const pointZoneMesh &zm, const label index, const labelList &addr) const
 Construct and return a clone, resetting the point list.
virtual ~pointZone ()
 Destructor.
const wordname () const
 Return name.
label whichPoint (const label globalPointID) const
 Map storing the local point index for every global point.
label index () const
 Return the index of this zone in zone list.
const pointZoneMeshzoneMesh () const
 Return zoneMesh reference.
void clearAddressing ()
 Clear addressing.
virtual void movePoints (const pointField &)
 Correct patch after moving points.
virtual void write (Ostream &) const
 Write.
virtual void writeDict (Ostream &) const
 Write dictionary.
void operator= (const pointZone &)
 Assign to zone clearing demand-driven data.
void operator= (const labelList &)
 Assign addressing clearing demand-driven data.

Static Public Member Functions

autoPtr< pointZoneNew (const word &name, const dictionary &dict, const label index, const pointZoneMesh &)
 Return a pointer to a new point zone.

Friends

Ostreamoperator<< (Ostream &, const pointZone &)

Constructor & Destructor Documentation

pointZone const word name,
const labelList addr,
const label  index,
const pointZoneMesh zm
 

Construct from components.

pointZone const word name,
const dictionary dict,
const label  index,
const pointZoneMesh zm
 

Construct from dictionary.

pointZone const pointZone pz,
const labelList addr,
const label  index,
const pointZoneMesh zm
 

Construct given the original zone and resetting the.

point list and zone mesh information

virtual ~pointZone  )  [virtual]
 

Destructor.


Member Function Documentation

void clearAddressing  ) 
 

Clear addressing.

virtual autoPtr<pointZone> clone const pointZoneMesh zm,
const label  index,
const labelList addr
const [inline, virtual]
 

Construct and return a clone, resetting the point list.

and zone mesh

Definition at line 176 of file pointZone.H.

References Foam::label, and Foam::pointZoneMesh.

virtual autoPtr<pointZone> clone const pointZoneMesh zm  )  const [inline, virtual]
 

Construct and return a clone, resetting the zone mesh.

Definition at line 163 of file pointZone.H.

References Foam::label, Foam::labelList, and Foam::pointZoneMesh.

declareRunTimeSelectionTable autoPtr  ,
pointZone  ,
dictionary  ,
(const word &name, const dictionary &dict, const label index, const pointZoneMesh &zm)  ,
(name, dict, index, zm) 
 

label index  )  const [inline]
 

Return the index of this zone in zone list.

Definition at line 226 of file pointZone.H.

virtual void movePoints const pointField  )  [inline, virtual]
 

Correct patch after moving points.

Definition at line 238 of file pointZone.H.

References Foam::labelList.

const word& name  )  const [inline]
 

Return name.

Definition at line 212 of file pointZone.H.

autoPtr<pointZone> New const word name,
const dictionary dict,
const label  index,
const pointZoneMesh
[static]
 

Return a pointer to a new point zone.

created on freestore from dictionary

void operator= const labelList  ) 
 

Assign addressing clearing demand-driven data.

void operator= const pointZone  ) 
 

Assign to zone clearing demand-driven data.

TypeName "pointZone"   ) 
 

Runtime type information.

label whichPoint const label  globalPointID  )  const
 

Map storing the local point index for every global point.

index. Used to find out the index of point in the zone from the known global point index. If the point is not in the zone, returns -1

virtual void write Ostream  )  const [virtual]
 

Write.

virtual void writeDict Ostream  )  const [virtual]
 

Write dictionary.

const pointZoneMesh& zoneMesh  )  const
 

Return zoneMesh reference.


Friends And Related Function Documentation

Ostream& operator<< Ostream ,
const pointZone
[friend]
 


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