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)
43 using Tscal = shambase::VecComponent<Tvec>;
44 using PatchDataField = ::PatchDataField<Tvec>;
50 explicit SGDirectPlummer(Tscal epsilon,
bool reference_mode =
false)
51 : epsilon(epsilon), reference_mode(reference_mode) {}
53 EXPAND_NODE_EDGES(NODE_EDGES)
std::string _impl_get_tex() const override
get the tex of the node
void _impl_evaluate_internal() override
evaluate the node
std::string _impl_get_label() const override
get the label of 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.