https://mooseframework.inl.gov
Protected Member Functions | List of all members
GradientOperatorCoordinates::Cartesian Class Reference

#include <GradientOperator.h>

Protected Member Functions

void addGradOp (RankTwoTensor &G, unsigned int component, const RealVectorValue &g, const Real &, const Point &)
 Accumulate the contribution of the gradient operator in a given direction for a given tensor. More...
 

Detailed Description

Definition at line 33 of file GradientOperator.h.

Member Function Documentation

◆ addGradOp()

void GradientOperatorCoordinates::Cartesian::addGradOp ( RankTwoTensor G,
unsigned int  component,
const RealVectorValue g,
const Real ,
const Point &   
)
inlineprotected

Accumulate the contribution of the gradient operator in a given direction for a given tensor.

Definition at line 37 of file GradientOperator.h.

42  {
43  for (auto j : make_range(3))
44  G(component, j) += g(j);
45  }
static const std::string component
Definition: NS.h:153
static const std::string G
Definition: NS.h:166
IntRange< T > make_range(T beg, T end)
static const std::complex< double > j(0, 1)
Complex number "j" (also known as "i")

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