OpenFOAM logo
Open Source CFD Toolkit

samplingLine Class Reference

Collaboration diagram for samplingLine:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 samplingLine (const fvMesh &mesh, const point &start, const point &end, const label noPoints=50)
 Construct from components.
 samplingLine (const fvMesh &mesh, Istream &)
 Construct from mesh and Istream.
const vectorField & points () const
const scalarField & parametricX () const
scalarField simpleInterpolate (const volScalarField &f) const
 Uses the nearest cell value as the interpolate.
scalarField interpolate (const volScalarField &f) const
 Calculates the cell gradient of f and calls next function.
scalarField interpolate (const volScalarField &f, const volVectorField &gradf) const
 Uses the cell gradient to perform a second order interpolate.

Constructor & Destructor Documentation

samplingLine (  const fvMesh &  mesh,
const point &  start,
const point &  end,
const label  noPoints = 50
) 
 

Construct from components.

samplingLine (  const fvMesh &  mesh,
Istream & 
) 
 

Construct from mesh and Istream.


Member Function Documentation

scalarField interpolate (  const volScalarField &  f,
const volVectorField &  gradf
)  const
 

Uses the cell gradient to perform a second order interpolate.

scalarField interpolate (  const volScalarField &  f  )  const
 

Calculates the cell gradient of f and calls next function.

const scalarField& parametricX (   )  const [inline]
 

Definition at line 124 of file samplingLine.H.

References Foam::interpolate(), Foam::scalarField, Foam::volScalarField, and Foam::volVectorField.

Here is the call graph for this function:

const vectorField& points (   )  const [inline]
 

Definition at line 119 of file samplingLine.H.

scalarField simpleInterpolate (  const volScalarField &  f  )  const
 

Uses the nearest cell value as the interpolate.


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