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

samplingLine Class Reference

Collaboration diagram for samplingLine:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 64 of file samplingLine.H.


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

const vectorField& points (  )  const [inline]

Definition at line 119 of file samplingLine.H.

const scalarField& parametricX (  )  const [inline]

Definition at line 124 of file samplingLine.H.

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.


The documentation for this class was generated from the following file: Copyright © 2000-2007 OpenCFD Ltd