Template Numerical Library version\ main:4e58ea6
Loading...
Searching...
No Matches
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:
BinaryExpressionTemplate< typename T1::ConstLocalViewType, typename T2::ConstLocalViewType, Operation >

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