QMCPACK
OTAssign< SymTensor< T1, 3 >, SymTensor< T2, 3 >, OP > Struct Template Reference
+ Collaboration diagram for OTAssign< SymTensor< T1, 3 >, SymTensor< T2, 3 >, OP >:

Static Public Member Functions

static void apply (SymTensor< T1, 3 > &lhs, const SymTensor< T2, 3 > &rhs, OP op)
 

Detailed Description

template<class T1, class T2, class OP>
struct qmcplusplus::OTAssign< SymTensor< T1, 3 >, SymTensor< T2, 3 >, OP >

Definition at line 208 of file TensorOps.h.

Member Function Documentation

◆ apply()

static void apply ( SymTensor< T1, 3 > &  lhs,
const SymTensor< T2, 3 > &  rhs,
OP  op 
)
inlinestatic

Definition at line 210 of file TensorOps.h.

211  {
212  op(lhs[0], rhs[0]);
213  op(lhs[1], rhs[1]);
214  op(lhs[2], rhs[2]);
215  op(lhs[3], rhs[3]);
216  op(lhs[4], rhs[4]);
217  op(lhs[5], rhs[5]);
218  }

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