![]() |
Shamrock 2025.10.0
Astrophysical Code
|
This class is an interface that all SPH setup nodes must implement. It describe an operation associated to a node in the setup tree. More...
#include <shammodels/sph/include/shammodels/sph/modules/setup/ISPHSetupNode.hpp>
Inheritance diagram for shammodels::sph::modules::ISPHSetupNode:Public Member Functions | |
| virtual bool | is_done ()=0 |
| This function return true if the setup is done. | |
| virtual shamrock::patch::PatchDataLayer | next_n (u32 nmax)=0 |
| This function generate patchdata with at most nmax per MPI ranks This function is always assumed as called by every ranks simultaneously. | |
| virtual std::string | get_name ()=0 |
| Get the name of the node. | |
| virtual ISPHSetupNode_Dot | get_dot_subgraph ()=0 |
| Get a dot subgraph describing the node and its childrens (recursively) | |
| virtual | ~ISPHSetupNode ()=default |
| Virtual destructor for the ISPHSetupNode class. | |
| std::string | get_dot () |
| Generate a dot graph for the setup tree. | |
This class is an interface that all SPH setup nodes must implement. It describe an operation associated to a node in the setup tree.
Definition at line 74 of file ISPHSetupNode.hpp.
|
inline |
Generate a dot graph for the setup tree.
This function returns a string containing a dot graph that describes the setup tree.
Definition at line 122 of file ISPHSetupNode.hpp.
Here is the call graph for this function:
|
pure virtual |
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.
Implemented in shammodels::sph::modules::CombinerAdd< Tvec >, shammodels::sph::modules::GeneratorFromOtherContext< Tvec >, shammodels::sph::modules::GeneratorLatticeCubic< Tvec >, shammodels::sph::modules::GeneratorLatticeHCP< Tvec, Discontinuous >, shammodels::sph::modules::GeneratorMCDisc< Tvec, SPHKernel >, shammodels::sph::modules::ModifierApplyCustomWarp< Tvec, SPHKernel >, shammodels::sph::modules::ModifierApplyDiscWarp< Tvec, SPHKernel >, shammodels::sph::modules::ModifierFilter< Tvec, SPHKernel >, shammodels::sph::modules::ModifierOffset< Tvec >, and shammodels::sph::modules::ModifierSplitPart< Tvec >.
|
pure virtual |
Get the name of the node.
Implemented in shammodels::sph::modules::CombinerAdd< Tvec >, shammodels::sph::modules::GeneratorFromOtherContext< Tvec >, shammodels::sph::modules::GeneratorLatticeCubic< Tvec >, shammodels::sph::modules::GeneratorLatticeHCP< Tvec, Discontinuous >, shammodels::sph::modules::GeneratorMCDisc< Tvec, SPHKernel >, shammodels::sph::modules::ModifierApplyCustomWarp< Tvec, SPHKernel >, shammodels::sph::modules::ModifierApplyDiscWarp< Tvec, SPHKernel >, shammodels::sph::modules::ModifierFilter< Tvec, SPHKernel >, shammodels::sph::modules::ModifierOffset< Tvec >, and shammodels::sph::modules::ModifierSplitPart< Tvec >.
|
pure virtual |
This function return true if the setup is done.
Implemented in shammodels::sph::modules::CombinerAdd< Tvec >, shammodels::sph::modules::GeneratorFromOtherContext< Tvec >, shammodels::sph::modules::GeneratorLatticeCubic< Tvec >, shammodels::sph::modules::GeneratorLatticeHCP< Tvec, Discontinuous >, shammodels::sph::modules::GeneratorMCDisc< Tvec, SPHKernel >, shammodels::sph::modules::ModifierApplyCustomWarp< Tvec, SPHKernel >, shammodels::sph::modules::ModifierApplyDiscWarp< Tvec, SPHKernel >, shammodels::sph::modules::ModifierFilter< Tvec, SPHKernel >, shammodels::sph::modules::ModifierOffset< Tvec >, and shammodels::sph::modules::ModifierSplitPart< Tvec >.
|
pure virtual |
This function generate patchdata with at most nmax per MPI ranks This function is always assumed as called by every ranks simultaneously.
| nmax |
Implemented in shammodels::sph::modules::CombinerAdd< Tvec >, shammodels::sph::modules::GeneratorFromOtherContext< Tvec >, shammodels::sph::modules::GeneratorLatticeCubic< Tvec >, shammodels::sph::modules::GeneratorLatticeHCP< Tvec, Discontinuous >, shammodels::sph::modules::GeneratorMCDisc< Tvec, SPHKernel >, shammodels::sph::modules::ModifierApplyCustomWarp< Tvec, SPHKernel >, shammodels::sph::modules::ModifierApplyDiscWarp< Tvec, SPHKernel >, shammodels::sph::modules::ModifierFilter< Tvec, SPHKernel >, shammodels::sph::modules::ModifierOffset< Tvec >, and shammodels::sph::modules::ModifierSplitPart< Tvec >.