chrono::fsi::sph::ChFsiForceI2SPH Class Reference

Description

Inter-particle force calculation for the I2SPH method.

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

Public Member Functions

 ChFsiForceI2SPH (FsiDataManager &data_mgr, BceManager &bce_mgr, bool verbose)
 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::sph::ChFsiForce
 ChFsiForce (FsiDataManager &data_mgr, BceManager &bce_mgr, bool verbose)
 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).
 

Additional Inherited Members

- Static Public Member Functions inherited from chrono::fsi::sph::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...
 
- Public Attributes inherited from chrono::fsi::sph::ChFsiForce
std::shared_ptr< ChCollisionSystemFsifsiCollisionSystem
 collision system for building neighbors list
 
- Protected Attributes inherited from chrono::fsi::sph::ChFsiForce
FsiDataManagerm_data_mgr
 FSI data manager.
 
BceManagerm_bce_mgr
 BCE manager.
 
std::shared_ptr< SphMarkerDataDm_sortedSphMarkers_D
 device copy of the sorted sph particles data
 
bool m_verbose
 

Constructor & Destructor Documentation

◆ ChFsiForceI2SPH()

chrono::fsi::sph::ChFsiForceI2SPH::ChFsiForceI2SPH ( FsiDataManager data_mgr,
BceManager bce_mgr,
bool  verbose 
)

Force class implemented using incompressible SPH method with implicit integrator.

Parameters
data_mgrFSI data manager
bce_mgrBCE manager
verboseverbose output

Member Function Documentation

◆ Initialize()

virtual void chrono::fsi::sph::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::sph::ChFsiForce.


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