![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <particle_wall_contact_force.h>
Public Member Functions | |
| virtual void | calculate_particle_wall_contact (typename DEM::dem_data_structures< dim >::particle_wall_in_contact &particle_wall_pairs_in_contact, const double dt, ParticleInteractionOutcomes< PropertiesIndex > &contact_outcome)=0 |
| virtual void | calculate_particle_solid_object_contact (typename DEM::dem_data_structures< dim >::particle_floating_mesh_potentially_in_contact &particle_floating_mesh_potentially_in_contact, const double dt, const std::vector< std::shared_ptr< SerialSolid< dim - 1, dim > > > &solids, ParticleInteractionOutcomes< PropertiesIndex > &contact_outcome)=0 |
| unsigned int | get_number_of_contacts () const |
| void | reset_number_of_contacts () |
Protected Attributes | |
| unsigned int | n_contacts = 0 |
Base class for the particle-wall contact force models This class does not implement any of the models, but ensures that an interface without template specialization is available. All the actual implementation of the models are carried out in the ParticleWallContactForce class which is templated by the contact model type.
| dim | An integer that denotes the number of spatial dimensions. |
| PropertiesIndex | Index of the properties used within the ParticleHandler. |
Definition at line 40 of file particle_wall_contact_force.h.
|
pure virtual |
Calculate the contact outcomes for particle-solid objects contacts using the contact pair information and physical properties.
| [in] | particle_floating_mesh_potentially_in_contact | A container that stores the information of particle-floating mesh contact. |
| [in] | dt | DEM time step. |
| [in] | solids | Floating solids. |
| [out] | contact_outcome | Interaction outcomes. |
Implemented in ParticleWallContactForce< dim, PropertiesIndex, contact_model, rolling_friction_model >.
|
pure virtual |
Calculate the contact outcomes for particle-wall contacts using the contact pair information and physical properties.
| [in] | particle_wall_pairs_in_contact | Required information for the calculation of the particle-wall contact. |
| [in] | dt | DEM time step. |
| [out] | contact_outcome | Interaction outcomes. |
Implemented in ParticleWallContactForce< dim, PropertiesIndex, contact_model, rolling_friction_model >.
|
inline |
Return the number of contacts that occurred in the present pseudo-time step when using the packed insertion method.
Definition at line 83 of file particle_wall_contact_force.h.
References n_contacts.
|
inline |
Reset the counter of number of contacts for the next pseudo-time step.
Definition at line 92 of file particle_wall_contact_force.h.
References n_contacts.
|
protected |
Definition at line 98 of file particle_wall_contact_force.h.