35 virtual void execute()
override;
MultiMooseEnum _balances
The chosen balance metrics to compute.
dof_id_type _local_num_elems
dof_id_type _local_num_dofs
VectorPostprocessorValue & _pid
Real _local_partition_surface_area
dof_id_type _local_num_nodes
This class is here to combine the VectorPostprocessor interface and the base class VectorPostprocesso...
Builds lists and maps that help in knowing which physical hardware nodes each rank is on...
static InputParameters validParams()
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
const RankMap & _rank_map
Helpful in determining the physical layout of the ranks.
virtual void finalize() override
Finalize.
int _system
The system to count DoFs from.
dof_id_type _local_num_partition_sides
std::map< std::string, VectorPostprocessorValue * > _balance_vectors
The VPP vectors that will hold the balance metrics.
virtual void execute() override
Execute method.
dof_id_type _local_num_partition_hardware_id_sides
std::vector< Real > VectorPostprocessorValue
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
unsigned int _my_hardware_id
WorkBalance(const InputParameters ¶meters)
void gather(int balance_id, VectorPostprocessorValue &vppv)
const InputParameters & parameters() const
Get the parameters of the object.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Compute several metrics for each MPI process.
Real _local_partition_hardware_id_surface_area