16 #include <deal.II/numerics/data_postprocessor.h> 18 DEAL_II_NAMESPACE_OPEN
47 std::vector<DataComponentInterpretation::DataComponentInterpretation>
53 std::vector<DataComponentInterpretation::DataComponentInterpretation>
67 update_flags (update_flags)
73 std::vector<std::string>
77 return std::vector<std::string> (1, name);
83 std::vector<DataComponentInterpretation::DataComponentInterpretation>
88 std::vector<DataComponentInterpretation::DataComponentInterpretation>
111 update_flags (update_flags)
117 std::vector<std::string>
121 return std::vector<std::string> (dim, name);
127 std::vector<DataComponentInterpretation::DataComponentInterpretation>
132 std::vector<DataComponentInterpretation::DataComponentInterpretation>
156 update_flags (update_flags)
162 std::vector<std::string>
166 static_assert (dim <= 3,
167 "The following variable needs to be expanded for dim>3");
168 static const char suffixes[] = {
'x',
'y',
'z' };
170 std::vector<std::string> names;
171 for (
unsigned int d=0; d<dim; ++d)
172 for (
unsigned int e=0; e<dim; ++e)
173 names.push_back (name +
'_' + suffixes[d] + suffixes[e]);
180 std::vector<DataComponentInterpretation::DataComponentInterpretation>
185 std::vector<DataComponentInterpretation::DataComponentInterpretation>
202 #include "data_postprocessor.inst" 205 DEAL_II_NAMESPACE_CLOSE
static ::ExceptionBase & ExcPureFunctionCalled()
DataPostprocessorTensor(const std::string &name, const UpdateFlags update_flags)
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< std::string > get_names() const
virtual std::vector< DataComponentInterpretation::DataComponentInterpretation > get_data_component_interpretation() const
#define AssertThrow(cond, exc)
DataPostprocessorScalar(const std::string &name, const UpdateFlags update_flags)
virtual UpdateFlags get_needed_update_flags() const
virtual std::vector< DataComponentInterpretation::DataComponentInterpretation > get_data_component_interpretation() const
virtual std::vector< std::string > get_names() const
virtual std::vector< std::string > get_names() const
virtual UpdateFlags get_needed_update_flags() const
DataPostprocessorVector(const std::string &name, const UpdateFlags update_flags)
virtual UpdateFlags get_needed_update_flags() const
virtual std::vector< DataComponentInterpretation::DataComponentInterpretation > get_data_component_interpretation() const
virtual std::vector< DataComponentInterpretation::DataComponentInterpretation > get_data_component_interpretation() const