https://mooseframework.inl.gov
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. More...
 

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  }
static const std::string component
Definition: NS.h:153
static const std::string G
Definition: NS.h:166
static const std::string v
Definition: NS.h:84
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: