chrono::fsi::ChFsiForceI2SPH Class Reference

Description

Inter-particle force calculation for the I2SPH method.

Inheritance diagram for chrono::fsi::ChFsiForceI2SPH:
Collaboration diagram for chrono::fsi::ChFsiForceI2SPH:

Public Member Functions

 ChFsiForceI2SPH (std::shared_ptr< ChBce > otherBceWorker, std::shared_ptr< SphMarkerDataD > otherSortedSphMarkersD, std::shared_ptr< ProximityDataD > otherMarkersProximityD, std::shared_ptr< FsiData > otherFsiGeneralData, std::shared_ptr< SimParams > params, std::shared_ptr< ChCounters > numObjects, bool verb)
 Force class implemented using incompressible SPH method with implicit integrator. More...
 
virtual void Initialize () override
 Synchronize the copy of the data (parameters and number of objects) between device (GPU) and host (CPU). More...
 
- Public Member Functions inherited from chrono::fsi::ChFsiForce
 ChFsiForce (std::shared_ptr< ChBce > otherBceWorker, std::shared_ptr< SphMarkerDataD > otherSortedSphMarkersD, std::shared_ptr< ProximityDataD > otherMarkersProximityD, std::shared_ptr< FsiData > otherFsiData, std::shared_ptr< SimParams > params, std::shared_ptr< ChCounters > numObjects, bool verb)
 Base constructor for the ChFsiForce class. More...
 
virtual ~ChFsiForce ()
 Destructor of the ChFsiForce.
 
void SetLinearSolver (SolverType type)
 Function to set the linear solver type for the solver implemented using the ISPH method (ChFsiForceI2SPH).
 
- Public Member Functions inherited from chrono::fsi::ChFsiBase
 ChFsiBase (std::shared_ptr< SimParams > params, std::shared_ptr< ChCounters > numObjects)
 Constructor for the ChFsiBase class. More...
 
virtual ~ChFsiBase ()
 Destructor of the ChFsiBase class.
 

Additional Inherited Members

- Static Public Member Functions inherited from chrono::fsi::ChFsiForce
static void CopySortedToOriginal_Invasive_R3 (thrust::device_vector< Real3 > &original, thrust::device_vector< Real3 > &sorted, const thrust::device_vector< uint > &gridMarkerIndex)
 Copy sorted data into original data (real3). More...
 
static void CopySortedToOriginal_NonInvasive_R3 (thrust::device_vector< Real3 > &original, const thrust::device_vector< Real3 > &sorted, const thrust::device_vector< uint > &gridMarkerIndex)
 Copy sorted data into original data (real3). More...
 
static void CopySortedToOriginal_Invasive_R4 (thrust::device_vector< Real4 > &original, thrust::device_vector< Real4 > &sorted, const thrust::device_vector< uint > &gridMarkerIndex)
 Copy sorted data into original data (real4). More...
 
static void CopySortedToOriginal_NonInvasive_R4 (thrust::device_vector< Real4 > &original, thrust::device_vector< Real4 > &sorted, const thrust::device_vector< uint > &gridMarkerIndex)
 Copy sorted data into original data (real4). More...
 
- Static Public Member Functions inherited from chrono::fsi::ChFsiBase
static void computeGridSize (uint n, uint blockSize, uint &numBlocks, uint &numThreads)
 Compute number of blocks and threads for calculation on GPU. More...
 
- Public Attributes inherited from chrono::fsi::ChFsiForce
std::shared_ptr< ChCollisionSystemFsifsiCollisionSystem
 collision system for building neighbors list
 
- Protected Attributes inherited from chrono::fsi::ChFsiForce
std::shared_ptr< ChBcebceWorker
 pointer to Boundary Condition Enforcing particles class
 
std::shared_ptr< SphMarkerDataDsphMarkersD
 device copy of the SPH particles data
 
std::shared_ptr< SphMarkerDataDsortedSphMarkers_D
 device copy of the sorted sph particles data
 
std::shared_ptr< ProximityDataDmarkersProximity_D
 pointer object that holds the proximity of the particles
 
std::shared_ptr< FsiDatafsiData
 pointer to sph general data
 
thrust::device_vector< Real3 > vel_vis_Sorted_D
 sorted visualization velocity data
 
thrust::device_vector< Real3 > vel_XSPH_Sorted_D
 sorted xsph velocity data
 
thrust::device_vector< Real4 > derivVelRhoD_Sorted_D
 sorted derivVelRhoD
 
bool verbose
 
- Protected Attributes inherited from chrono::fsi::ChFsiBase
std::shared_ptr< SimParamsparamsH
 simulation parameters (host)
 
std::shared_ptr< ChCountersnumObjectsH
 problem counters (host)
 

Constructor & Destructor Documentation

◆ ChFsiForceI2SPH()

chrono::fsi::ChFsiForceI2SPH::ChFsiForceI2SPH ( std::shared_ptr< ChBce otherBceWorker,
std::shared_ptr< SphMarkerDataD otherSortedSphMarkersD,
std::shared_ptr< ProximityDataD otherMarkersProximityD,
std::shared_ptr< FsiData otherFsiGeneralData,
std::shared_ptr< SimParams params,
std::shared_ptr< ChCounters numObjects,
bool  verb 
)

Force class implemented using incompressible SPH method with implicit integrator.

Parameters
otherBceWorkerobject that handles BCE particles
otherSortedSphMarkersDinformation of particle in the sorted device array
otherMarkersProximityDobject that holds device proximity info
otherFsiGeneralDataSPH general data
paramssimulation parameters
numObjectsproblem counters
verbverbose output

Member Function Documentation

◆ Initialize()

virtual void chrono::fsi::ChFsiForceI2SPH::Initialize ( )
overridevirtual

Synchronize the copy of the data (parameters and number of objects) between device (GPU) and host (CPU).

This function needs to be called once the host data are modified.

Reimplemented from chrono::fsi::ChFsiForce.


The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono_fsi/physics/ChFsiForceI2SPH.cuh