23 template <
int spacedim>
25 : face_number(
numbers::invalid_unsigned_int)
30 template <
int spacedim>
37 "This function can only be called if set_cell_and_face() has "
38 "previously been called. Typically, this would be by using DataOutFaces "
39 "or a related class."));
69std::vector<DataComponentInterpretation::DataComponentInterpretation>
74 return std::vector<DataComponentInterpretation::DataComponentInterpretation>(
83 const std::string &name,
86 , update_flags(update_flags)
92std::vector<std::string>
95 return std::vector<std::string>(1, name);
101std::vector<DataComponentInterpretation::DataComponentInterpretation>
104 return std::vector<DataComponentInterpretation::DataComponentInterpretation>(
122 const std::string &name,
125 , update_flags(update_flags)
131std::vector<std::string>
134 return std::vector<std::string>(dim, name);
140std::vector<DataComponentInterpretation::DataComponentInterpretation>
143 return std::vector<DataComponentInterpretation::DataComponentInterpretation>(
161 const std::string &name,
164 , update_flags(update_flags)
170std::vector<std::string>
173 return std::vector<std::string>(dim * dim, name);
179std::vector<DataComponentInterpretation::DataComponentInterpretation>
182 return std::vector<DataComponentInterpretation::DataComponentInterpretation>(
213 inputs.template get_cell<dim>();
216 for (
auto &output : computed_quantities)
224 if (cell->at_boundary(face))
225 output(0) = cell->face(face)->boundary_id();
235#include "data_postprocessor.inst"
DataPostprocessorScalar(const std::string &name, const UpdateFlags update_flags)
virtual std::vector< std::string > get_names() const override
virtual UpdateFlags get_needed_update_flags() const override
virtual std::vector< DataComponentInterpretation::DataComponentInterpretation > get_data_component_interpretation() const override
DataPostprocessorTensor(const std::string &name, const UpdateFlags update_flags)
virtual std::vector< std::string > get_names() const override
virtual std::vector< DataComponentInterpretation::DataComponentInterpretation > get_data_component_interpretation() const override
virtual UpdateFlags get_needed_update_flags() const override
virtual std::vector< std::string > get_names() const override
virtual UpdateFlags get_needed_update_flags() const override
DataPostprocessorVector(const std::string &name, const UpdateFlags update_flags)
virtual std::vector< DataComponentInterpretation::DataComponentInterpretation > get_data_component_interpretation() const override
virtual void evaluate_vector_field(const DataPostprocessorInputs::Vector< dim > &input_data, std::vector< Vector< double > > &computed_quantities) const
virtual void evaluate_scalar_field(const DataPostprocessorInputs::Scalar< dim > &input_data, std::vector< Vector< double > > &computed_quantities) const
virtual std::vector< DataComponentInterpretation::DataComponentInterpretation > get_data_component_interpretation() const
virtual void evaluate_scalar_field(const DataPostprocessorInputs::Scalar< dim > &inputs, std::vector< Vector< double > > &computed_quantities) const override
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
#define Assert(cond, exc)
#define AssertDimension(dim1, dim2)
static ::ExceptionBase & ExcPureFunctionCalled()
static ::ExceptionBase & ExcMessage(std::string arg1)
#define AssertThrow(cond, exc)
typename ActiveSelector::active_cell_iterator active_cell_iterator
@ update_default
No update.
@ component_is_part_of_tensor
@ component_is_part_of_vector
static const unsigned int invalid_unsigned_int
unsigned int get_face_number() const
std::vector< double > solution_values