28 template<
class Tvec,
template<
class>
class SPHKernel>
31 using Tscal = shambase::VecComponent<Tvec>;
37 NodeComputeLuminosity(Tscal part_mass, Tscal alpha_u)
38 : part_mass(part_mass), alpha_u(alpha_u) {}
51 inline void set_edges(
53 std::shared_ptr<shammodels::sph::solvergraph::NeighCache> neigh_cache,
64 inline Edges get_edges() {
78 inline virtual std::string
_impl_get_label()
const {
return "ComputeLuminosity"; };
virtual std::string _impl_get_tex() const
get the tex of the node
virtual std::string _impl_get_label() const
get the label 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.
T & get_rw_edge(int slot)
Get a read write edge and cast it to the type T.
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