SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Static Public Attributes | List of all members
Dim3Locate< ElemBasis > Class Template Reference

#include <Locate.h>

Inheritance diagram for Dim3Locate< ElemBasis >:
HexLocate< ElemBasis > PrismLocate< ElemBasis > TetLocate< ElemBasis >

Public Types

typedef ElemBasis::value_type T
 

Public Member Functions

 Dim3Locate ()
 
virtual ~Dim3Locate ()
 
template<class ElemData , class VECTOR >
bool get_iterative (const ElemBasis *pEB, VECTOR &x, const T &value, const ElemData &cd) const
 find value in interpolation for given value More...
 

Static Public Attributes

static const double thresholdDist =1e-7
 Thresholds for coordinates checks. More...
 
static const double thresholdDist1 =1.+Dim3Locate::thresholdDist
 1+thresholdDist More...
 
static const int maxsteps =100
 maximal steps for Newton search More...
 

Detailed Description

template<class ElemBasis>
class SCIRun::Core::Basis::Dim3Locate< ElemBasis >

Class for searching of parametric coordinates related to a value in 3d meshes and fields More general function: find value in interpolation for given value Step 1: get a good guess on the domain, evaluate equally spaced points on the domain and use the closest as our starting point for Newton iteration. (implemented in derived class) Step 2: Newton iteration. x_n+1 =x_n + y(x_n) * y'(x_n)^-1

Member Typedef Documentation

typedef ElemBasis::value_type T

Constructor & Destructor Documentation

Dim3Locate ( )
inline
virtual ~Dim3Locate ( )
inlinevirtual

Member Function Documentation

bool get_iterative ( const ElemBasis *  pEB,
VECTOR &  x,
const T value,
const ElemData &  cd 
) const
inline

find value in interpolation for given value

Member Data Documentation

const int maxsteps =100
static

maximal steps for Newton search

const double thresholdDist =1e-7
static

Thresholds for coordinates checks.

const double thresholdDist1 =1.+Dim3Locate::thresholdDist
static

1+thresholdDist


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