29#include <sycl/sycl.hpp>
36 using Tscal = shambase::VecComponent<Tvec>;
44 : epsilon(epsilon), reference_mode(reference_mode) {}
54 inline void set_edges(
64 inline Edges get_edges() {
66 get_ro_edge<shamrock::solvergraph::Indexes<u32>>(0),
68 get_ro_edge<shamrock::solvergraph::IDataEdge<Tscal>>(2),
70 get_rw_edge<shamrock::solvergraph::FieldRefs<Tvec>>(0)};
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.
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.
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.