boundaryRandom Class Reference

Random samples within patches. More...

Inheritance diagram for boundaryRandom:
Collaboration diagram for boundaryRandom:

Public Member Functions

 TypeName ("boundaryRandom")
 Runtime type information. More...
 
 boundaryRandom (const word &name, const polyMesh &mesh, const dictionary &dict)
 Construct from dictionary. More...
 
virtual ~boundaryRandom ()
 Destructor. More...
 
- Public Member Functions inherited from sampledSet
 TypeName ("sampledSet")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, sampledSet, word,(const word &name, const polyMesh &mesh, const dictionary &dict),(name, mesh, dict))
 
 sampledSet (const word &name, const polyMesh &mesh, const word &axis)
 Construct from components. More...
 
 sampledSet (const word &name, const polyMesh &mesh, const dictionary &dict)
 Construct from dictionary. More...
 
autoPtr< sampledSetclone () const
 Clone. More...
 
virtual ~sampledSet ()
 Destructor. More...
 
const wordname () const
 Access the name. More...
 
const polyMeshmesh () const
 Access the mesh. More...
 
const coordSetcoords () const
 Access the coordinate set. More...
 
label size () const
 Return the size. More...
 
const labelListsegments () const
 Return the size. More...
 
const pointFieldpositions () const
 Access the positions. More...
 
const labelListcells () const
 Access the cells. More...
 
const labelListfaces () const
 Access the faces. More...
 
virtual void movePoints ()
 Update for mesh point-motion. More...
 
virtual void topoChange (const polyTopoChangeMap &)
 Update topology using the given map. More...
 
virtual void mapMesh (const polyMeshMap &)
 Update from another mesh using the given map. More...
 
virtual void distribute (const polyDistributionMap &)
 Redistribute or update using the given distribution map. More...
 
 operator const coordSet & () const
 Cast to the coordinate set. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from sampledSet
static autoPtr< sampledSetNew (const word &name, const polyMesh &mesh, const dictionary &dict)
 Return a reference to the selected sampledSet. More...
 

Detailed Description

Random samples within patches.

Usage
Property Description Req'd? Default
patches The patches on which to sample yes
nPoints The number of points yes
axis The coordinate axis that is written yes

Example specification:

    {
        type        boundaryRandom;
        patches     (inlet1 inlet2);
        nPoints     1000;
        axis        x;
    }
Source files

Definition at line 91 of file boundaryRandom.H.

Constructor & Destructor Documentation

◆ boundaryRandom()

boundaryRandom ( const word name,
const polyMesh mesh,
const dictionary dict 
)

Construct from dictionary.

Definition at line 169 of file boundaryRandom.C.

◆ ~boundaryRandom()

~boundaryRandom ( )
virtual

Destructor.

Definition at line 184 of file boundaryRandom.C.

Member Function Documentation

◆ TypeName()

TypeName ( "boundaryRandom"  )

Runtime type information.


The documentation for this class was generated from the following files: