PeriDEM 0.2.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
|
Collection of methods and data related to geometry. More...
Data Structures | |
class | Fracture |
A class for fracture state of bonds. More... | |
Functions | |
void | computeNonlocalNeighborhood (const std::vector< util::Point > &nodes, double horizon, std::vector< std::vector< size_t > > &nodeNeighs) |
Partitions the nodes based on node neighborlist supplied. Function first creates a graph with nodes as vertices and edges given by node neighbors. Then the metis function is called to partition the graph into specified number of parts. | |
Collection of methods and data related to geometry.
void geometry::computeNonlocalNeighborhood | ( | const std::vector< util::Point > & | nodes, |
double | horizon, | ||
std::vector< std::vector< size_t > > & | nodeNeighs | ||
) |
Partitions the nodes based on node neighborlist supplied. Function first creates a graph with nodes as vertices and edges given by node neighbors. Then the metis function is called to partition the graph into specified number of parts.
nodes | Nodal coordinates |
horizon | Nonlocal radius |
nodeNeighs | Neighborlist of nodes |
Definition at line 17 of file geometryUtil.cpp.
Referenced by test::testGraphPartitioning(), and test::testMPI().