Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Member Functions | List of all members
shammodels::sph::modules::ModifierSplitPart< Tvec > Class Template Reference
+ Inheritance diagram for shammodels::sph::modules::ModifierSplitPart< Tvec >:
+ Collaboration diagram for shammodels::sph::modules::ModifierSplitPart< Tvec >:

Public Member Functions

 ModifierSplitPart (ShamrockCtx &context, SetupNodePtr parent, u64 n_split, u64 seed, Tscal h_scaling=1./1.5)
 
bool is_done () override
 This function return true if the setup is done.
 
shamrock::patch::PatchDataLayer next_n (u32 nmax) override
 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 () override
 Get the name of the node.
 
ISPHSetupNode_Dot get_dot_subgraph () override
 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.
 

Detailed Description

template<class Tvec>
class shammodels::sph::modules::ModifierSplitPart< Tvec >

Definition at line 28 of file ModifierSplitPart.hpp.

Constructor & Destructor Documentation

◆ ModifierSplitPart()

template<class Tvec >
shammodels::sph::modules::ModifierSplitPart< Tvec >::ModifierSplitPart ( ShamrockCtx context,
SetupNodePtr  parent,
u64  n_split,
u64  seed,
Tscal  h_scaling = 1. / 1.5 
)
inline

Definition at line 41 of file ModifierSplitPart.hpp.

Member Function Documentation

◆ get_dot_subgraph()

template<class Tvec >
ISPHSetupNode_Dot shammodels::sph::modules::ModifierSplitPart< Tvec >::get_dot_subgraph ( )
inlineoverridevirtual

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.

Returns
A ISPHSetupNode_Dot object

Implements shammodels::sph::modules::ISPHSetupNode.

Definition at line 60 of file ModifierSplitPart.hpp.

+ Here is the call graph for this function:

◆ get_name()

template<class Tvec >
std::string shammodels::sph::modules::ModifierSplitPart< Tvec >::get_name ( )
inlineoverridevirtual

Get the name of the node.

Returns
The name of the node

Implements shammodels::sph::modules::ISPHSetupNode.

Definition at line 59 of file ModifierSplitPart.hpp.

◆ is_done()

template<class Tvec >
bool shammodels::sph::modules::ModifierSplitPart< Tvec >::is_done ( )
inlineoverridevirtual

This function return true if the setup is done.

Returns
true if done, false otherwise

Implements shammodels::sph::modules::ISPHSetupNode.

Definition at line 55 of file ModifierSplitPart.hpp.

◆ next_n()

template<class Tvec >
shamrock::patch::PatchDataLayer shammodels::sph::modules::ModifierSplitPart< Tvec >::next_n ( u32  nmax)
overridevirtual

This function generate patchdata with at most nmax per MPI ranks This function is always assumed as called by every ranks simultaneously.

Parameters
nmax
Returns
shamrock::patch::PatchData

Implements shammodels::sph::modules::ISPHSetupNode.

Definition at line 23 of file ModifierSplitPart.cpp.

+ Here is the call graph for this function:

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