26 template<
class Tgr
idVec>
28 using Tgridscal = shambase::VecComponent<TgridVec>;
29 using TgridUint =
typename std::make_unsigned<shambase::VecComponent<TgridVec>>::type;
42 inline void set_edges(
52 inline Edges get_edges() {
54 get_ro_edge<shamrock::solvergraph::Indexes<u32>>(0),
56 get_ro_edge<shamrock::solvergraph::IFieldSpan<TgridVec>>(2),
58 get_rw_edge<shamrock::solvergraph::IFieldSpan<TgridUint>>(0)};
63 void _impl_reset_internal() {};
virtual std::string _impl_get_label() const
get the label of the node
virtual std::string _impl_get_tex() const
get the tex of the node
void _impl_evaluate_internal()
evaluate 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 basegodunov model modules