![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <solid_objects_parameters.h>
Public Member Functions | |
| DEMSolidObjects ()=default | |
| void | declare_parameters (ParameterHandler &prm) |
| void | parse_parameters (ParameterHandler &prm) |
Public Attributes | |
| Verbosity | verbosity |
| std::vector< std::shared_ptr< RigidSolidObject< dim - 1, dim > > > | solid_surfaces |
| std::vector< std::shared_ptr< RigidSolidObject< dim, dim > > > | solid_volumes |
| unsigned int | number_solid_surfaces |
| unsigned int | number_solid_volumes |
Static Public Attributes | |
| static const unsigned int | max_number_of_solids = 50 |
Container class managing rigid solid objects for DEM simulations.
This class holds two collections of RigidSolidObject instances: solid surfaces (2D boundaries) and solid volumes (3D bodies). It provides parameter declaration and parsing for the "solid objects" section of the parameter file.
| dim | Number of spatial dimensions. |
Definition at line 535 of file solid_objects_parameters.h.
|
default |
| void Parameters::DEMSolidObjects< dim >::declare_parameters | ( | ParameterHandler & | prm | ) |
Declare the parameters in the parameter handler.
| [in,out] | prm | The parameter handler object. |
Definition at line 577 of file solid_objects_parameters.h.
References max_number_of_solids, number_solid_surfaces, number_solid_volumes, solid_surfaces, and solid_volumes.
| void Parameters::DEMSolidObjects< dim >::parse_parameters | ( | ParameterHandler & | prm | ) |
Parse the parameters from the parameter handler.
| [in] | prm | The parameter handler object. |
Definition at line 625 of file solid_objects_parameters.h.
References number_solid_surfaces, number_solid_volumes, solid_surfaces, and solid_volumes.
|
static |
Maximum number of solid objects allowed.
Definition at line 572 of file solid_objects_parameters.h.
| unsigned int Parameters::DEMSolidObjects< dim >::number_solid_surfaces |
Number of active solid surface objects.
Definition at line 566 of file solid_objects_parameters.h.
| unsigned int Parameters::DEMSolidObjects< dim >::number_solid_volumes |
Number of active solid volume objects.
Definition at line 569 of file solid_objects_parameters.h.
| std::vector<std::shared_ptr<RigidSolidObject<dim - 1, dim> > > Parameters::DEMSolidObjects< dim >::solid_surfaces |
Collection of rigid solid surface objects.
Definition at line 560 of file solid_objects_parameters.h.
| std::vector<std::shared_ptr<RigidSolidObject<dim, dim> > > Parameters::DEMSolidObjects< dim >::solid_volumes |
Collection of rigid solid volume objects.
Definition at line 563 of file solid_objects_parameters.h.
| Verbosity Parameters::DEMSolidObjects< dim >::verbosity |
Verbosity level for force/torque output.
Definition at line 557 of file solid_objects_parameters.h.