chrono::fsi::sph::SphForceISPH Class Reference

Description

Inter-particle force calculation for the implicit SPH method.

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

Public Member Functions

 SphForceISPH (FsiDataManager &data_mgr, SphBceManager &bce_mgr, bool verbose, bool check_errors)
 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::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

◆ SphForceISPH()

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

Force class implemented using incompressible SPH method with implicit integrator.

Parameters
data_mgrFSI data manager
bce_mgrBCE manager
verboseverbose output
check_errorscheck errors

Member Function Documentation

◆ Initialize()

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