chrono::fsi::sph::SphForceWCSPH Class Reference

Description

Inter-particle force calculation for explicit SPH schemes.

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

Public Member Functions

 SphForceWCSPH (FsiDataManager &data_mgr, SphBceManager &bce_mgr, bool verbose, bool check_errors)
 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::SphForce
 SphForce (FsiDataManager &data_mgr, SphBceManager &bce_mgr, bool verbose)
 Base constructor for the SphForce class. More...
 
virtual ~SphForce ()
 Destructor of the SphForce.
 
void SetLinearSolver (SolverType type)
 Function to set the linear solver type for the solver implemented using the ISPH method (SphForceISPH).
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ SphForceWCSPH()

chrono::fsi::sph::SphForceWCSPH::SphForceWCSPH ( FsiDataManager data_mgr,
SphBceManager bce_mgr,
bool  verbose,
bool  check_errors 
)

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
check_errorscheck errors

Member Function Documentation

◆ Initialize()

void chrono::fsi::sph::SphForceWCSPH::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::SphForce.


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