Public Member Functions | List of all members
linearInterpolationWeights Class Reference
Inheritance diagram for linearInterpolationWeights:
Inheritance graph
[legend]
Collaboration diagram for linearInterpolationWeights:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("linear")
 
 linearInterpolationWeights (const scalarField &samples)
 
virtual ~linearInterpolationWeights ()=default
 
virtual bool valueWeights (const scalar t, labelList &indices, scalarField &weights) const
 
virtual bool integrationWeights (const scalar t1, const scalar t2, labelList &indices, scalarField &weights) const
 
- Public Member Functions inherited from interpolationWeights
 TypeName ("interpolationWeights")
 
 declareRunTimeSelectionTable (autoPtr, interpolationWeights, word,(const scalarField &samples),(samples))
 
 interpolationWeights (const scalarField &samples)
 
virtual ~interpolationWeights ()=default
 
template<class ListType1 , class ListType2 >
Foam::outerProduct< typename ListType1::value_type, typename ListType2::value_type >::type weightedSum (const ListType1 &f1, const ListType2 &f2)
 

Additional Inherited Members

- Static Public Member Functions inherited from interpolationWeights
static autoPtr< interpolationWeightsNew (const word &type, const scalarField &samples)
 
template<class ListType1 , class ListType2 >
static outerProduct< typename ListType1::value_type, typename ListType2::value_type >::type weightedSum (const ListType1 &f1, const ListType2 &f2)
 
- Protected Member Functions inherited from interpolationWeights
 interpolationWeights (const interpolationWeights &)=delete
 
void operator= (const interpolationWeights &)=delete
 
- Protected Attributes inherited from interpolationWeights
const scalarFieldsamples_
 

Detailed Description

Source files

Definition at line 46 of file linearInterpolationWeights.H.

Constructor & Destructor Documentation

◆ linearInterpolationWeights()

linearInterpolationWeights ( const scalarField samples)
explicit

Definition at line 70 of file linearInterpolationWeights.C.

◆ ~linearInterpolationWeights()

virtual ~linearInterpolationWeights ( )
virtualdefault

Member Function Documentation

◆ TypeName()

TypeName ( "linear"  )

◆ valueWeights()

bool valueWeights ( const scalar  t,
labelList indices,
scalarField weights 
) const
virtual

Implements interpolationWeights.

Definition at line 82 of file linearInterpolationWeights.C.

References Foam::findLower(), and List::setSize().

Referenced by searchableExtrudedCircle::findParametricNearest(), projectCurveEdge::position(), projectEdge::position(), projectFace::project(), and splineInterpolationWeights::valueWeights().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ integrationWeights()

bool integrationWeights ( const scalar  t1,
const scalar  t2,
labelList indices,
scalarField weights 
) const
virtual

Implements interpolationWeights.

Definition at line 149 of file linearInterpolationWeights.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::findLower(), forAll, Pair::second(), and List::setSize().

Here is the call graph for this function:

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