![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
Public Member Functions | |
| void | build_patches (std::vector< IBParticle< dim > > particles) |
| ~Visualization_IB () | |
Private Member Functions | |
| virtual const std::vector< DataOutBase::Patch< 0, dim > > & | get_patches () const override |
| virtual std::vector< std::string > | get_dataset_names () const override |
| virtual std::vector< std::tuple< unsigned int, unsigned int, std::string, DataComponentInterpretation::DataComponentInterpretation > > | get_nonscalar_data_ranges () const override |
Private Attributes | |
| std::vector< DataOutBase::Patch< 0, dim > > | patches |
| std::vector< std::string > | dataset_names |
| std::vector< std::tuple< unsigned int, unsigned int, std::string, DataComponentInterpretation::DataComponentInterpretation > > | vector_datasets |
| std::vector< std::pair< std::string, int > > | properties_to_write |
Defines a struct with methods that allow the generation of a visualisation of the IB_particles. This is equivalent to the corresponding class in the DEM solver.
Definition at line 591 of file fluid_dynamics_sharp.h.
|
default |
| void FluidDynamicsSharp< dim >::Visualization_IB::build_patches | ( | std::vector< IBParticle< dim > > | particles | ) |
Carries out building the patches of properties of particles for visualization
| particles | The vector fo IB_particles |
Definition at line 2639 of file fluid_dynamics_sharp.cc.
References dataset_names, FluidDynamicsSharp< dim >::particles, patches, properties_to_write, and vector_datasets.
|
overrideprivatevirtual |
Implementation of the corresponding function of the base class.
Definition at line 2703 of file fluid_dynamics_sharp.cc.
References dataset_names.
|
overrideprivatevirtual |
Definition at line 2714 of file fluid_dynamics_sharp.cc.
References vector_datasets.
|
overrideprivatevirtual |
Implementation of the corresponding function of the base class.
Definition at line 2696 of file fluid_dynamics_sharp.cc.
References patches.
|
private |
A list of field names for all data components stored in patches.
Definition at line 637 of file fluid_dynamics_sharp.h.
|
private |
Output information that is filled by build_patches() and written by the write function of the base class.
Definition at line 632 of file fluid_dynamics_sharp.h.
|
private |
Particle properties that are written in output files
Definition at line 654 of file fluid_dynamics_sharp.h.
|
private |
Store which of the data fields are vectors.
Definition at line 648 of file fluid_dynamics_sharp.h.