Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Member Functions | List of all members
shammodels::sph::modules::ISPHSetupNode Class Referenceabstract

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.
 

Detailed Description

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.

Member Function Documentation

◆ get_dot()

std::string shammodels::sph::modules::ISPHSetupNode::get_dot ( )
inline

Generate a dot graph for the setup tree.

This function returns a string containing a dot graph that describes the setup tree.

Returns
A string containing a dot graph

Definition at line 122 of file ISPHSetupNode.hpp.

+ Here is the call graph for this function:

◆ get_dot_subgraph()

virtual ISPHSetupNode_Dot shammodels::sph::modules::ISPHSetupNode::get_dot_subgraph ( )
pure virtual

◆ get_name()

virtual std::string shammodels::sph::modules::ISPHSetupNode::get_name ( )
pure virtual

◆ is_done()

virtual bool shammodels::sph::modules::ISPHSetupNode::is_done ( )
pure virtual

◆ next_n()

virtual shamrock::patch::PatchDataLayer shammodels::sph::modules::ISPHSetupNode::next_n ( u32  nmax)
pure virtual

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