MPM-Geomechanics
Material Point Method for simulating geo-materials under large deformation conditions
Loading...
Searching...
No Matches
ShapeGimp.h
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2021-2025 MPM-Geomechanics Development Team
3
4#ifndef SHAPEGIMP_H_
5#define SHAPEGIMP_H_
6
7#include "Shape/Shape.h"
8
11class ShapeGimp: public Shape {
12
13public:
14
18
21 virtual ~ShapeGimp();
22
28 virtual void update(const Vector3d& particle_position, const Vector3d& nodal_position, const Vector3d& cell_dimension, const Vector3d& particle_size);
29
30private:
31
38 virtual double computeGradient(double pI_position, double cell_dimension, double lp);
39
46 virtual double computeShape(double pI_position, double cell_dimension, double lp);
47};
48
49#endif /* SHAPEGIMP_H_ */
Represents the GIMP shape functions used in the interpolation process.
Definition ShapeGimp.h:11
virtual ~ShapeGimp()
Default destructor.
virtual double computeShape(double pI_position, double cell_dimension, double lp)
Returns the shape function value.
virtual void update(const Vector3d &particle_position, const Vector3d &nodal_position, const Vector3d &cell_dimension, const Vector3d &particle_size)
Update the shape functions and its gradients.
ShapeGimp()
Default constructor.
virtual double computeGradient(double pI_position, double cell_dimension, double lp)
Returns the gradient of the shape function.
Represents the shape functions used in the interpolation process.
Definition Shape.h:12