14 #include "libmesh/vector_value.h" 15 #include "libmesh/tensor_value.h" 194 const Real & rotation,
195 const std::vector<Real> & lengths,
196 const std::vector<unsigned int> & n_elems);
Defines a discretized line segment in 3D space.
virtual Point getPosition() const
Real _length
Total axial length.
Real computeAxialCoordinate(const Point &p) const
unsigned int getAxialSectionIndex(const Point &p) const
static RealTensorValue computeXRotationTransformationTensor(const Real &rotation)
Computes the rotation transformation tensor.
virtual RealVectorValue getDirection() const
const RealTensorValue _Rx_inv
Inverse rotational transformation tensor about x-axis.
std::vector< Real > _lengths
Length of each axial section.
static RealTensorValue computeDirectionTransformationTensor(const RealVectorValue &dir)
Computes the direction transformation tensor.
virtual Real getRotation() const
virtual Real getLength() const
const Real & _rotation
Angle of rotation about the x-axis.
const RealVectorValue & _dir_unnormalized
Unnormalized direction of axis from start position to end position.
const RealVectorValue _dir
Normalized direction of axis from start position to end position.
TensorValue< Real > RealTensorValue
std::vector< Real > _section_end
Axial coordinate of the end of each axial section using the line 'position' as the origin...
const unsigned int _n_sections
Number of axial sections.
const Point & _position
Start position of axis in 3-D space.
Real computeRadialCoordinate(const Point &p) const
Point computeReferencePointFromRealPoint(const Point &p) const
Computes point in reference space from a point in 3-D space.
static InputParameters validParams()
static const std::string R
const std::vector< unsigned int > & _n_elems
Number of elements in each axial section.
const unsigned int _n_elem
Total number of axial elements.
const RealTensorValue _R_inv
Inverse direction transformation tensor.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const RealTensorValue _Rx
Rotational transformation tensor about x-axis.
const RealTensorValue _R
Direction transformation tensor.
MooseEnum getAlignmentAxis() const
Gets an axis MooseEnum for the axis the component is aligned with.
unsigned int getAxialElementIndex(const Point &p_center) const
virtual Real getNumElems() const
const std::string _moose_object_name_dlsi
Name of the MOOSE object.
DiscreteLineSegmentInterface(const MooseObject *moose_object)
static RealVectorValue initializeDirectionVector(const RealVectorValue &dir_unnormalized)
Computes a normalized direction vector or reports an error if the zero vector is provided.
std::vector< Real > getElementBoundaryCoordinates() const
Gets the element boundary coordinates for the aligned axis.
Point computeRealPointFromReferencePoint(const Point &p) const
Computes point in 3-D space from a point in reference space.
std::vector< Real > _x_centers
Center axial coordinate of each axial element.