コード例 #1
0
Real
LineMaterialSymmTensorSampler::getScalarFromProperty(const SymmTensor & property,
                                                     const Point & curr_point)
{
  RealVectorValue direction;
  return getTensorQuantity(property, curr_point, direction);
}
コード例 #2
0
ファイル: MaterialTensorAux.C プロジェクト: Jieun2/moose
Real
MaterialTensorAux::computeValue()
{
  Real value = getTensorQuantity(_tensor[_qp],
                                 _quantity,
                                 _quantity_moose_enum,
                                 _index,
                                 &_q_point[_qp],
                                 &_p1,
                                 &_p2);
  return value;
}