Template Numerical Library version\ main:f17d0c8
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
TNL::Containers::Expressions::DistributedBinaryExpressionTemplate< T1, T2, Operation, VectorExpressionVariable, VectorExpressionVariable > Struct Template Reference

Public Types

using ConstLocalViewType
 
using DeviceType = typename T1::DeviceType
 
using IndexType = typename T1::IndexType
 
using LocalRangeType = typename T1::LocalRangeType
 
using RealType = decltype( Operation{}( std::declval< T1 >()[ 0 ], std::declval< T2 >()[ 0 ] ) )
 
using SynchronizerType = typename T1::SynchronizerType
 
using ValueType = RealType
 

Public Member Functions

 DistributedBinaryExpressionTemplate (const T1 &a, const T2 &b)
 
const MPI::CommgetCommunicator () const
 
ConstLocalViewType getConstLocalView () const
 
ConstLocalViewType getConstLocalViewWithGhosts () const
 
RealType getElement (const IndexType i) const
 
IndexType getGhosts () const
 
LocalRangeType getLocalRange () const
 
IndexType getSize () const
 
std::shared_ptr< SynchronizerType > getSynchronizer () const
 
int getValuesPerElement () const
 
RealType operator[] (const IndexType i) const
 
void waitForSynchronization () const
 

Protected Attributes

const T1 & op1
 
const T2 & op2
 

Member Typedef Documentation

◆ ConstLocalViewType

template<typename T1 , typename T2 , typename Operation >
using TNL::Containers::Expressions::DistributedBinaryExpressionTemplate< T1, T2, Operation, VectorExpressionVariable, VectorExpressionVariable >::ConstLocalViewType
Initial value:
Subrange< Index > splitRange(Index rangeBegin, Index rangeEnd, int rank, int num_subintervals)
A helper function which splits a one-dimensional range.
Definition BlockPartitioning.h:27

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