14#include "libmesh/vector_value.h"
15#include "libmesh/tensor_value.h"
126 const RealTensorValue
_R;
128 const RealTensorValue
_Rx;
169 const RealVectorValue & position,
170 const RealTensorValue &
R,
171 const RealTensorValue & Rx);
179 const RealVectorValue & position,
180 const RealTensorValue & R_inv,
181 const RealTensorValue & Rx_inv);
201 const RealVectorValue & orientation,
202 const Real & rotation,
203 const std::vector<Real> & lengths,
204 const std::vector<unsigned int> & n_elems);
Defines a discretized line segment in 3D space.
const RealTensorValue _Rx_inv
Inverse rotational transformation tensor about x-axis.
Real _length
Total axial length.
Point getStartPoint() const
unsigned int _n_elem
Total number of axial elements.
const RealVectorValue & _dir_unnormalized
Unnormalized direction of axis from start position to end position.
const unsigned int _n_sections
Number of axial sections.
std::vector< Real > _section_end
Axial coordinate of the end of each axial section using the line 'position' as the origin.
std::vector< Real > _x_centers
Center axial coordinate of each axial element.
std::vector< unsigned int > _n_elems
Number of elements in each axial section.
Real computeAxialCoordinate(const Point &p) const
const Real & _rotation
Angle of rotation about the x-axis.
Real getMinimumElemSize() const
Gets the minimum element size.
virtual Real getNumElems() const
Point getEndPoint() const
virtual Real getLength() const
virtual RealVectorValue getDirection() const
unsigned int getAxialElementIndex(const Point &p_center) const
const Point & _position
Start position of axis in 3-D space.
Point computeRealPointFromReferencePoint(const Point &p) const
Computes point in 3-D space from a point in reference space.
virtual Point getPosition() const
const RealTensorValue _R_inv
Inverse direction transformation tensor.
static RealTensorValue computeDirectionTransformationTensor(const RealVectorValue &dir)
Computes the direction transformation tensor.
Real computeRadialCoordinate(const Point &p) const
static InputParameters validParams()
unsigned int getAxialSectionIndex(const Point &p) const
Point computeReferencePointFromRealPoint(const Point &p) const
Computes point in reference space from a point in 3-D space.
virtual Real getRotation() const
std::vector< Real > _lengths
Length of each axial section.
const RealTensorValue _R
Direction transformation tensor.
const std::string _moose_object_name_dlsi
Name of the MOOSE object.
std::vector< Real > getElementBoundaryCoordinates() const
Gets the element boundary coordinates for the aligned axis.
Real _dx_min
Minimum element size.
static RealTensorValue computeXRotationTransformationTensor(const Real &rotation)
Computes the rotation transformation tensor.
static RealVectorValue initializeDirectionVector(const RealVectorValue &dir_unnormalized)
Computes a normalized direction vector or reports an error if the zero vector is provided.
const RealVectorValue _dir
Normalized direction of axis from start position to end position.
const Point _end_point
End point of line segment.
MooseEnum getAlignmentAxis() const
Gets an axis MooseEnum for the axis the component is aligned with.
const RealTensorValue _Rx
Rotational transformation tensor about x-axis.