Represents the GIMP shape functions used in the interpolation process.
More...
#include <ShapeGimp.h>
|
| | ShapeGimp () |
| | Default constructor.
|
| |
| virtual | ~ShapeGimp () |
| | Default destructor.
|
| |
| 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.
|
| |
| | Shape () |
| | Default constructor.
|
| |
| virtual | ~Shape () |
| | Default destructor.
|
| |
| const Vector3d & | getShape () const |
| | Return the shape function values.
|
| |
| const Vector3d & | getDerivate () const |
| | Returns the derivates values.
|
| |
| void | setShape (double sx, double sy, double sz) |
| | Configure the shape function values.
|
| |
| void | setDerivate (double gx, double gy, double gz) |
| | Configure the nodal shape function derivates.
|
| |
|
| virtual double | computeGradient (double pI_position, double cell_dimension, double lp) |
| | Returns the gradient of the shape function.
|
| |
| virtual double | computeShape (double pI_position, double cell_dimension, double lp) |
| | Returns the shape function value.
|
| |
Represents the GIMP shape functions used in the interpolation process.
◆ ShapeGimp()
◆ ~ShapeGimp()
| virtual ShapeGimp::~ShapeGimp |
( |
| ) |
|
|
virtual |
◆ computeGradient()
| virtual double ShapeGimp::computeGradient |
( |
double |
pI_position, |
|
|
double |
cell_dimension, |
|
|
double |
lp |
|
) |
| |
|
privatevirtual |
Returns the gradient of the shape function.
- Parameters
-
| [in] | pI_position | Relative position of the particle \(p\) respect to the node: \(x_p-x_I\) |
| [in] | cell_dimension | Cell dimension in the direction |
| [in] | lp | Half current particle size |
- Returns
- The gradient of the shape function \(dS_{Ip}/di\)
Implements Shape.
◆ computeShape()
| virtual double ShapeGimp::computeShape |
( |
double |
pI_position, |
|
|
double |
cell_dimension, |
|
|
double |
lp |
|
) |
| |
|
privatevirtual |
Returns the shape function value.
- Parameters
-
| [in] | pI_position | Relative position of the particle \(p\) respect to the node: \(x_p-x_I\) |
| [in] | cell_dimension | Cell dimension in the direction |
| [in] | lp | Half current particle size |
- Returns
- Shape function value \(S_{Ip}\)
Implements Shape.
◆ update()
| virtual void ShapeGimp::update |
( |
const Vector3d & |
particle_position, |
|
|
const Vector3d & |
nodal_position, |
|
|
const Vector3d & |
cell_dimension, |
|
|
const Vector3d & |
particle_size |
|
) |
| |
|
virtual |
Update the shape functions and its gradients.
- Parameters
-
| [in] | particle_position | Particle position |
| [in] | nodal_position | Nodal position |
| [in] | cell_dimension | Cell dimension |
| [in] | particle_size | Particle size |
Implements Shape.
The documentation for this class was generated from the following file: