![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Collaboration diagram for shammodels::sph::modules::ExternalForces< Tvec, SPHKernel >:Public Types | |
| using | Tscal = shambase::VecComponent< Tvec > |
| using | Kernel = SPHKernel< Tscal > |
| using | Config = SolverConfig< Tvec, SPHKernel > |
| using | Storage = SolverStorage< Tvec, u32 > |
Public Member Functions | |
| ExternalForces (ShamrockCtx &context, Config &solver_config, Storage &storage) | |
| void | compute_ext_forces_indep_v () |
| is ran once per timestep, it computes the forces that are independant of velocity | |
| void | add_ext_forces () |
| add external forces to the particle acceleration, note that forces dependant on velocity shlould be added here | |
| void | point_mass_accrete_particles () |
Public Attributes | |
| ShamrockCtx & | context |
| Config & | solver_config |
| Storage & | storage |
Static Public Attributes | |
| static constexpr u32 | dim = shambase::VectorProperties<Tvec>::dimension |
Definition at line 28 of file ExternalForces.hpp.
| using shammodels::sph::modules::ExternalForces< Tvec, SPHKernel >::Config = SolverConfig<Tvec, SPHKernel> |
Definition at line 34 of file ExternalForces.hpp.
| using shammodels::sph::modules::ExternalForces< Tvec, SPHKernel >::Kernel = SPHKernel<Tscal> |
Definition at line 32 of file ExternalForces.hpp.
| using shammodels::sph::modules::ExternalForces< Tvec, SPHKernel >::Storage = SolverStorage<Tvec, u32> |
Definition at line 35 of file ExternalForces.hpp.
| using shammodels::sph::modules::ExternalForces< Tvec, SPHKernel >::Tscal = shambase::VecComponent<Tvec> |
Definition at line 30 of file ExternalForces.hpp.
|
inline |
Definition at line 41 of file ExternalForces.hpp.
| void shammodels::sph::modules::ExternalForces< Tvec, SPHKernel >::add_ext_forces | ( | ) |
add external forces to the particle acceleration, note that forces dependant on velocity shlould be added here
Definition at line 277 of file ExternalForces.cpp.
Here is the call graph for this function:| void shammodels::sph::modules::ExternalForces< Tvec, SPHKernel >::compute_ext_forces_indep_v | ( | ) |
is ran once per timestep, it computes the forces that are independant of velocity
Definition at line 48 of file ExternalForces.cpp.
Here is the call graph for this function:| void shammodels::sph::modules::ExternalForces< Tvec, SPHKernel >::point_mass_accrete_particles | ( | ) |
Definition at line 539 of file ExternalForces.cpp.
| ShamrockCtx& shammodels::sph::modules::ExternalForces< Tvec, SPHKernel >::context |
Definition at line 37 of file ExternalForces.hpp.
|
staticconstexpr |
Definition at line 31 of file ExternalForces.hpp.
| Config& shammodels::sph::modules::ExternalForces< Tvec, SPHKernel >::solver_config |
Definition at line 38 of file ExternalForces.hpp.
| Storage& shammodels::sph::modules::ExternalForces< Tvec, SPHKernel >::storage |
Definition at line 39 of file ExternalForces.hpp.