chrono::fsi::sph::ChFsiForceExplicitSPH Class Reference

Description

Inter-particle force calculation for explicit schemes.

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

Public Member Functions

 ChFsiForceExplicitSPH (FsiDataManager &data_mgr, BceManager &bce_mgr, bool verbose)
 Force class implemented using WCSPH with explicit integrator. More...
 
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

◆ ChFsiForceExplicitSPH()

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

Force class implemented using WCSPH with explicit integrator.

Supports for both fluid and granular material dynamics.

Parameters
data_mgrFSI data manager
bce_mgrBCE manager
verboseverbose terminal output

Member Function Documentation

◆ Initialize()

void chrono::fsi::sph::ChFsiForceExplicitSPH::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/ChFsiForceExplicitSPH.cuh