21 #ifndef _aspect_postprocess_particle_h 22 #define _aspect_postprocess_particle_h 29 #include <deal.II/particles/particle_handler.h> 30 #include <deal.II/base/data_out_base.h> 59 void build_patches(
const Particles::ParticleHandler<dim> &particle_handler,
61 const std::vector<std::string> &exclude_output_properties,
62 const bool only_group_3d_vectors);
68 const std::vector<DataOutBase::Patch<0,dim>> &
74 std::vector<std::string>
81 std::tuple<
unsigned int,
84 DataComponentInterpretation::DataComponentInterpretation>>
91 std::vector<DataOutBase::Patch<0,dim>>
patches;
102 std::tuple<
unsigned int,
105 DataComponentInterpretation::DataComponentInterpretation>>
150 std::pair<std::string,std::string> execute (TableHandler &statistics)
override;
155 void save (std::map<std::string, std::string> &status_strings)
const override;
160 void load (
const std::map<std::string, std::string> &status_strings)
override;
166 template <
class Archive>
167 void serialize (Archive &ar,
const unsigned int version);
180 parse_parameters (ParameterHandler &prm)
override;
202 void set_last_output_time (
const double current_time);
294 void writer (
const std::string &filename,
295 const std::string &temporary_filename,
296 const std::string &file_contents);
318 const std::string &description_file_prefix,
319 const std::string &solution_file_directory,
320 const std::string &solution_file_prefix,
321 const std::vector<std::string> &filenames);
std::map< std::string, std::vector< XDMFEntry > > xdmf_entries
std::vector< std::tuple< unsigned int, unsigned int, std::string, DataComponentInterpretation::DataComponentInterpretation > > get_nonscalar_data_ranges() const override
const std::vector< DataOutBase::Patch< 0, dim > > & get_patches() const override
unsigned int output_file_number
std::vector< DataOutBase::Patch< 0, dim > > patches
std::vector< std::string > get_dataset_names() const override
void declare_parameters(ParameterHandler &prm)
void build_patches(const Particles::ParticleHandler< dim > &particle_handler, const aspect::Particle::Property::ParticlePropertyInformation &property_information, const std::vector< std::string > &exclude_output_properties, const bool only_group_3d_vectors)
std::vector< std::string > exclude_output_properties
std::thread background_thread
std::map< std::string, std::vector< std::vector< std::string > > > output_file_names_by_timestep
std::vector< std::string > dataset_names
bool write_in_background_thread
std::string temporary_output_location
std::map< std::string, std::vector< std::pair< double, std::string > > > times_and_pvtu_file_names
std::vector< std::tuple< unsigned int, unsigned int, std::string, DataComponentInterpretation::DataComponentInterpretation > > vector_datasets
std::vector< std::string > output_formats