Go to the documentation of this file.
21 #include "libmesh/qoi_set.h"
22 #include "libmesh/system.h"
37 std::size_t qoi_count = 0;
48 unsigned int max_size = 0;
49 for (
const auto & i : indices)
50 max_size = std::max(max_size, i + 1);
54 for (
const auto & i : indices)
63 for (
const auto & i : indices)
Manages consistently variables, degrees of freedom, and coefficient vectors.
void remove_indices(const std::vector< unsigned int > &indices)
Remove these indices from the set to be calculated.
bool has_index(std::size_t) const
Return whether or not this index is in the set to be calculated.
The libMesh namespace provides an interface to certain functionality in the library.
unsigned int n_qois() const
Number of currently active quantities of interest.
The IntRange templated class is intended to make it easy to loop over integers which are indices of a...
void add_indices(const std::vector< unsigned int > &indices)
Add this indices to the set to be calculated.
std::vector< bool > _indices
Interpret _indices.empty() to mean "calculate all indices".
QoISet()
Empty constructor: "calculate all QoIs in the System".
std::size_t size(const System &sys) const