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

Functions

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

Function Documentation

◆ isInList()

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

Definition at line 23 of file particleULoading.cpp.

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