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

OpAdd Operator that adds a value. More...

#include <FieldSpecificationOps.hpp>

Static Public Member Functions

template<typename T , typename U >
static GEOS_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 52 of file FieldSpecificationOps.hpp.

Member Function Documentation

◆ apply()

template<typename T , typename U >
static GEOS_HOST_DEVICE void geos::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 63 of file FieldSpecificationOps.hpp.


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