https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Protected Member Functions | List of all members
GradientOperatorCoordinates::AxisymmetricCylindrical Class Reference

#include <GradientOperator.h>

Protected Member Functions

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

Detailed Description

Definition at line 48 of file GradientOperator.h.

Member Function Documentation

◆ addGradOp()

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

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

Definition at line 52 of file GradientOperator.h.

57 {
58 for (auto j : make_range(2))
59 G(component, j) += g(j);
60
61 // R
62 if (component == 0)
63 G(2, 2) += v / p(0);
64 }
const Real p
const double v
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: