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 51 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 Sundance::CToAInterpolator::interpolate ( const std::vector< double > &  positions,
std::vector< double > &  results 
) const [inline]

Definition at line 65 of file SundanceCToAInterpolator.hpp.

References interpolate().

void CToAInterpolator::interpolate ( const Teuchos::Array< double > &  positions,
Teuchos::Array< double > &  results 
) const

void CToAInterpolator::updateField ( const Expr field  ) 


Member Data Documentation

Definition at line 81 of file SundanceCToAInterpolator.hpp.

Referenced by interpolate(), and updateField().

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

Definition at line 84 of file SundanceCToAInterpolator.hpp.

Referenced by updateField().

Definition at line 85 of file SundanceCToAInterpolator.hpp.

Referenced by interpolate(), and updateField().

Definition at line 82 of file SundanceCToAInterpolator.hpp.

Referenced by interpolate(), and updateField().

Definition at line 83 of file SundanceCToAInterpolator.hpp.

Referenced by interpolate(), and updateField().

Site Contact