Class TempLat::SU2DoubletSubtract
template <typename R, typename T>
ClassList > TempLat > SU2DoubletSubtract
A class which implement the Subtraction between two su2 doublets. More...
#include <su2doubletsubtract.h>
Inherits the following classes: TempLat::SU2DoubletBinaryOperator
Public Types inherited from TempLat::SU2DoubletBinaryOperator
See TempLat::SU2DoubletBinaryOperator
| Type | Name |
|---|---|
| typedef SU2DoubletGetter | Getter |
Public Static Attributes inherited from TempLat::SU2DoubletBinaryOperator
See TempLat::SU2DoubletBinaryOperator
| Type | Name |
|---|---|
| constexpr size_t | size = 4 |
Public Functions
| Type | Name |
|---|---|
| auto | SU2DoubletGet (Tag< N > t) const |
| SU2DoubletSubtract (const R & pR, const T & pT) |
|
| DEVICE_INLINE_FUNCTION auto | eval (const IDX &... idx) const |
| virtual std::string | operatorString () override const Override this method in your derived class, to have an easy implementation of your toString method. |
Public Functions inherited from TempLat::SU2DoubletBinaryOperator
See TempLat::SU2DoubletBinaryOperator
| Type | Name |
|---|---|
| SU2DoubletBinaryOperator (const R & pR, const T & pT) |
|
| auto | getDx () const |
| auto | getKIR () const |
| auto | getToolBox () const |
| virtual std::string | operatorString () const Override this method in your derived class, to have an easy implementation of your toString method. |
| std::string | toString () const If your descending class implements operatorString() and your operator is of the type "a OP b" (where OP is * or whatever), this toString method does all the work for you. |
Public Static Functions inherited from TempLat::SU2DoubletBinaryOperator
See TempLat::SU2DoubletBinaryOperator
| Type | Name |
|---|---|
| consteval size_t | getNDim () |
Protected Attributes inherited from TempLat::SU2DoubletBinaryOperator
See TempLat::SU2DoubletBinaryOperator
| Type | Name |
|---|---|
| R | mR |
| T | mT |
Detailed Description
Unit test: ctest -R test-su2doubletsubtract
Public Functions Documentation
function SU2DoubletGet
function SU2DoubletSubtract
function eval
template<typename... IDX>
inline DEVICE_INLINE_FUNCTION auto TempLat::SU2DoubletSubtract::eval (
const IDX &... idx
) const
function operatorString
Override this method in your derived class, to have an easy implementation of your toString method.
Implements TempLat::SU2DoubletBinaryOperator::operatorString
The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/lattice/algebra/su2algebra/su2doubletsubtract.h