PeriDEM 0.3.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
Loading...
Searching...
No Matches
particleULoading.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_PARTILCE_ULOADING_H
12#define LOADING_PARTILCE_ULOADING_H
13
14#include "particleLoading.h" // base class Loading
15#include "util/point.h" // definition of Point
16
17// forward declaration
18namespace fe {
19class Mesh;
20}
21
22namespace particle {
23class BaseParticle;
24}
25
26namespace data {
27class ModelData;
28}
29
30namespace loading {
31
36
37public:
42 ParticleULoading(std::vector<inp::BCBaseDeck> &bc_data);
43
49
55 void apply(const double &time, particle::BaseParticle *particle);
56
58 std::vector<bool> d_pZeroDisplacementApplied;
59};
60
61} // namespace loading
62
63#endif // LOADING_PARTILCE_ULOADING_H
A base class to apply displacement and force boundary condition.
A class to apply displacement boundary condition.
void apply(const double &time, particle::BaseParticle *particle)
Applies displacement boundary condition.
void setFixity(particle::BaseParticle *particle)
Sets fixity mask.
std::vector< bool > d_pZeroDisplacementApplied
Flag to indicate whether particles are fixed.
A class to store particle geometry, nodal discretization, and methods.
Definition contact.h:20
Definition baseElem.h:17
Collection of methods and database related to loading.
Collection of methods and data related to particle object.
Definition modelData.h:36