PeriDEM 0.2.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
Loading...
Searching...
No Matches
anonymous_namespace{particleFLoading.cpp} Namespace Reference

Functions

bool isInList (const size_t &i, const std::vector< size_t > &list)
 

Function Documentation

◆ isInList()

bool anonymous_namespace{particleFLoading.cpp}::isInList ( const size_t &  i,
const std::vector< size_t > &  list 
)

Definition at line 21 of file particleFLoading.cpp.

21 {
22 for (const auto &l : list)
23 if (l == i)
24 return true;
25
26 return false;
27}