PeriDEM 0.3.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
Loading...
Searching...
No Matches
policy.h File Reference
#include "damping.h"
#include "pairForce.h"
#include <memory>
#include <string>
Include dependency graph for policy.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  contact
 

Functions

std::unique_ptr< PairForcecontact::makePairForce (const std::string &friction_law)
 Build pair-force object from friction-law name.
 
std::unique_ptr< Dampingcontact::makeDamping (const std::string &name)
 Build COM damping object, or nullptr when the law has no COM term.
 
bool contact::usesComDamping (const std::string &damping_law)
 True for com / com_and_node.
 
bool contact::usesNodeDamping (const std::string &damping_law)
 True for node / com_and_node.