Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Member Functions | List of all members
shammodels::sph::modules::GeneratorMCDisc< Tvec, SPHKernel >::DiscIterator Class Reference

Public Member Functions

 DiscIterator (Tscal part_mass, Tscal disc_mass, Tscal r_in, Tscal r_out, std::function< Tscal(Tscal)> sigma_profile, std::function< Tscal(Tscal)> H_profile, std::function< Tscal(Tscal)> rot_profile, std::function< Tscal(Tscal)> cs_profile, std::mt19937_64 eng)
 
 DiscIterator (Tscal part_mass, Tscal disc_mass, Tscal r_in, Tscal r_out, std::function< Tscal(Tscal)> sigma_profile, std::function< Tscal(Tscal)> H_profile, std::function< Tscal(Tscal)> rot_profile, std::function< Tscal(Tscal)> cs_profile, std::mt19937_64 eng, u64 Npart)
 
bool is_done ()
 
std::vector< DiscOutput > next_n (u64 nmax)
 

Detailed Description

template<class Tvec, template< class > class SPHKernel>
class shammodels::sph::modules::GeneratorMCDisc< Tvec, SPHKernel >::DiscIterator

Definition at line 111 of file GeneratorMCDisc.hpp.

Constructor & Destructor Documentation

◆ DiscIterator() [1/2]

template<class Tvec , template< class > class SPHKernel>
shammodels::sph::modules::GeneratorMCDisc< Tvec, SPHKernel >::DiscIterator::DiscIterator ( Tscal  part_mass,
Tscal  disc_mass,
Tscal  r_in,
Tscal  r_out,
std::function< Tscal(Tscal)>  sigma_profile,
std::function< Tscal(Tscal)>  H_profile,
std::function< Tscal(Tscal)>  rot_profile,
std::function< Tscal(Tscal)>  cs_profile,
std::mt19937_64  eng 
)
inline

Definition at line 136 of file GeneratorMCDisc.hpp.

◆ DiscIterator() [2/2]

template<class Tvec , template< class > class SPHKernel>
shammodels::sph::modules::GeneratorMCDisc< Tvec, SPHKernel >::DiscIterator::DiscIterator ( Tscal  part_mass,
Tscal  disc_mass,
Tscal  r_in,
Tscal  r_out,
std::function< Tscal(Tscal)>  sigma_profile,
std::function< Tscal(Tscal)>  H_profile,
std::function< Tscal(Tscal)>  rot_profile,
std::function< Tscal(Tscal)>  cs_profile,
std::mt19937_64  eng,
u64  Npart 
)
inline

Definition at line 158 of file GeneratorMCDisc.hpp.

Member Function Documentation

◆ is_done()

template<class Tvec , template< class > class SPHKernel>
bool shammodels::sph::modules::GeneratorMCDisc< Tvec, SPHKernel >::DiscIterator::is_done ( )
inline

Definition at line 187 of file GeneratorMCDisc.hpp.

◆ next_n()

template<class Tvec , template< class > class SPHKernel>
std::vector< DiscOutput > shammodels::sph::modules::GeneratorMCDisc< Tvec, SPHKernel >::DiscIterator::next_n ( u64  nmax)
inline

Definition at line 191 of file GeneratorMCDisc.hpp.


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