30 using Tscal = shambase::VecComponent<Tvec>;
44 inline void set_edges(
46 std::shared_ptr<shammodels::sph::solvergraph::NeighCache> neigh_cache,
53 inline Edges get_edges() {
55 get_ro_edge<shamrock::solvergraph::Indexes<u32>>(0),
56 get_ro_edge<shammodels::sph::solvergraph::NeighCache>(1),
57 get_ro_edge<shamrock::solvergraph::IFieldSpan<Tvec>>(2),
64 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
Interface for a solver graph edge representing a field as spans.
Inode is node between data edges, takes multiple inputs, multiple outputs.
void __internal_set_rw_edges(std::vector< std::shared_ptr< IEdge > > new_rw_edges)
Set the read write edges.
void __internal_set_ro_edges(std::vector< std::shared_ptr< IEdge > > new_ro_edges)
Set the read only edges.
const T & get_ro_edge(int slot)
Get a read only edge and cast it to the type T.
namespace for the sph model modules