26 template<
class Tvec,
template<
class>
class SPHKernel>
28 using Tscal = shambase::VecComponent<Tvec>;
51 : context(context), parent(parent), Rwarp_(Rwarp), Hwarp_(Hwarp),
52 inclination_(inclination), posangle_(posangle) {}
54 bool is_done() {
return parent->is_done(); }
58 std::string
get_name() {
return "ApplyDiscWarp"; }
std::uint32_t u32
32 bit unsigned integer
This class is an interface that all SPH setup nodes must implement. It describe an operation associat...
bool is_done()
This function return true if the setup is done.
std::string get_name()
Get the name of the node.
shamrock::patch::PatchDataLayer next_n(u32 nmax)
This function generate patchdata with at most nmax per MPI ranks This function is always assumed as c...
ISPHSetupNode_Dot get_dot_subgraph()
Get a dot subgraph describing the node and its childrens (recursively)
PatchDataLayer container class, the layout is described in patchdata_layout.
namespace for the sph model modules
std::shared_ptr< ISPHSetupNode > SetupNodePtr
Alias for a shared pointer to an ISPHSetupNode.
The configuration for a sph solver.
This struct is used to generate a dot graph of the setup tree.