#include <postprocessor.hpp>
|
| | Postprocessor (const MPI_Comm mpi_communicator_in, const OutputData< number > &output_data_in, const TimeIntegration::TimeSteppingData< number > &time_data, const dealii::Mapping< dim > &mapping_in, const dealii::Triangulation< dim > &triangulation_in, const ConditionalOStream &pcout_in) |
| |
| void | process (const int n_time_step, const GenericDataOut< dim, number > &generic_data_out, const number time=-1.0, const bool force_output=false, const bool force_update_requested_output_variables=false) |
| |
| void | process (const int n_time_step, const std::function< void(GenericDataOut< dim, number > &)> &attach_output_vectors, const number time=-1.0) |
| |
| bool | is_output_timestep (const int n_time_step, const number time) const |
| |
| template<class Archive > |
| void | serialize (Archive &ar, const unsigned int) |
| |
| void | register_obstacle_output (dealii::Particles::ParticleHandler< dim > const *particle_handler, const std::vector< std::string > &property_names, const std::vector< dealii::DataComponentInterpretation::DataComponentInterpretation > &property_data_component_interpretation) |
| |
|
| void | clean_pvd (std::vector< std::pair< number, std::string > > ×_and_names) |
| | Clean non-existing *.pvtu files from the *.pvd file. This is required if we perform a restart and write the output to a different directory compared to the original simulation.
|
| |
| void | write_paraview_files (const unsigned int n_time_step, const number time, const GenericDataOut< dim, number > &generic_data_out, const bool force_output_all=false) |
| |
| void | write_particle_paraview_files (const unsigned int n_time_step, const number time) |
| | Writes particles from the registered particle handler to ParaView files, including their positions and properties for obstacle output.
|
| |
| void | print_boundary_ids () |
| |
◆ Postprocessor()
template<int dim, typename number >
◆ clean_pvd()
template<int dim, typename number >
| void MeltPoolDG::Postprocessor< dim, number >::clean_pvd |
( |
std::vector< std::pair< number, std::string > > & |
times_and_names | ) |
|
|
private |
Clean non-existing *.pvtu files from the *.pvd file. This is required if we perform a restart and write the output to a different directory compared to the original simulation.
- Parameters
-
| times_and_names | Times and filenames of previously written output. This vector is modified in-place to exclude entries referring to missing *.pvtu files. |
◆ is_output_timestep()
template<int dim, typename number >
Determines whether postprocessing should be performed now.
◆ print_boundary_ids()
template<int dim, typename number >
◆ process() [1/2]
template<int dim, typename number >
| void MeltPoolDG::Postprocessor< dim, number >::process |
( |
const int |
n_time_step, |
|
|
const GenericDataOut< dim, number > & |
generic_data_out, |
|
|
const number |
time = -1.0, |
|
|
const bool |
force_output = false, |
|
|
const bool |
force_update_requested_output_variables = false |
|
) |
| |
This function collects and performs all relevant postprocessing steps.
◆ process() [2/2]
template<int dim, typename number >
This function collects and performs all relevant postprocessing steps.
◆ register_obstacle_output()
template<int dim, typename number >
| void MeltPoolDG::Postprocessor< dim, number >::register_obstacle_output |
( |
dealii::Particles::ParticleHandler< dim > const * |
particle_handler, |
|
|
const std::vector< std::string > & |
property_names, |
|
|
const std::vector< dealii::DataComponentInterpretation::DataComponentInterpretation > & |
property_data_component_interpretation |
|
) |
| |
|
inline |
◆ serialize()
template<int dim, typename number >
template<class Archive >
◆ write_paraview_files()
template<int dim, typename number >
| void MeltPoolDG::Postprocessor< dim, number >::write_paraview_files |
( |
const unsigned int |
n_time_step, |
|
|
const number |
time, |
|
|
const GenericDataOut< dim, number > & |
generic_data_out, |
|
|
const bool |
force_output_all = false |
|
) |
| |
|
private |
◆ write_particle_paraview_files()
template<int dim, typename number >
| void MeltPoolDG::Postprocessor< dim, number >::write_particle_paraview_files |
( |
const unsigned int |
n_time_step, |
|
|
const number |
time |
|
) |
| |
|
private |
Writes particles from the registered particle handler to ParaView files, including their positions and properties for obstacle output.
- Note
- The member function register_obstacle_output() must be called once beforehand. This is not verified internally, so it is the caller's responsibility to ensure it.
- Parameters
-
| n_time_step | Current time step number. |
| time | Current simulation time. |
◆ do_simplex
template<int dim, typename number >
◆ end_time
template<int dim, typename number >
◆ idx_req_vars
template<int dim, typename number >
◆ mapping
template<int dim, typename number >
◆ mpi_communicator
template<int dim, typename number >
◆ obstacle_output
template<int dim, typename number >
◆ output_data
template<int dim, typename number >
◆ particle_times_and_names
template<int dim, typename number >
Times and filenames of previously written particle output.
◆ pcout
template<int dim, typename number >
◆ time_at_last_output
template<int dim, typename number >
◆ triangulation
template<int dim, typename number >
◆ vector_times_and_names
template<int dim, typename number >
Times and filenames of previously written vector output.
The documentation for this class was generated from the following files: