|
MPM-Geomechanics
Material Point Method for simulating geo-materials under large deformation conditions
|
Represents the node that the particle contributes. More...
#include <Contribution.h>

Public Member Functions | |
| Contribution () | |
| Default constructor. | |
| virtual | ~Contribution () |
| Default destructor. | |
| int | getNodeId () const |
| Return the node identification. | |
| double | getWeight () const |
| Return the weight value. | |
| const Vector3d & | getGradients () const |
| Return the gradients values. | |
| void | setNodeId (int nodal_id) |
| Configure node identification. | |
| void | setWeight (double nodal_weight) |
| Configure weight. | |
| void | setGradients (const Vector3d &nodal_gradients) |
| Configure gradients. | |
Private Attributes | |
| int | nodeId |
| identification of node \( I \) | |
| double | weight |
| weight value of a node at a particle position \( N_I(x_p) \) | |
| Vector3d | gradient |
| gradient value of a node at a particle position \( N_{I,j}(x_p) = dN/dx_{I}(x_p), dN/dy_{I}(x_p), dN/dz_{I}(x_p) \). | |
Represents the node that the particle contributes.
During the interpolation process values stored in to the particles are calculated in mesh nodes using interpolation functions \( N_I(x_p) \) and its gradients \( N_{I,j}(x_p) \). Each of these functions are defined at the node \( I \) and evaluated at particle position \( x_p \).
This class store the nodal id \( I \) and the values of \( N_I(x_p) \) and \( N_{I,j}(x_p) \).
|
inline |
Default constructor.
|
inlinevirtual |
Default destructor.
|
inline |
Return the gradients values.
|
inline |
Return the node identification.
|
inline |
Return the weight value.
|
inline |
Configure gradients.
| [in] | nodal_gradients | Nodal gradients in each direction evaluated at the particle position |
|
inline |
Configure node identification.
| [in] | nodal_id | Node identification |
|
inline |
Configure weight.
| [in] | nodal_weight | Value of the nodal weight evaluated at the particle position |
|
private |
gradient value of a node at a particle position \( N_{I,j}(x_p) = dN/dx_{I}(x_p), dN/dy_{I}(x_p), dN/dz_{I}(x_p) \).
|
private |
identification of node \( I \)
|
private |
weight value of a node at a particle position \( N_I(x_p) \)