chrono::fsi::sph::FsiForceWCSPH Class Reference

Description

Inter-particle force calculation for explicit SPH schemes.

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

Public Member Functions

 FsiForceWCSPH (FsiDataManager &data_mgr, BceManager &bce_mgr, bool verbose)
 Force class implemented using WCSPH with an 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::FsiForce
 FsiForce (FsiDataManager &data_mgr, BceManager &bce_mgr, bool verbose)
 Base constructor for the FsiForce class. More...
 
virtual ~FsiForce ()
 Destructor of the FsiForce.
 
void SetLinearSolver (SolverType type)
 Function to set the linear solver type for the solver implemented using the ISPH method (FsiForceISPH).
 

Additional Inherited Members

- Static Public Member Functions inherited from chrono::fsi::sph::FsiForce
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...
 
- Protected Attributes inherited from chrono::fsi::sph::FsiForce
FsiDataManagerm_data_mgr
 FSI data manager.
 
BceManagerm_bce_mgr
 BCE manager.
 
bool m_verbose
 
bool * m_errflagD
 

Constructor & Destructor Documentation

◆ FsiForceWCSPH()

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

Force class implemented using WCSPH with an explicit integrator.

Supports for both fluid and granular material dynamics.

Parameters
data_mgrFSI data manager
bce_mgrBCE manager
verboseverbose output

Member Function Documentation

◆ Initialize()

void chrono::fsi::sph::FsiForceWCSPH::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::FsiForce.


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