PeriDEM
0.2.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
Loading...
Searching...
No Matches
geometryUtil.h
Go to the documentation of this file.
1
/*
2
* -------------------------------------------
3
* Copyright (c) 2021 - 2024 Prashant K. Jha
4
* -------------------------------------------
5
* PeriDEM https://github.com/prashjha/PeriDEM
6
*
7
* Distributed under the Boost Software License, Version 1.0. (See accompanying
8
* file LICENSE)
9
*/
10
11
#pragma once
12
13
#include "
util/point.h
"
14
#include <vector>
15
16
namespace
geometry
{
17
26
void
computeNonlocalNeighborhood
(
const
std::vector<util::Point> &nodes,
27
double
horizon,
28
std::vector<std::vector<size_t>> &nodeNeighs);
29
30
}
// namespace geometry
31
geometry
Collection of methods and data related to geometry.
Definition
fracture.h:20
geometry::computeNonlocalNeighborhood
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 a...
Definition
geometryUtil.cpp:17
point.h
src
geometry
geometryUtil.h
Generated by
1.9.8