Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
shammodels::sph::modules::SinkParticlesUpdate< Tvec, SPHKernel > Class Template Reference
+ Collaboration diagram for shammodels::sph::modules::SinkParticlesUpdate< Tvec, SPHKernel >:

Public Types

using Tscal = shambase::VecComponent< Tvec >
 
using Kernel = SPHKernel< Tscal >
 
using Config = SolverConfig< Tvec, SPHKernel >
 
using Storage = SolverStorage< Tvec, u32 >
 
using Sink = SinkParticle< Tvec >
 

Public Member Functions

 SinkParticlesUpdate (ShamrockCtx &context, Config &solver_config, Storage &storage)
 
void accrete_particles (Tscal dt)
 
void predictor_step (Tscal dt)
 
void compute_sph_forces ()
 
void compute_ext_forces ()
 
void corrector_step (Tscal dt)
 

Public Attributes

ShamrockCtxcontext
 
Configsolver_config
 
Storagestorage
 

Static Public Attributes

static constexpr u32 dim = shambase::VectorProperties<Tvec>::dimension
 

Detailed Description

template<class Tvec, template< class > class SPHKernel>
class shammodels::sph::modules::SinkParticlesUpdate< Tvec, SPHKernel >

Definition at line 29 of file SinkParticlesUpdate.hpp.

Member Typedef Documentation

◆ Config

template<class Tvec , template< class > class SPHKernel>
using shammodels::sph::modules::SinkParticlesUpdate< Tvec, SPHKernel >::Config = SolverConfig<Tvec, SPHKernel>

Definition at line 35 of file SinkParticlesUpdate.hpp.

◆ Kernel

template<class Tvec , template< class > class SPHKernel>
using shammodels::sph::modules::SinkParticlesUpdate< Tvec, SPHKernel >::Kernel = SPHKernel<Tscal>

Definition at line 33 of file SinkParticlesUpdate.hpp.

◆ Sink

template<class Tvec , template< class > class SPHKernel>
using shammodels::sph::modules::SinkParticlesUpdate< Tvec, SPHKernel >::Sink = SinkParticle<Tvec>

Definition at line 42 of file SinkParticlesUpdate.hpp.

◆ Storage

template<class Tvec , template< class > class SPHKernel>
using shammodels::sph::modules::SinkParticlesUpdate< Tvec, SPHKernel >::Storage = SolverStorage<Tvec, u32>

Definition at line 36 of file SinkParticlesUpdate.hpp.

◆ Tscal

template<class Tvec , template< class > class SPHKernel>
using shammodels::sph::modules::SinkParticlesUpdate< Tvec, SPHKernel >::Tscal = shambase::VecComponent<Tvec>

Definition at line 31 of file SinkParticlesUpdate.hpp.

Constructor & Destructor Documentation

◆ SinkParticlesUpdate()

template<class Tvec , template< class > class SPHKernel>
shammodels::sph::modules::SinkParticlesUpdate< Tvec, SPHKernel >::SinkParticlesUpdate ( ShamrockCtx context,
Config solver_config,
Storage storage 
)
inline

Definition at line 44 of file SinkParticlesUpdate.hpp.

Member Function Documentation

◆ accrete_particles()

template<class Tvec , template< class > class SPHKernel>
void shammodels::sph::modules::SinkParticlesUpdate< Tvec, SPHKernel >::accrete_particles ( Tscal  dt)

Definition at line 31 of file SinkParticlesUpdate.cpp.

◆ compute_ext_forces()

template<class Tvec , template< class > class SPHKernel>
void shammodels::sph::modules::SinkParticlesUpdate< Tvec, SPHKernel >::compute_ext_forces ( )

Definition at line 396 of file SinkParticlesUpdate.cpp.

◆ compute_sph_forces()

template<class Tvec , template< class > class SPHKernel>
void shammodels::sph::modules::SinkParticlesUpdate< Tvec, SPHKernel >::compute_sph_forces ( )

Definition at line 296 of file SinkParticlesUpdate.cpp.

◆ corrector_step()

template<class Tvec , template< class > class SPHKernel>
void shammodels::sph::modules::SinkParticlesUpdate< Tvec, SPHKernel >::corrector_step ( Tscal  dt)

Definition at line 280 of file SinkParticlesUpdate.cpp.

◆ predictor_step()

template<class Tvec , template< class > class SPHKernel>
void shammodels::sph::modules::SinkParticlesUpdate< Tvec, SPHKernel >::predictor_step ( Tscal  dt)

Definition at line 250 of file SinkParticlesUpdate.cpp.

Member Data Documentation

◆ context

template<class Tvec , template< class > class SPHKernel>
ShamrockCtx& shammodels::sph::modules::SinkParticlesUpdate< Tvec, SPHKernel >::context

Definition at line 38 of file SinkParticlesUpdate.hpp.

◆ dim

template<class Tvec , template< class > class SPHKernel>
constexpr u32 shammodels::sph::modules::SinkParticlesUpdate< Tvec, SPHKernel >::dim = shambase::VectorProperties<Tvec>::dimension
staticconstexpr

Definition at line 32 of file SinkParticlesUpdate.hpp.

◆ solver_config

template<class Tvec , template< class > class SPHKernel>
Config& shammodels::sph::modules::SinkParticlesUpdate< Tvec, SPHKernel >::solver_config

Definition at line 39 of file SinkParticlesUpdate.hpp.

◆ storage

template<class Tvec , template< class > class SPHKernel>
Storage& shammodels::sph::modules::SinkParticlesUpdate< Tvec, SPHKernel >::storage

Definition at line 40 of file SinkParticlesUpdate.hpp.


The documentation for this class was generated from the following files: