Public Member Functions | Private Attributes
Sundance::CToAInterpolator Class Reference

CToAInterpolator interpolates a discrete function at particle positions. More...

List of all members.

Public Member Functions

 CToAInterpolator (const AToCPointLocator &locator, const Expr &field)
void interpolate (const Teuchos::Array< double > &positions, Teuchos::Array< double > &results) const
void interpolate (const std::vector< double > &positions, std::vector< double > &results) const
void updateField (const Expr &field)

Private Attributes

int dim_
int nFacets_
int rangeDim_
RCP< Array< double > > elemToVecValuesMap_
AToCPointLocator locator_

Detailed Description

CToAInterpolator interpolates a discrete function at particle positions.

Note: not tested in parallel.

Definition at line 56 of file SundanceCToAInterpolator.hpp.


Constructor & Destructor Documentation

CToAInterpolator::CToAInterpolator ( const AToCPointLocator locator,
const Expr field 
)

Definition at line 55 of file SundanceCToAInterpolator.cpp.

References updateField().


Member Function Documentation

void CToAInterpolator::interpolate ( const Teuchos::Array< double > &  positions,
Teuchos::Array< double > &  results 
) const
void Sundance::CToAInterpolator::interpolate ( const std::vector< double > &  positions,
std::vector< double > &  results 
) const [inline]

Definition at line 70 of file SundanceCToAInterpolator.hpp.

void CToAInterpolator::updateField ( const Expr field)

Member Data Documentation

Definition at line 86 of file SundanceCToAInterpolator.hpp.

Referenced by interpolate(), and updateField().

RCP<Array<double> > Sundance::CToAInterpolator::elemToVecValuesMap_ [private]

Definition at line 89 of file SundanceCToAInterpolator.hpp.

Referenced by updateField().

Definition at line 90 of file SundanceCToAInterpolator.hpp.

Referenced by interpolate(), and updateField().

Definition at line 87 of file SundanceCToAInterpolator.hpp.

Referenced by interpolate(), and updateField().

Definition at line 88 of file SundanceCToAInterpolator.hpp.

Referenced by interpolate(), and updateField().

Site Contact