Public Member Functions  
template<class Type >  
Type  sample () const 
Sample the distribution into components of a primitive type. More...  
virtual tmp< scalarField >  sample (const label n) const 
Sample the distribution into a field. More...  
Protected Member Functions  
FOR_ALL_FIELD_TYPES (VIRTUAL_SAMPLE_TYPE)  
Definition at line 269 of file distribution.H.

protected 
Type sample 
Sample the distribution into components of a primitive type.
Definition at line 32 of file distributionTemplates.C.
References Foam::setComponent().

virtual 
Sample the distribution into a field.
Definition at line 45 of file distributionTemplates.C.
References forAll, n, tmp< T >::ref(), and scalarField().