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

pointZone Class Reference

Inheritance diagram for pointZone:

Inheritance graph
[legend]
Collaboration diagram for pointZone:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 73 of file pointZone.H.


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< pointZone > clone (const pointZoneMesh &zm) const
 Construct and return a clone, resetting the zone mesh.
virtual autoPtr< pointZone > clone (const pointZoneMesh &zm, const label index, const labelList &addr) const
 Construct and return a clone, resetting the point list.
virtual ~pointZone ()
 Destructor.
const word & name () 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 pointZoneMesh & zoneMesh () const
 Return zoneMesh reference.
void clearAddressing ()
 Clear addressing.
bool checkDefinition (const bool report=false) const
 Check zone definition. Return true if in error.
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

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

Friends

Ostream & operator<< (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

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)   
)

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.

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.

static 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

const word& name (  )  const [inline]

Return name.

Definition at line 212 of file pointZone.H.

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

label index (  )  const [inline]

Return the index of this zone in zone list.

Definition at line 226 of file pointZone.H.

const pointZoneMesh& zoneMesh (  )  const

Return zoneMesh reference.

void clearAddressing (  ) 

Clear addressing.

bool checkDefinition ( const bool  report = false  )  const

Check zone definition. Return true if in error.

virtual void movePoints ( const pointField &   )  [inline, virtual]

Correct patch after moving points.

Definition at line 241 of file pointZone.H.

virtual void write ( Ostream &   )  const [virtual]

Write.

virtual void writeDict ( Ostream &   )  const [virtual]

Write dictionary.

void operator= ( const pointZone &   ) 

Assign to zone clearing demand-driven data.

void operator= ( const labelList &   ) 

Assign addressing clearing demand-driven data.


Friends And Related Function Documentation

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


The documentation for this class was generated from the following file:
  • src/OpenFOAM/meshes/polyMesh/zones/pointZones/pointZone/pointZone.H
Copyright © 2000-2007 OpenCFD Ltd