29#include <sycl/sycl.hpp>
31#define NODE_EDGES(X_RO, X_RW) \
32 X_RO(shamrock::solvergraph::Indexes<u32>, sizes) \
33 X_RO(shamrock::solvergraph::IDataEdge<Tscal>, gpart_mass) \
34 X_RO(shamrock::solvergraph::IDataEdge<Tscal>, constant_G) \
35 X_RO(shamrock::solvergraph::FieldRefs<Tvec>, field_xyz) \
36 X_RW(shamrock::solvergraph::FieldRefs<Tvec>, field_axyz_ext)
40 template<
class Tvec, u32 mm_order>
43 using Tscal = shambase::VecComponent<Tvec>;
50 explicit SGMMPlummer(Tscal epsilon, Tscal theta_crit,
u32 reduction_level)
51 : epsilon(epsilon), theta_crit(theta_crit), reduction_level(reduction_level) {}
53 EXPAND_NODE_EDGES(NODE_EDGES)
56 std::string
_impl_get_tex()
const override {
return "SG_{\\rm MM, Plummer}"; }
std::uint32_t u32
32 bit unsigned integer
std::string _impl_get_label() const override
get the label of the node
std::string _impl_get_tex() const override
get the tex of the node
void _impl_evaluate_internal() override
evaluate the node
Inode is node between data edges, takes multiple inputs, multiple outputs.
This header file contains utility functions related to exception handling in the code.
namespace for the sph model modules
This file contains the definition for the stacktrace related functionality.