![]() |
Shamrock 2025.10.0
Astrophysical Code
|
This struct is used to generate a dot graph of the setup tree. More...
#include <shammodels/sph/include/shammodels/sph/modules/setup/ISPHSetupNode.hpp>
Collaboration diagram for shammodels::sph::modules::ISPHSetupNode_Dot:Public Member Functions | |
| u32 | add_node (u32 &counter, std::string &out) |
| This function generate a dot graph for the setup tree. | |
Public Attributes | |
| std::string | name |
| u32 | type |
| std::vector< ISPHSetupNode_Dot > | inputs |
This struct is used to generate a dot graph of the setup tree.
It is composed of a name, a type and a vector of inputs.
Definition at line 31 of file ISPHSetupNode.hpp.
|
inline |
This function generate a dot graph for the setup tree.
This function is used to generate a dot graph that describes the setup tree. It takes a counter and a string as input, and update the counter and the string to generate the dot graph.
| counter | a counter that is used to generate the node id in the dot graph |
| out | the string that will be updated to contain the dot graph |
Definition at line 48 of file ISPHSetupNode.hpp.
| std::vector<ISPHSetupNode_Dot> shammodels::sph::modules::ISPHSetupNode_Dot::inputs |
Definition at line 34 of file ISPHSetupNode.hpp.
| std::string shammodels::sph::modules::ISPHSetupNode_Dot::name |
Definition at line 32 of file ISPHSetupNode.hpp.
| u32 shammodels::sph::modules::ISPHSetupNode_Dot::type |
Definition at line 33 of file ISPHSetupNode.hpp.