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>
554 get_names()
const = 0;
578 virtual std::vector<DataComponentInterpretation::DataComponentInterpretation>
579 get_data_component_interpretation()
const;
592 get_needed_update_flags()
const = 0;
654 virtual std::vector<std::string>
655 get_names()
const override;
664 virtual std::vector<DataComponentInterpretation::DataComponentInterpretation>
665 get_data_component_interpretation()
const override;
673 get_needed_update_flags()
const override;
897 virtual std::vector<std::string>
898 get_names()
const override;
907 virtual std::vector<DataComponentInterpretation::DataComponentInterpretation>
908 get_data_component_interpretation()
const override;
916 get_needed_update_flags()
const override;
1146 virtual std::vector<std::string>
1147 get_names()
const override;
1156 virtual std::vector<DataComponentInterpretation::DataComponentInterpretation>
1157 get_data_component_interpretation()
const override;
1165 get_needed_update_flags()
const override;
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
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);
std::vector< std::vector< Tensor< 2, spacedim > > > solution_hessians
std::vector< double > solution_values
DoFHandlerType::cell_iterator get_cell() const
static ::ExceptionBase & ExcMessage(std::string arg1)
#define Assert(cond, exc)
std::vector< std::vector< Tensor< 1, spacedim > > > solution_gradients
void set_cell(const typename DoFHandlerType::cell_iterator &cell)
#define DEAL_II_NAMESPACE_CLOSE
const UpdateFlags update_flags
std::vector< Tensor< 2, spacedim > > solution_hessians
const UpdateFlags update_flags
std::vector< Tensor< 1, spacedim > > solution_gradients
std::vector< Point< spacedim > > evaluation_points
#define DEAL_II_NAMESPACE_OPEN
const UpdateFlags update_flags
std::vector< Tensor< 1, spacedim > > normals
std::vector<::Vector< double > > solution_values