25#define NODE_EDGES(X_RO, X_RW) \
26 X_RO(shamrock::solvergraph::Indexes<u32>, part_counts) \
27 X_RO(shammodels::sph::solvergraph::NeighCache, neigh_cache) \
28 X_RO(shamrock::solvergraph::IFieldSpan<Tvec>, xyz) \
29 X_RO(shamrock::solvergraph::IFieldSpan<Tscal>, hpart)
36 using Tscal = shambase::VecComponent<Tvec>;
41 ComputeNeighStats(Tscal kernel_radius) : kernel_radius(kernel_radius) {}
43 EXPAND_NODE_EDGES(NODE_EDGES)
47 inline virtual std::string
_impl_get_label()
const {
return "ComputeNeighStats"; };
virtual std::string _impl_get_tex() const
get the tex of the node
void _impl_evaluate_internal()
evaluate the node
virtual std::string _impl_get_label() const
get the label of the node
Inode is node between data edges, takes multiple inputs, multiple outputs.
namespace for the sph model modules