41 virtual void execute()
override;
69 const std::vector<unsigned int> & var_to_features,
70 std::size_t num_features);
74 const std::vector<unsigned int> & var_to_features,
75 std::size_t num_features,
84 const std::vector<MooseVariableFEBase *> &
_vars;
96 std::array<VectorPostprocessorValue *, 3>
_centroid;
void accumulateVolumes(const Elem *elem, const std::vector< unsigned int > &var_to_features, std::size_t num_features)
Add volume contributions to one or entries in the feature volume vector.
This VectorPostprocessor is intended to be used to calculate accurate volumes from the FeatureFloodCo...
std::array< VectorPostprocessorValue *, 3 > _centroid
virtual void finalize() override
const std::vector< MooseVariableFEBase * > & _vars
Real getFeatureVolume(unsigned int feature_id) const
Returns the volume for the given grain number.
VectorPostprocessorValue & _var_num
VectorPostprocessorValue & _feature_volumes
const MooseArray< Real > & _JxW
virtual void execute() override
void accumulateBoundaryFaces(const Elem *elem, const std::vector< unsigned int > &var_to_features, std::size_t num_features, unsigned int side)
When boundary is supplied as input, compute coverage of that boundary by each feature.
const bool _output_centroids
static InputParameters validParams()
const QBase *const & _qrule_face
bool _is_boundary_restricted
Indicates whether the calculation should be run on volumes or area of a boundary. ...
const MooseArray< Point > & _q_point
VectorPostprocessorValue & _intersects_specified_bounds
const MooseArray< Real > & _JxW_face
This object will mark nodes or elements of continuous regions all with a unique number for the purpos...
const FeatureFloodCount & _feature_counter
A reference to the feature flood count object.
std::vector< const VariableValue * > _coupled_sln
VectorPostprocessorValue & _intersects_bounds
VectorPostprocessorValue & _percolated
Real computeFaceIntegral(std::size_t var_index) const
Calculate the integral on the face if boundary is supplied as input.
std::vector< Real > VectorPostprocessorValue
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MooseArray< Real > & _coord
virtual void initialize() override
const InputParameters & parameters() const
const bool _single_feature_per_elem
A Boolean indicating how the volume is calculated.
Real computeIntegral(std::size_t var_index) const
Calculate the integral value of the passed in variable (index)
FeatureVolumeVectorPostprocessor(const InputParameters ¶meters)
const QBase *const & _qrule