GEOSX
Static Public Member Functions | List of all members
geosx::OpAdd Struct Reference

OpAdd Operator that adds a value. More...

#include <FieldSpecificationOps.hpp>

Static Public Member Functions

template<typename T , typename U >
static GEOSX_HOST_DEVICE void apply (T &lhs, U const &rhs)
 Pointwise update of a value. More...
 

Detailed Description

OpAdd Operator that adds a value.

Definition at line 50 of file FieldSpecificationOps.hpp.

Member Function Documentation

◆ apply()

template<typename T , typename U >
static GEOSX_HOST_DEVICE void geosx::OpAdd::apply ( T &  lhs,
U const &  rhs 
)
inlinestatic

Pointwise update of a value.

Template Parameters
Ttype of the left-hand side
Utype of the right-hand side
Parameters
[in]lhsvalue to update
[in]rhsinput value

Definition at line 61 of file FieldSpecificationOps.hpp.


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