OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
Interpolator.h File Reference
#include "Field/BareField.h"
#include "Field/LField.h"
#include "Field/CompressedBrickIterator.h"
#include "Index/NDIndex.h"
#include "Meshes/Centering.h"
#include "AppTypes/Vektor.h"
#include "Utility/IpplInfo.h"
#include "Utility/IpplException.h"
#include <ostream>
#include <vector>
Include dependency graph for Interpolator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CenteringTag< C >
struct  InterpolatorTraits< T, Dim, InterpolatorType >
struct  CacheData1< T, Dim >
struct  CacheDataCIC< T, Dim >
struct  CacheDataTSC< T, Dim >
class  Interpolator

Functions

template<class PT, unsigned Dim, class M>
NDIndex< DimFindNGP (const M &mesh, const Vektor< PT, Dim > &ppos, CenteringTag< Cell >)
template<class PT, unsigned Dim, class M>
NDIndex< DimFindNGP (const M &mesh, const Vektor< PT, Dim > &ppos, CenteringTag< Vert >)
template<class PT, unsigned Dim, class M>
std::vector< NDIndex< Dim > > FindNGP (const M &mesh, const Vektor< PT, Dim > &ppos, CenteringTag< Edge >)
template<class PT, unsigned Dim, class M>
void FindPos (Vektor< PT, Dim > &pos, const M &mesh, const NDIndex< Dim > &indices, CenteringTag< Cell >)
template<class PT, unsigned Dim, class M>
void FindPos (Vektor< PT, Dim > &pos, const M &mesh, const NDIndex< Dim > &indices, CenteringTag< Vert >)
template<class PT, unsigned Dim, class M>
void FindPos (std::vector< Vektor< PT, Dim > > &pos, const M &mesh, const std::vector< NDIndex< Dim > > &indices, CenteringTag< Edge >)
template<class PT, unsigned Dim, class M>
void FindDelta (Vektor< PT, Dim > &delta, const M &mesh, const NDIndex< Dim > &gp, CenteringTag< Cell >)
template<class PT, unsigned Dim, class M>
void FindDelta (Vektor< PT, Dim > &delta, const M &mesh, const NDIndex< Dim > &gp, CenteringTag< Vert >)
template<class PT, unsigned Dim, class M>
void FindDelta (std::vector< Vektor< PT, Dim > > &delta, const M &mesh, const std::vector< NDIndex< Dim > > &gp, CenteringTag< Edge >)
template<class T, unsigned Dim>
std::ostream & operator<< (std::ostream &o, const CacheData1< T, Dim > &c)
template<class T, unsigned Dim>
std::ostream & operator<< (std::ostream &o, const CacheDataCIC< T, Dim > &c)

Class Documentation

◆ CenteringTag

class CenteringTag
template<class C>
class CenteringTag< C >

Definition at line 31 of file Interpolator.h.

Collaboration diagram for CenteringTag< C >:

◆ InterpolatorTraits

struct InterpolatorTraits
template<class T, unsigned Dim, class InterpolatorType>
struct InterpolatorTraits< T, Dim, InterpolatorType >

Definition at line 128 of file Interpolator.h.

Inheritance diagram for InterpolatorTraits< T, Dim, InterpolatorType >:
Collaboration diagram for InterpolatorTraits< T, Dim, InterpolatorType >:

◆ CacheData1

struct CacheData1
template<class T, unsigned Dim>
struct CacheData1< T, Dim >

Definition at line 132 of file Interpolator.h.

Collaboration diagram for CacheData1< T, Dim >:
Class Members
Vektor< T, Dim > Delta_m
NDIndex< Dim > Index_m

◆ CacheDataCIC

struct CacheDataCIC
template<class T, unsigned Dim>
struct CacheDataCIC< T, Dim >

Definition at line 147 of file Interpolator.h.

Inheritance diagram for CacheDataCIC< T, Dim >:
Collaboration diagram for CacheDataCIC< T, Dim >:
Class Members
Vektor< T, Dim > Delta_m
NDIndex< Dim > Index_m
int Offset_m[Dim]

◆ CacheDataTSC

struct CacheDataTSC
template<class T, unsigned Dim>
struct CacheDataTSC< T, Dim >

Definition at line 156 of file Interpolator.h.

Collaboration diagram for CacheDataTSC< T, Dim >:
Class Members
Vektor< T, Dim > Delta_m
NDIndex< Dim > Index_m
int Offset_m[Dim]

Function Documentation

◆ FindDelta() [1/3]

template<class PT, unsigned Dim, class M>
void FindDelta ( std::vector< Vektor< PT, Dim > > & delta,
const M & mesh,
const std::vector< NDIndex< Dim > > & gp,
CenteringTag< Edge >  )
inline

Definition at line 113 of file Interpolator.h.

References Dim.

◆ FindDelta() [2/3]

template<class PT, unsigned Dim, class M>
void FindDelta ( Vektor< PT, Dim > & delta,
const M & mesh,
const NDIndex< Dim > & gp,
CenteringTag< Cell >  )
inline

