#include "Particles/Interpolation.h"
#include "Domain/Loc.h"
#include "Tiny/Vector.h"
#include "Utilities/PAssert.h"
#include "Utilities/ElementProperties.h"
#include <iostream>
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) |
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.
std::ostream& operator<< | ( | std::ostream & | o, | |
const CICCacheData< Dim, T > & | cache | |||
) | [inline] |
References Vector< Dim, T, EngineTag >::print().
void CICGatherFcn | ( | T & | attrib, | |
const Patch & | field, | |||
const Loc< 2 > & | index, | |||
const Vector< 2, AxisType > & | delta | |||
) | [inline] |
void CICGatherFcn | ( | T & | attrib, | |
const Patch & | field, | |||
const Loc< 3 > & | index, | |||
const Vector< 3, AxisType > & | delta | |||
) | [inline] |
void CICScatterFcn | ( | const T & | value, | |
const Patch & | field, | |||
const Loc< 1 > & | index, | |||
const Vector< 1, AxisType > & | delta | |||
) | [inline] |
Referenced by CICScatterValueUseCache< FC, Dim, T, ValueT >::apply(), CICScatterUseCache< FC, Dim, T >::apply(), CICScatterValueFillCache< FC, Dim, T, ValueT >::apply(), CICScatterFillCache< FC, Dim, T >::apply(), CICScatterValue< FC, Dim, T, ValueT >::apply(), and CICScatter< FC, Dim, T >::apply().
void CICScatterFcn | ( | const T & | value, | |
const Patch & | field, | |||
const Loc< 2 > & | index, | |||
const Vector< 2, AxisType > & | delta | |||
) | [inline] |
void CICScatterFcn | ( | const T & | value, | |
const Patch & | field, | |||
const Loc< 3 > & | index, | |||
const Vector< 3, AxisType > & | delta | |||
) | [inline] |