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

Static Public Member Functions

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

Detailed Description

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

Definition at line 304 of file TensorOps.h.

Member Function Documentation

◆ apply()

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

Definition at line 306 of file TensorOps.h.

307  {
308  op(lhs[0], rhs[0]);
309  op(lhs[1], rhs[1]);
310  op(lhs[2], rhs[2]);
311  }

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