13 #include "libmesh/communicator.h" 25 virtual void execute()
override;
30 const std::shared_ptr<MooseMesh> &
_mesh;
const Real _cross_section_maximum_radius
Tolerance to disambiguate cross section locations in different components within the same block...
virtual void meshChanged() override
const bool _have_symmetry_plane
Whether a symmetry plane has been defined by the user.
const bool _require_equal_node_counts
Whether to require the number of nodes at each axial location to be equal.
std::vector< unsigned int > _number_of_nodes
Number of nodes for computing output (local and global).
virtual void execute() override
const Point _direction
Axis direction of the structural component.
void automaticallyLocatePositions()
Automatically identify all axial positions of nodes within the component and store their unique value...
AverageSectionValueSampler(const InputParameters ¶meters)
std::vector< SubdomainID > _block_ids
std::vector< unsigned int > _var_numbers
Indices of the variables in their systems.
const Point _reference_point
Starting or reference point of the structural component to locate nodes on the cross section...
RealVectorValue _symmetry_plane
Vector normal to a symmetry plane, optionally defined if the section has a symmetry plane...
static InputParameters validParams()
std::vector< Real > _positions
Axial positions along the component at which average values are computed.
Real axialPosition(const Node &node) const
Determine axial distance of the point from the component's reference point.
const bool _automatically_locate_positions
Whether to automatically locate positions along section for averaging field values.
const std::shared_ptr< MooseMesh > & _mesh
Reference to the mesh.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
std::vector< VariableName > _variables
Variables to output.
const Real _tolerance
Tolerance to identify nodes on the user-prescribed cross section.
std::vector< VectorPostprocessorValue * > _output_vector
Vector of outputs, where each entry is the vector of average values for single variable at the select...
virtual void initialSetup() override
const InputParameters & parameters() const
bool _need_mesh_initializations
Whether node locations need to be identified and nodes at positions need to be counted.
virtual void initialize() override
virtual void finalize() override