27 virtual void check()
const override;
73 unsigned int start_node,
74 std::vector<Real> & local_node_locations);
Defines a discretized line segment in 3D space.
void generateNodeLocations()
Generates axial node locations and stores in _node_locations.
unsigned int computeNumberOfNodes(unsigned int n_elems)
Computes the number of axial nodes from the number of elements.
void placeLocalNodeLocations(Real start_length, unsigned int start_node, std::vector< Real > &local_node_locations)
Puts local positions of axial nodes for an axial section into _node_locations.
static InputParameters validParams()
virtual void check() const override
Check the component integrity.
virtual void setupMesh() override
Performs mesh setup such as creating mesh or naming mesh sets.
std::vector< Real > getUniformNodeLocations(Real length, unsigned int n_nodes)
Computes the local positions of axial nodes for an axial section.
Base class for components that generate their own mesh.
virtual void buildMesh()=0
Intermediate class for components that have mesh.
const InputParameters & parameters() const
std::vector< Real > _node_locations
Node locations along the main axis.
GeneratedMeshComponent(const InputParameters ¶meters)
virtual bool usingSecondOrderMesh() const =0
Check if second order mesh is being used by this geometrical component.
const std::vector< std::string > & _axial_region_names
Axial region names.