14#include "libmesh/vector_value.h"
23 gradOp(
unsigned int component,
const RealVectorValue & g,
const Real &
v,
const Point &
p)
26 this->addGradOp(G, component, g,
v,
p);
38 unsigned int component,
39 const RealVectorValue & g,
43 for (
auto j : make_range(3))
44 G(component, j) += g(j);
53 unsigned int component,
54 const RealVectorValue & g,
58 for (
auto j : make_range(2))
59 G(component, j) += g(j);
73 const RealVectorValue & g,
GradientOperator< GradientOperatorCoordinates::Cartesian > GradientOperatorCartesian
GradientOperator< GradientOperatorCoordinates::CentrosymmetricSpherical > GradientOperatorCentrosymmetricSpherical
GradientOperator< GradientOperatorCoordinates::AxisymmetricCylindrical > GradientOperatorAxisymmetricCylindrical
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.
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.
void addGradOp(RankTwoTensor &G, unsigned int, const RealVectorValue &g, const Real &v, const Point &p)
Accumulate the contribution of the gradient operator in a given direction for a given tensor.
RankTwoTensor gradOp(unsigned int component, const RealVectorValue &g, const Real &v, const Point &p)
Returns the gradient operator in a given direction.