Template Numerical Library version\ main:4e58ea6
Loading...
Searching...
No Matches
TNL::Containers::Expressions::DistributedBinaryExpressionTemplate< T1, T2, Operation, ArithmeticVariable, VectorExpressionVariable > Struct Template Reference

Public Types

using ConstLocalViewType = BinaryExpressionTemplate< T1, typename T2::ConstLocalViewType, Operation >
 
using DeviceType = typename T2::DeviceType
 
using IndexType = typename T2::IndexType
 
using LocalRangeType = typename T2::LocalRangeType
 
using RealType = decltype( Operation{}( std::declval< T1 >(), std::declval< T2 >()[ 0 ] ) )
 
using SynchronizerType = typename T2::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
 

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