https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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.
 

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 }
T component(const RankTwoTensorTempl< T > &r2tensor, unsigned int i, unsigned int j)
IntRange< T > make_range(T beg, T end)

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