Definition at line 95 of file Interpolator.h.

References Dim.

Referenced by IntCICImpl< Dim >::gather(), IntCICImpl< Dim >::gather(), IntCICImpl< 1U >::gather(), IntCICImpl< 1U >::gather(), IntCICImpl< 2U >::gather(), IntCICImpl< 2U >::gather(), IntCICImpl< 2U >::gather(), IntCICImpl< 3U >::gather(), IntCICImpl< 3U >::gather(), IntCICImpl< 3U >::gather(), IntSUDSImpl< Dim >::gather(), IntSUDSImpl< Dim >::gather(), IntSUDSImpl< 1U >::gather(), IntSUDSImpl< 1U >::gather(), IntSUDSImpl< 2U >::gather(), IntSUDSImpl< 2U >::gather(), IntSUDSImpl< 3U >::gather(), IntSUDSImpl< 3U >::gather(), IntTSCImpl< Dim >::gather(), IntTSCImpl< Dim >::gather(), IntTSCImpl< 1U >::gather(), IntTSCImpl< 1U >::gather(), IntTSCImpl< 2U >::gather(), IntTSCImpl< 2U >::gather(), IntTSCImpl< 3U >::gather(), IntTSCImpl< 3U >::gather(), IntCICImpl< Dim >::scatter(), IntCICImpl< Dim >::scatter(), IntCICImpl< 1U >::scatter(), IntCICImpl< 1U >::scatter(), IntCICImpl< 2U >::scatter(), IntCICImpl< 2U >::scatter(), IntCICImpl< 2U >::scatter(), IntCICImpl< 3U >::scatter(), IntCICImpl< 3U >::scatter(), IntCICImpl< 3U >::scatter(), IntSUDSImpl< Dim >::scatter(), IntSUDSImpl< Dim >::scatter(), IntSUDSImpl< 1U >::scatter(), IntSUDSImpl< 1U >::scatter(), IntSUDSImpl< 2U >::scatter(), IntSUDSImpl< 2U >::scatter(), IntSUDSImpl< 3U >::scatter(), IntSUDSImpl< 3U >::scatter(), IntTSCImpl< Dim >::scatter(), IntTSCImpl< Dim >::scatter(), IntTSCImpl< 1U >::scatter(), IntTSCImpl< 1U >::scatter(), IntTSCImpl< 2U >::scatter(), IntTSCImpl< 2U >::scatter(), IntTSCImpl< 3U >::scatter(), and IntTSCImpl< 3U >::scatter().

◆ FindDelta() [3/3]

template<class PT, unsigned Dim, class M>
void FindDelta ( Vektor< PT, Dim > & delta,
const M & mesh,
const NDIndex< Dim > & gp,
CenteringTag< Vert >  )
inline

Definition at line 105 of file Interpolator.h.

◆ FindNGP() [1/3]

template<class PT, unsigned Dim, class M>
NDIndex< Dim > FindNGP ( const M & mesh,
const Vektor< PT, Dim > & ppos,
CenteringTag< Cell >  )
inline

Definition at line 37 of file Interpolator.h.

Referenced by IntCICImpl< Dim >::gather(), IntCICImpl< Dim >::gather(), IntCICImpl< 1U >::gather(), IntCICImpl< 1U >::gather(), IntCICImpl< 2U >::gather(), IntCICImpl< 2U >::gather(), IntCICImpl< 3U >::gather(), IntCICImpl< 3U >::gather(), IntNGP::gather(), IntNGP::gather(), IntSUDSImpl< Dim >::gather(), IntSUDSImpl< Dim >::gather(), IntSUDSImpl< 1U >::gather(), IntSUDSImpl< 1U >::gather(), IntSUDSImpl< 2U >::gather(), IntSUDSImpl< 2U >::gather(), IntSUDSImpl< 3U >::gather(), IntSUDSImpl< 3U >::gather(), IntTSCImpl< Dim >::gather(), IntTSCImpl< Dim >::gather(), IntTSCImpl< 1U >::gather(), IntTSCImpl< 1U >::gather(), IntTSCImpl< 2U >::gather(), IntTSCImpl< 2U >::gather(), IntTSCImpl< 3U >::gather(), IntTSCImpl< 3U >::gather(), IntCICImpl< Dim >::scatter(), IntCICImpl< Dim >::scatter(), IntCICImpl< 1U >::scatter(), IntCICImpl< 1U >::scatter(), IntCICImpl< 2U >::scatter(), IntCICImpl< 2U >::scatter(), IntCICImpl< 2U >::scatter(), IntCICImpl< 3U >::scatter(), IntCICImpl< 3U >::scatter(), IntCICImpl< 3U >::scatter(), IntNGP::scatter(), IntNGP::scatter(), IntSUDSImpl< Dim >::scatter(), IntSUDSImpl< Dim >::scatter(), IntSUDSImpl< 1U >::scatter(), IntSUDSImpl< 1U >::scatter(), IntSUDSImpl< 2U >::scatter(), IntSUDSImpl< 2U >::scatter(), IntSUDSImpl< 3U >::scatter(), IntSUDSImpl< 3U >::scatter(), IntTSCImpl< Dim >::scatter(), IntTSCImpl< Dim >::scatter(), IntTSCImpl< 1U >::scatter(), IntTSCImpl< 1U >::scatter(), IntTSCImpl< 2U >::scatter(), IntTSCImpl< 2U >::scatter(), IntTSCImpl< 3U >::scatter(), and IntTSCImpl< 3U >::scatter().

