![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Inheritance diagram for shammodels::sph::modules::GeneratorMCDisc< Tvec, SPHKernel >:
Collaboration diagram for shammodels::sph::modules::GeneratorMCDisc< Tvec, SPHKernel >:Classes | |
| class | DiscIterator |
Public Member Functions | |
| GeneratorMCDisc (ShamrockCtx &context, Config &solver_config, 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, Tscal init_h_factor) | |
| bool | is_done () |
| This function return true if the setup is done. | |
| shamrock::patch::PatchDataLayer | next_n (u32 nmax) |
| This function generate patchdata with at most nmax per MPI ranks This function is always assumed as called by every ranks simultaneously. | |
| std::string | get_name () |
| Get the name of the node. | |
| ISPHSetupNode_Dot | get_dot_subgraph () |
| Get a dot subgraph describing the node and its childrens (recursively) | |
Public Member Functions inherited from shammodels::sph::modules::ISPHSetupNode | |
| virtual | ~ISPHSetupNode ()=default |
| Virtual destructor for the ISPHSetupNode class. | |
| std::string | get_dot () |
| Generate a dot graph for the setup tree. | |
Definition at line 29 of file GeneratorMCDisc.hpp.
|
inline |
Definition at line 75 of file GeneratorMCDisc.hpp.
|
inlinevirtual |
Get a dot subgraph describing the node and its childrens (recursively)
This function should return a ISPHSetupNode_Dot object which contains all the information needed to generate a dot graph for the node and its children.
Implements shammodels::sph::modules::ISPHSetupNode.
Definition at line 105 of file GeneratorMCDisc.hpp.
Here is the call graph for this function:
|
inlinevirtual |
Get the name of the node.
Implements shammodels::sph::modules::ISPHSetupNode.
Definition at line 104 of file GeneratorMCDisc.hpp.
|
virtual |
This function return true if the setup is done.
Implements shammodels::sph::modules::ISPHSetupNode.
Definition at line 77 of file GeneratorMCDisc.cpp.
|
virtual |
This function generate patchdata with at most nmax per MPI ranks This function is always assumed as called by every ranks simultaneously.
| nmax |
Implements shammodels::sph::modules::ISPHSetupNode.
Definition at line 82 of file GeneratorMCDisc.cpp.
Here is the call graph for this function: