InterpolatorCIC.h File Reference

Specialization of Interpolator class template for cloud-in-cell (CIC) interpolation between Particle Attributes and Fields. More...

#include "Particles/Interpolation.h"
#include "Domain/Loc.h"
#include "Tiny/Vector.h"
#include "Utilities/PAssert.h"
#include "Utilities/ElementProperties.h"
#include <iostream>

Include dependency graph for InterpolatorCIC.h:

This graph shows which files directly or indirectly include this file:


Classes

struct  CIC
struct  CICCacheData< Dim, T >
struct  ElementProperties< CICCacheData< Dim, T > >
struct  Interpolator< Dim, T, CIC >
struct  CICGather< FC, Dim, T >
struct  CICScatter< FC, Dim, T >
struct  CICScatterValue< FC, Dim, T, ValueT >
struct  CICGatherFillCache< FC, Dim, T >
struct  CICScatterFillCache< FC, Dim, T >
struct  CICScatterValueFillCache< FC, Dim, T, ValueT >
struct  CICGatherUseCache< FC, Dim, T >
struct  CICScatterUseCache< FC, Dim, T >
struct  CICScatterValueUseCache< FC, Dim, T, ValueT >

Functions

template<int Dim, class T >
std::ostream & operator<< (std::ostream &o, const CICCacheData< Dim, T > &cache)
template<class T , class Patch , class AxisType >
void CICGatherFcn (T &attrib, const Patch &field, const Loc< 1 > &index, const Vector< 1, AxisType > &delta)
template<class T , class Patch , class AxisType >
void CICGatherFcn (T &attrib, const Patch &field, const Loc< 2 > &index, const Vector< 2, AxisType > &delta)
template<class T , class Patch , class AxisType >
void CICGatherFcn (T &attrib, const Patch &field, const Loc< 3 > &index, const Vector< 3, AxisType > &delta)
template<class T , class Patch , class AxisType >
void CICScatterFcn (const T &value, const Patch &field, const Loc< 1 > &index, const Vector< 1, AxisType > &delta)
template<class T , class Patch , class AxisType >
void CICScatterFcn (const T &value, const Patch &field, const Loc< 2 > &index, const Vector< 2, AxisType > &delta)
template<class T , class Patch , class AxisType >
void CICScatterFcn (const T &value, const Patch &field, const Loc< 3 > &index, const Vector< 3, AxisType > &delta)

Detailed Description

Specialization of Interpolator class template for cloud-in-cell (CIC) interpolation between Particle Attributes and Fields.

CIC is also known as linear interpolation or volume weighting.

Specialization of Interpolator class template for cloud-in-cell interpolation. Interpolation is performed using a PatchFunction that spawns threads to work on each patch and loop over the particles on that patch. This functor will store a copy of the Field to be gathered from or scattered to and take the appropriate view of the Field for each patch.


Function Documentation

template<int Dim, class T >
std::ostream& operator<< ( std::ostream &  o,
const CICCacheData< Dim, T > &  cache 
) [inline]

template<class T , class Patch , class AxisType >
void CICGatherFcn ( T &  attrib,
const Patch field,
const Loc< 1 > &  index,
const Vector< 1, AxisType > &  delta 
) [inline]

template<class T , class Patch , class AxisType >
void CICGatherFcn ( T &  attrib,
const Patch field,
const Loc< 2 > &  index,
const Vector< 2, AxisType > &  delta 
) [inline]

template<class T , class Patch , class AxisType >
void CICGatherFcn ( T &  attrib,
const Patch field,
const Loc< 3 > &  index,
const Vector< 3, AxisType > &  delta 
) [inline]

template<class T , class Patch , class AxisType >
void CICScatterFcn ( const T &  value,
const Patch field,
const Loc< 1 > &  index,
const Vector< 1, AxisType > &  delta 
) [inline]

template<class T , class Patch , class AxisType >
void CICScatterFcn ( const T &  value,
const Patch field,
const Loc< 2 > &  index,
const Vector< 2, AxisType > &  delta 
) [inline]

template<class T , class Patch , class AxisType >
void CICScatterFcn ( const T &  value,
const Patch field,
const Loc< 3 > &  index,
const Vector< 3, AxisType > &  delta 
) [inline]


Generated on Wed Mar 16 06:17:45 2011 for FreePOOMA by  doxygen 1.5.9