17 #ifndef dealii_point_value_history_h 18 #define dealii_point_value_history_h 54 namespace PointValueHistoryImplementation
67 const std::vector<types::global_dof_index> &new_sol_indices);
239 const unsigned int n_independent_variables = 0);
284 add_points(
const std::vector<
Point<dim>> &locations);
296 add_field_name(
const std::string & vector_name,
308 add_field_name(
const std::string &vector_name,
316 add_component_names(
const std::string & vector_name,
317 const std::vector<std::string> &component_names);
324 add_independent_names(
const std::vector<std::string> &independent_names);
336 template <
class VectorType>
338 evaluate_field(
const std::string &name,
const VectorType &solution);
358 template <
class VectorType>
360 evaluate_field(
const std::vector<std::string> &names,
370 template <
class VectorType>
372 evaluate_field(
const std::string & name,
390 template <
class VectorType>
392 evaluate_field_at_requested_location(
const std::string &name,
405 start_new_dataset(
const double key);
414 push_back_independent(
const std::vector<double> &independent_values);
437 const std::vector<
Point<dim>> &postprocessor_locations =
465 mark_support_locations();
475 get_support_locations(std::vector<std::vector<
Point<dim>>> &locations);
487 get_points(std::vector<std::vector<
Point<dim>>> &locations);
535 status(std::ostream &out);
547 deep_check(
const bool strict);
553 "A call has been made to push_back_independent() when " 554 "no independent values were requested.");
561 "This error is thrown to indicate that the data sets appear to be out of " 562 "sync. The class requires that the number of dataset keys is the same as " 563 "the number of independent values sets and mesh linked value sets. The " 564 "number of each of these is allowed to differ by one to allow new values " 565 "to be added with out restricting the order the user choses to do so. " 566 "Special cases of no FHandler and no independent values should not " 567 "trigger this error.");
574 ExcDoFHandlerRequired,
575 "A method which requires access to a @p DoFHandler to be meaningful has " 576 "been called when have_dof_handler is false (most likely due to default " 577 "constructor being called). Only independent variables may be logged with " 584 ExcDoFHandlerChanged,
585 "The triangulation has been refined or coarsened in some way. This " 586 "suggests that the internal DoF indices stored by the current " 587 "object are no longer meaningful.");
615 std::map<std::string, std::vector<std::vector<double>>>
data_store;
632 std::vector<internal::PointValueHistoryImplementation::PointGeometryData<dim>>
686 tria_change_listener();
std::vector< std::vector< double > > independent_values
std::vector< internal::PointValueHistoryImplementation::PointGeometryData< dim > > point_geometry_data
std::vector< double > dataset_key
Point< dim > requested_location
std::vector< std::string > indep_names
SmartPointer< const DoFHandler< dim >, PointValueHistory< dim > > dof_handler
void write_gnuplot(const std::vector< Patch< dim, spacedim >> &patches, const std::vector< std::string > &data_names, const std::vector< std::tuple< unsigned int, unsigned int, std::string, DataComponentInterpretation::DataComponentInterpretation >> &nonscalar_data_ranges, const GnuplotFlags &flags, std::ostream &out)
boost::signals2::connection tria_listener
PointGeometryData(const Point< dim > &new_requested_location, const std::vector< Point< dim >> &new_locations, const std::vector< types::global_dof_index > &new_sol_indices)
Only a constructor needed for this class (a struct really)
#define DeclExceptionMsg(Exception, defaulttext)
#define DEAL_II_NAMESPACE_CLOSE
std::map< std::string, std::vector< std::vector< double > > > data_store
std::vector< types::global_dof_index > solution_indices
std::vector< Point< dim > > support_point_locations
bool triangulation_changed
#define DEAL_II_NAMESPACE_OPEN
std::map< std::string, ComponentMask > component_mask
std::map< std::string, std::vector< std::string > > component_names_map
#define DEAL_II_DEPRECATED