deal.II version GIT relicensing-1972-g22a7b89abe 2024-10-11 21:20:00+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
Static Public Member Functions | Static Private Member Functions | List of all members
FERemoteEvaluationCommunicator< dim >::CopyInstructions Class Reference

Static Public Member Functions

template<typename T1 , typename T2 >
static void copy_data (const internal::PrecomputedEvaluationDataView &view, AlignedVector< T1 > &dst, const std::vector< T2 > &src, const std::vector< unsigned int > &indices)
 
template<typename T1 , typename T2 >
static void copy_data (const internal::PrecomputedEvaluationDataView &view, AlignedVector< T1 > &dst, const std::vector< T2 > &src, const std::vector< std::pair< typename Triangulation< dim >::cell_iterator, unsigned int > > &cell_face_nos)
 
template<typename T1 , typename T2 >
static void copy_data (const internal::PrecomputedEvaluationDataView &view, AlignedVector< T1 > &dst, const std::vector< T2 > &src, const std::vector< std::pair< unsigned int, unsigned int > > &batch_id_n_entities)
 

Static Private Member Functions

template<typename T1 , std::size_t n_lanes>
static void copy_data_entries (VectorizedArray< T1, n_lanes > &dst, const unsigned int v, const T1 &src)
 
template<typename T1 , int rank_, std::size_t n_lanes, int dim_>
static void copy_data_entries (Tensor< rank_, dim_, VectorizedArray< T1, n_lanes > > &dst, const unsigned int v, const Tensor< rank_, dim_, T1 > &src)
 
template<typename T1 , int rank_, std::size_t n_lanes, int n_components_, int dim_>
static void copy_data_entries (Tensor< rank_, n_components_, Tensor< rank_, dim_, VectorizedArray< T1, n_lanes > > > &dst, const unsigned int v, const Tensor< rank_, n_components_, Tensor< rank_, dim_, T1 > > &src)
 
template<typename T1 , typename T2 >
static void copy_data_entries (T1 &, const unsigned int, const T2 &)
 

Detailed Description

template<int dim>
class FERemoteEvaluationCommunicator< dim >::CopyInstructions

Functions in this class only deals with copying data to PrecomputedEvaluationData.

Definition at line 367 of file fe_remote_evaluation.h.

Member Function Documentation

◆ copy_data() [1/3]

template<int dim>
template<typename T1 , typename T2 >
void FERemoteEvaluationCommunicator< dim >::CopyInstructions::copy_data ( const internal::PrecomputedEvaluationDataView view,
AlignedVector< T1 > &  dst,
const std::vector< T2 > &  src,
const std::vector< unsigned int > &  indices 
)
static

Copy data from src to dst. Overload for FERemoteCommunicationObject.

Definition at line 926 of file fe_remote_evaluation.h.

◆ copy_data() [2/3]

template<int dim>
template<typename T1 , typename T2 >
void FERemoteEvaluationCommunicator< dim >::CopyInstructions::copy_data ( const internal::PrecomputedEvaluationDataView view,
AlignedVector< T1 > &  dst,
const std::vector< T2 > &  src,
const std::vector< std::pair< typename Triangulation< dim >::cell_iterator, unsigned int > > &  cell_face_nos 
)
static

Copy data from src to dst. Overload for FERemoteCommunicationObjectTwoLevel.

Definition at line 950 of file fe_remote_evaluation.h.

◆ copy_data() [3/3]

template<int dim>
template<typename T1 , typename T2 >
void FERemoteEvaluationCommunicator< dim >::CopyInstructions::copy_data ( const internal::PrecomputedEvaluationDataView view,
AlignedVector< T1 > &  dst,
const std::vector< T2 > &  src,
const std::vector< std::pair< unsigned int, unsigned int > > &  batch_id_n_entities 
)
static

Copy data from src to dst. Overload for FERemoteCommunicationObjectEntityBatches.

Definition at line 977 of file fe_remote_evaluation.h.

◆ copy_data_entries() [1/4]

template<int dim>
template<typename T1 , std::size_t n_lanes>
void FERemoteEvaluationCommunicator< dim >::CopyInstructions::copy_data_entries ( VectorizedArray< T1, n_lanes > &  dst,
const unsigned int  v,
const T1 &  src 
)
staticprivate

Copy data to the correct position in a VectorizedArray.

Definition at line 1004 of file fe_remote_evaluation.h.

◆ copy_data_entries() [2/4]

template<int dim>
template<typename T1 , int rank_, std::size_t n_lanes, int dim_>
void FERemoteEvaluationCommunicator< dim >::CopyInstructions::copy_data_entries ( Tensor< rank_, dim_, VectorizedArray< T1, n_lanes > > &  dst,
const unsigned int  v,
const Tensor< rank_, dim_, T1 > &  src 
)
staticprivate

Similar as copy_data_entries() above.

Definition at line 1017 of file fe_remote_evaluation.h.

◆ copy_data_entries() [3/4]

template<int dim>
template<typename T1 , int rank_, std::size_t n_lanes, int n_components_, int dim_>
void FERemoteEvaluationCommunicator< dim >::CopyInstructions::copy_data_entries ( Tensor< rank_, n_components_, Tensor< rank_, dim_, VectorizedArray< T1, n_lanes > > > &  dst,
const unsigned int  v,
const Tensor< rank_, n_components_, Tensor< rank_, dim_, T1 > > &  src 
)
staticprivate

Similar as copy_data_entries() above.

Definition at line 1044 of file fe_remote_evaluation.h.

◆ copy_data_entries() [4/4]

template<int dim>
template<typename T1 , typename T2 >
void FERemoteEvaluationCommunicator< dim >::CopyInstructions::copy_data_entries ( T1 &  ,
const unsigned int  ,
const T2 &   
)
staticprivate

Throw a runtime exception if copy_data_entries() has not been implemented for a given type.

Definition at line 1067 of file fe_remote_evaluation.h.


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