Sundance::PointDataExprFunctor Class Reference

Inheritance diagram for Sundance::PointDataExprFunctor:

Sundance::PointwiseUserDefFunctor0 Sundance::UserDefFunctor

List of all members.

Public Member Functions

 PointDataExprFunctor (const Array< Point > &locations, const Array< double > &values, const double &pointComparisonTolerance)
virtual void eval0 (const double *in, double *out) const
int numArgs () const

Private Attributes

std::map< Point, double,
int dim_

Detailed Description

This is a functor that allows the sensor readings to be obtained through a Sundance user-defined expression.

Definition at line 75 of file PDEOptPointData.hpp.

Constructor & Destructor Documentation

Sundance::PointDataExprFunctor::PointDataExprFunctor ( const Array< Point > &  locations,
const Array< double > &  values,
const double &  pointComparisonTolerance 

Definition at line 134 of file PDEOptPointData.cpp.

References pointToValueMap_.

Member Function Documentation

void Sundance::PointDataExprFunctor::eval0 ( const double *  in,
double *  out 
) const [virtual]

Implements Sundance::PointwiseUserDefFunctor0.

Definition at line 158 of file PDEOptPointData.cpp.

References dim_, and pointToValueMap_.

int Sundance::PointDataExprFunctor::numArgs (  )  const [inline]

Definition at line 87 of file PDEOptPointData.hpp.

References dim_.

Member Data Documentation

Definition at line 91 of file PDEOptPointData.hpp.

Referenced by eval0(), and numArgs().

Definition at line 90 of file PDEOptPointData.hpp.

Referenced by eval0(), and PointDataExprFunctor().

Site Contact