MultLocalExpansion< TKernelAux > Class Template Reference

Local expansion class. More...

Collaboration diagram for MultLocalExpansion< TKernelAux >:
[legend]

List of all members.

Public Member Functions

void AccumulateCoeffs (const Matrix &data, const Vector &weights, int begin, int end, int order)
 Accumulates the local moment represented by the given reference data into the coefficients.
double bandwidth_sq () const
 Get the coefficients.
double EvaluateField (const Vector &x_q) const
double EvaluateField (const Matrix &data, int row_num) const
 Evaluates the local coefficients at the given point.
const Vectorget_center () const
Vectorget_center ()
 Get the center of expansion.
const Vectorget_coeffs () const
 Get the coefficients.
int get_max_order () const
 Get the maximum possible approximation order.
int get_order () const
 Get the approximation order.
void Init (const TKernelAux &sea)
void Init (const Vector &center, const TKernelAux &sea)
 Initializes the current local expansion object with the given center.
template<typename TBound >
int OrderForEvaluating (const TBound &far_field_region, const TBound &local_field_region, double min_dist_sqd_regions, double max_dist_sqd_regions, double max_error, double *actual_error) const
 Computes the required order for evaluating the local expansion for any query point within the specified region for a given bound.
void PrintDebug (const char *name="", FILE *stream=stderr) const
 Prints out the series expansion represented by this object.
void RefineCoeffs (const Matrix &data, const Vector &weights, int begin, int end, int order)
 This does not apply for local coefficients.
void set_order (int new_order)
 Set the approximation order.
void TranslateFromFarField (const MultFarFieldExpansion< TKernelAux > &se)
 Translate from a far field expansion to the expansion here.
void TranslateToLocal (MultLocalExpansion &se)
 Translate to the given local expansion.

Detailed Description

template<typename TKernelAux>
class MultLocalExpansion< TKernelAux >

Local expansion class.

Definition at line 60 of file mult_local_expansion.h.


Member Function Documentation

template<typename TKernelAux>
void MultLocalExpansion< TKernelAux >::AccumulateCoeffs ( const Matrix &  data,
const Vector weights,
int  begin,
int  end,
int  order 
)

Accumulates the local moment represented by the given reference data into the coefficients.

template<typename TKernelAux>
double MultLocalExpansion< TKernelAux >::bandwidth_sq (  )  const [inline]

Get the coefficients.

Definition at line 93 of file mult_local_expansion.h.

template<typename TKernelAux>
double MultLocalExpansion< TKernelAux >::EvaluateField ( const Matrix &  data,
int  row_num 
) const

Evaluates the local coefficients at the given point.

template<typename TKernelAux>
Vector* MultLocalExpansion< TKernelAux >::get_center (  )  [inline]

Get the center of expansion.

Definition at line 96 of file mult_local_expansion.h.

template<typename TKernelAux>
const Vector& MultLocalExpansion< TKernelAux >::get_coeffs (  )  const [inline]

Get the coefficients.

Definition at line 101 of file mult_local_expansion.h.

template<typename TKernelAux>
int MultLocalExpansion< TKernelAux >::get_max_order (  )  const [inline]

Get the maximum possible approximation order.

Definition at line 107 of file mult_local_expansion.h.

template<typename TKernelAux>
int MultLocalExpansion< TKernelAux >::get_order (  )  const [inline]

Get the approximation order.

Definition at line 104 of file mult_local_expansion.h.

template<typename TKernelAux>
void MultLocalExpansion< TKernelAux >::Init ( const Vector center,
const TKernelAux &  sea 
)

Initializes the current local expansion object with the given center.

template<typename TKernelAux>
template<typename TBound >
int MultLocalExpansion< TKernelAux >::OrderForEvaluating ( const TBound &  far_field_region,
const TBound &  local_field_region,
double  min_dist_sqd_regions,
double  max_dist_sqd_regions,
double  max_error,
double *  actual_error 
) const [inline]

Computes the required order for evaluating the local expansion for any query point within the specified region for a given bound.

template<typename TKernelAux>
void MultLocalExpansion< TKernelAux >::PrintDebug ( const char *  name = "",
FILE *  stream = stderr 
) const

Prints out the series expansion represented by this object.

template<typename TKernelAux>
void MultLocalExpansion< TKernelAux >::RefineCoeffs ( const Matrix &  data,
const Vector weights,
int  begin,
int  end,
int  order 
) [inline]

This does not apply for local coefficients.

Definition at line 124 of file mult_local_expansion.h.

template<typename TKernelAux>
void MultLocalExpansion< TKernelAux >::set_order ( int  new_order  )  [inline]

Set the approximation order.

Definition at line 110 of file mult_local_expansion.h.

template<typename TKernelAux>
void MultLocalExpansion< TKernelAux >::TranslateFromFarField ( const MultFarFieldExpansion< TKernelAux > &  se  ) 

Translate from a far field expansion to the expansion here.

The translated coefficients are added up to the ones here.

template<typename TKernelAux>
void MultLocalExpansion< TKernelAux >::TranslateToLocal ( MultLocalExpansion< TKernelAux > &  se  ) 

Translate to the given local expansion.

The translated coefficients are added up to the passed-in local expansion coefficients.


The documentation for this class was generated from the following file:
Generated on Mon Jan 24 12:04:40 2011 for FASTlib by  doxygen 1.6.3