|
Reference documentation for deal.II version 9.2.0
|
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\)
\(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\)
\(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\)
\(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Go to the documentation of this file.
16 #ifndef dealii_data_postprocessor_h
17 #define dealii_data_postprocessor_h
33 #include <boost/any.hpp>
152 template <
int spacedim>
195 template <
typename DoFHandlerType>
197 set_cell(
const typename DoFHandlerType::cell_iterator &
cell);
204 template <
typename DoFHandlerType>
205 typename DoFHandlerType::cell_iterator
237 template <
int spacedim>
317 template <
int spacedim>
553 virtual std::vector<std::string>
578 virtual std::vector<DataComponentInterpretation::DataComponentInterpretation>
654 virtual std::vector<std::string>
664 virtual std::vector<DataComponentInterpretation::DataComponentInterpretation>
897 virtual std::vector<std::string>
907 virtual std::vector<DataComponentInterpretation::DataComponentInterpretation>
1146 virtual std::vector<std::string>
1156 virtual std::vector<DataComponentInterpretation::DataComponentInterpretation>
1182 template <
int spacedim>
1183 template <
typename DoFHandlerType>
1186 const typename DoFHandlerType::cell_iterator &new_cell)
1191 if (
typename DoFHandlerType::cell_iterator *storage_location =
1192 boost::any_cast<typename DoFHandlerType::cell_iterator>(&cell))
1193 *storage_location = new_cell;
1202 template <
int spacedim>
1203 template <
typename DoFHandlerType>
1204 typename DoFHandlerType::cell_iterator
1207 Assert(cell.empty() ==
false,
1209 "You are trying to access the cell associated with a "
1210 "DataPostprocessorInputs::Scalar object for which no cell has "
1212 Assert(boost::any_cast<typename DoFHandlerType::cell_iterator>(&cell) !=
1215 "You are trying to access the cell associated with a "
1216 "DataPostprocessorInputs::Scalar with a DoFHandler type that "
1217 "is different from the type with which it has been set. For "
1218 "example, if the cell for which output is currently being "
1219 "generated belongs to a hp::DoFHandler<2,3> object, then you can "
1220 "only call the current function with a template argument "
1221 "equal to hp::DoFHandler<2,3>, but not with any other class "
1222 "type or dimension template argument."));
1223 return boost::any_cast<typename DoFHandlerType::cell_iterator>(cell);
virtual std::vector< std::string > get_names() const override
virtual UpdateFlags get_needed_update_flags() const override
virtual UpdateFlags get_needed_update_flags() const override
virtual std::vector< std::string > get_names() const override
DataPostprocessorTensor(const std::string &name, const UpdateFlags update_flags)
DataPostprocessorScalar(const std::string &name, const UpdateFlags update_flags)
virtual std::vector< DataComponentInterpretation::DataComponentInterpretation > get_data_component_interpretation() const override
DoFHandlerType::cell_iterator get_cell() const
std::vector< std::vector< Tensor< 2, spacedim > > > solution_hessians
virtual void evaluate_vector_field(const DataPostprocessorInputs::Vector< dim > &input_data, std::vector< Vector< double >> &computed_quantities) const
std::vector<::Vector< double > > solution_values
static ::ExceptionBase & ExcMessage(std::string arg1)
const UpdateFlags update_flags
#define DEAL_II_NAMESPACE_OPEN
std::vector< Tensor< 2, spacedim > > solution_hessians
virtual std::vector< DataComponentInterpretation::DataComponentInterpretation > get_data_component_interpretation() const override
virtual std::vector< DataComponentInterpretation::DataComponentInterpretation > get_data_component_interpretation() const override
std::vector< Point< spacedim > > evaluation_points
const UpdateFlags update_flags
std::vector< Tensor< 1, spacedim > > solution_gradients
#define Assert(cond, exc)
std::vector< Tensor< 1, spacedim > > normals
void set_cell(const typename DoFHandlerType::cell_iterator &cell)
std::vector< double > solution_values
virtual ~DataPostprocessor() override=default
virtual UpdateFlags get_needed_update_flags() const =0
#define DEAL_II_NAMESPACE_CLOSE
virtual std::vector< std::string > get_names() const =0
const UpdateFlags update_flags
virtual void evaluate_scalar_field(const DataPostprocessorInputs::Scalar< dim > &input_data, std::vector< Vector< double >> &computed_quantities) const
DataPostprocessorVector(const std::string &name, const UpdateFlags update_flags)
std::vector< std::vector< Tensor< 1, spacedim > > > solution_gradients
virtual UpdateFlags get_needed_update_flags() const override
virtual std::vector< DataComponentInterpretation::DataComponentInterpretation > get_data_component_interpretation() const
virtual std::vector< std::string > get_names() const override