PeriDEM 0.3.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
Loading...
Searching...
No Matches
particleLoadingUtil.h
Go to the documentation of this file.
1/*
2 * -------------------------------------------
3 * Copyright (c) 2021 - 2026 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#ifndef LOADING_PARTILCELOADINGUTIL_H
12#define LOADING_PARTILCELOADINGUTIL_H
13
14#include <string>
15#include <vector>
16#include "util/point.h"
17#include "inp/bcBaseDeck.h"
18
19namespace loading {
27 bool needToProcessParticle(size_t id,
28 const inp::BCBaseDeck &bc);
29
37 bool needToComputeDof(const util::Point &x,
38 size_t id,
39 const inp::BCBaseDeck &bc);
40
41} // namespace loading
42
43#endif // LOADING_PARTILCELOADINGUTIL_H
Collection of methods and database related to loading.
bool needToProcessParticle(size_t id, const inp::BCBaseDeck &bc)
Function that checks if given particle with id = id needs to be processed within boundary condition d...
bool needToComputeDof(const util::Point &x, size_t id, const inp::BCBaseDeck &bc)
Function that checks if we need to do computation at a given point x within a particle with id = id.
User-input data for particle neighbor search.
Definition bcBaseDeck.h:25
A structure to represent 3d vectors.
Definition point.h:30