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

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 62 of file SundanceCToAInterpolator.hpp.


Constructor & Destructor Documentation

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

Definition at line 66 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 76 of file SundanceCToAInterpolator.hpp.

References interpolate().

void CToAInterpolator::updateField ( const Expr field)

Member Data Documentation

Definition at line 92 of file SundanceCToAInterpolator.hpp.

Referenced by interpolate(), and updateField().

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

Definition at line 95 of file SundanceCToAInterpolator.hpp.

Referenced by updateField().

Definition at line 96 of file SundanceCToAInterpolator.hpp.

Referenced by interpolate(), and updateField().

Definition at line 93 of file SundanceCToAInterpolator.hpp.

Referenced by interpolate(), and updateField().

Definition at line 94 of file SundanceCToAInterpolator.hpp.

Referenced by interpolate(), and updateField().

Site Contact