◆ FindNGP() [2/3]

template<class PT, unsigned Dim, class M>
std::vector< NDIndex< Dim > > FindNGP ( const M & mesh,
const Vektor< PT, Dim > & ppos,
CenteringTag< Edge >  )
inline

Definition at line 51 of file Interpolator.h.

◆ FindNGP() [3/3]

template<class PT, unsigned Dim, class M>
NDIndex< Dim > FindNGP ( const M & mesh,
const Vektor< PT, Dim > & ppos,
CenteringTag< Vert >  )
inline

Definition at line 44 of file Interpolator.h.

◆ FindPos() [1/3]

template<class PT, unsigned Dim, class M>
void FindPos ( std::vector< Vektor< PT, Dim > > & pos,
const M & mesh,
const std::vector< NDIndex< Dim > > & indices,
CenteringTag< Edge >  )
inline

Definition at line 78 of file Interpolator.h.

References Dim.

◆ FindPos() [2/3]

template<class PT, unsigned Dim, class M>
void FindPos ( Vektor< PT, Dim > & pos,
const M & mesh,
const NDIndex< Dim > & indices,
CenteringTag< Cell >  )
inline

Definition at line 62 of file Interpolator.h.

Referenced by IntCICImpl< Dim >::gather(), IntCICImpl< Dim >::gather(), IntCICImpl< 1U >::gather(), IntCICImpl< 1U >::gather(), IntCICImpl< 2U >::gather(), IntCICImpl< 2U >::gather(), IntCICImpl< 3U >::gather(), IntCICImpl< 3U >::gather(), IntSUDSImpl< Dim >::gather(), IntSUDSImpl< Dim >::gather(), IntSUDSImpl< 1U >::gather(), IntSUDSImpl< 1U >::gather(), IntSUDSImpl< 2U >::gather(), IntSUDSImpl< 2U >::gather(), IntSUDSImpl< 3U >::gather(), IntSUDSImpl< 3U >::gather(), IntTSCImpl< Dim >::gather(), IntTSCImpl< Dim >::gather(), IntTSCImpl< 1U >::gather(), IntTSCImpl< 1U >::gather(), IntTSCImpl< 2U >::gather(), IntTSCImpl< 2U >::gather(), IntTSCImpl< 3U >::gather(), IntTSCImpl< 3U >::gather(), IntCICImpl< Dim >::scatter(), IntCICImpl< Dim >::scatter(), IntCICImpl< 1U >::scatter(), IntCICImpl< 1U >::scatter(), IntCICImpl< 2U >::scatter(), IntCICImpl< 2U >::scatter(), IntCICImpl< 2U >::scatter(), IntCICImpl< 3U >::scatter(), IntCICImpl< 3U >::scatter(), IntCICImpl< 3U >::scatter(), IntSUDSImpl< Dim >::scatter(), IntSUDSImpl< Dim >::scatter(), IntSUDSImpl< 1U >::scatter(), IntSUDSImpl< 1U >::scatter(), IntSUDSImpl< 2U >::scatter(), IntSUDSImpl< 2U >::scatter(), IntSUDSImpl< 3U >::scatter(), IntSUDSImpl< 3U >::scatter(), IntTSCImpl< Dim >::scatter(), IntTSCImpl< Dim >::scatter(), IntTSCImpl< 1U >::scatter(), IntTSCImpl< 1U >::scatter(), IntTSCImpl< 2U >::scatter(), IntTSCImpl< 2U >::scatter(), IntTSCImpl< 3U >::scatter(), and IntTSCImpl< 3U >::scatter().

◆ FindPos() [3/3]

template<class PT, unsigned Dim, class M>
void FindPos ( Vektor< PT, Dim > & pos,
const M & mesh,
const NDIndex< Dim > & indices,
CenteringTag< Vert >  )
inline

Definition at line 70 of file Interpolator.h.

◆ operator<<() [1/2]

template<class T, unsigned Dim>
std::ostream & operator<< ( std::ostream & o,
const CacheData1< T, Dim > & c )
inline

Definition at line 138 of file Interpolator.h.

References c.

◆ operator<<() [2/2]

template<class T, unsigned Dim>
std::ostream & operator<< ( std::ostream & o,
const CacheDataCIC< T, Dim > & c )
inline

Definition at line 163 of file Interpolator.h.

References c, and Dim.