Class to perform particle to particle interpolation using DC-PSE kernels. More...
#include <DcpseInterpolation.hpp>
Public Member Functions | |
| PPInterpolation (particlesSupport_type &particlesSupport, particlesDomain_type &particlesDomain, VerletList_type &verletList, unsigned int ord, typename particlesSupport_type::stype rCut, support_options opt=support_options::RADIUS) | |
| Constructor for Creating the DCPSE Operator Dx and objects and computes DCPSE Kernels. More... | |
| PPInterpolation (particlesSupport_type &particlesSupport, particlesDomain_type &particlesDomain, VerletList_type &verletList, unsigned int ord, typename particlesSupport_type::stype rCut, typename particlesSupport_type::stype nSpacing, bool isSurfaceInterpolation, support_options opt=support_options::RADIUS) | |
| void | deallocate () |
| template<unsigned int propSupport, unsigned int propDomain> | |
| void | p2p () |
| Method to perform the particle to particle interpolation of SCALAR fields using DC-PSE kernels. More... | |
| template<unsigned int propSupport, unsigned int propDomain, size_t N1> | |
| void | p2p () |
| void | update () |
| Method for Updating the DCPSE Operator by recomputing DCPSE Kernels. | |
Private Attributes | |
| void * | dcpse |
| particlesSupport_type & | particlesSupport |
| particlesDomain_type & | particlesDomain |
Class to perform particle to particle interpolation using DC-PSE kernels.
| particlesSupport_type | Type of the particle set from which to interpolate. |
| particlesDomain_type | Type of the particle set to which to interpolate. |
| VerletList_type | Type of the Verlet List of the particle support set (particlesSupport) |
| NORMAL_ID | Property ID for the normal field of the particle set. |
| particlesFrom | Particle set from which to interpolate. |
| particlesTo | Particle set to which to interpolate. |
| ord | Convergence order of the numerical operator. |
| rCut | Size of the support/argument for cell list construction. It has to include sufficient enough particles to create the support. |
| isSurfaceInterpolation | If not passed as true, interpolation is performed on the bulk. |
| oversampling_factor | Multiplier to the minimum no. of particles required by the operator in support. |
| support_options | default:RADIUS (selects all particles inside rCut, overrides oversampling). |
The interpolation is performed using the (Surface) DC-PSE operators corresponding to the zeroth order derivative. Inside the constructor, the differential signature vector is set to zero, and a Dcpse object is created. Interpolation is then performed when calling the p2p method passing the property ID of the two sets <prop_From,prop_To>.
Definition at line 31 of file DcpseInterpolation.hpp.
|
inline |
Constructor for Creating the DCPSE Operator Dx and objects and computes DCPSE Kernels.
| particlesSupport | Particle set from which to interpolate. |
| particlesDomain | Particle set to which to interpolate. |
| VerletList | Verlet List of the particle support set (particlesSupport) |
| ord | Convergence order of the numerical operator. |
| rCut | Size of the support/argument for cell list construction. It has to include sufficient enough particles to create the support. |
| support_options | default:RADIUS (selects all particles inside rCut, overrides oversampling). |
Definition at line 52 of file DcpseInterpolation.hpp.
|
inline |
Method to perform the particle to particle interpolation of SCALAR fields using DC-PSE kernels.
Method to perform the particle to particle interpolation of VECTOR fields using DC-PSE kernels.
| propSupport | Property ID for the property to interpolate from (scalar property, e.g. double). |
| propDomain | Property ID for the property to interpolate to (scalar property, e.g. double). |
| propSupport | Property ID for the property to interpolate from (vector property, e.g. double[3]). |
| propDomain | Property ID for the property to interpolate to (vector property, e.g. double[3]). |
| N1 | Number of elements in the vector property (e.g., for double[3], N1=3). |
Definition at line 133 of file DcpseInterpolation.hpp.