Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
shammodels::basegodunov::modules::InterpolateToFaceVelDust< Tvec, TgridVec > Class Template Reference
+ Inheritance diagram for shammodels::basegodunov::modules::InterpolateToFaceVelDust< Tvec, TgridVec >:
+ Collaboration diagram for shammodels::basegodunov::modules::InterpolateToFaceVelDust< Tvec, TgridVec >:

Classes

struct  Edges
 

Public Member Functions

 InterpolateToFaceVelDust (u32 block_size, u32 ndust)
 
void set_edges (std::shared_ptr< shamrock::solvergraph::ScalarEdge< Tscal > > dt_interp, std::shared_ptr< solvergraph::OrientedAMRGraphEdge< Tvec, TgridVec > > cell_neigh_graph, std::shared_ptr< shamrock::solvergraph::IFieldSpan< Tscal > > spans_block_cell_sizes, std::shared_ptr< shamrock::solvergraph::IFieldSpan< Tvec > > spans_cell0block_aabb_lower, std::shared_ptr< shamrock::solvergraph::IFieldSpan< Tscal > > spans_rhos_dust, std::shared_ptr< shamrock::solvergraph::IFieldSpan< Tvec > > spans_vel_dust, std::shared_ptr< shamrock::solvergraph::IFieldSpan< Tvec > > spans_dx_vel_dust, std::shared_ptr< shamrock::solvergraph::IFieldSpan< Tvec > > spans_dy_vel_dust, std::shared_ptr< shamrock::solvergraph::IFieldSpan< Tvec > > spans_dz_vel_dust, std::shared_ptr< solvergraph::NeighGraphLinkFieldEdge< std::array< Tvec, 2 > > > &vel_dust_face_xp, std::shared_ptr< solvergraph::NeighGraphLinkFieldEdge< std::array< Tvec, 2 > > > &vel_dust_face_xm, std::shared_ptr< solvergraph::NeighGraphLinkFieldEdge< std::array< Tvec, 2 > > > &vel_dust_face_yp, std::shared_ptr< solvergraph::NeighGraphLinkFieldEdge< std::array< Tvec, 2 > > > &vel_dust_face_ym, std::shared_ptr< solvergraph::NeighGraphLinkFieldEdge< std::array< Tvec, 2 > > > &vel_dust_face_zp, std::shared_ptr< solvergraph::NeighGraphLinkFieldEdge< std::array< Tvec, 2 > > > &vel_dust_face_zm)
 
Edges get_edges ()
 
void _impl_evaluate_internal ()
 evaluate the node
 
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
 
- Public Member Functions inherited from shamrock::solvergraph::INode
 INode (const INode &)=delete
 
INodeoperator= (const INode &)=delete
 would violate shared_from_this() & unique UUID
 
 INode (INode &&) noexcept=default
 would violate shared_from_this() & unique UUID
 
INodeoperator= (INode &&) noexcept=default
 Move assignment - automatically delegates to base classes and members.
 
std::shared_ptr< INodegetptr_shared ()
 Get a shared pointer to this node.
 
std::weak_ptr< INodegetptr_weak ()
 Get a weak pointer to this node.
 
std::vector< std::shared_ptr< IEdge > > & get_ro_edges ()
 Get the read only edges.
 
std::vector< std::shared_ptr< IEdge > > & get_rw_edges ()
 Get the read write edges.
 
void __internal_set_ro_edges (std::vector< std::shared_ptr< IEdge > > new_ro_edges)
 Set the read only edges.
 
void __internal_set_rw_edges (std::vector< std::shared_ptr< IEdge > > new_rw_edges)
 Set the read write edges.
 
template<class Func >
void on_edge_ro_edges (Func &&f)
 Apply a function to the read only edges.
 
template<class Func >
void on_edge_rw_edges (Func &&f)
 Apply a function to the read write edges.
 
virtual ~INode ()
 Destructor (virtual) & reset the edges.
 
template<class T >
const T & get_ro_edge (int slot)
 Get a read only edge and cast it to the type T.
 
template<class T >
T & get_rw_edge (int slot)
 Get a read write edge and cast it to the type T.
 
const IEdgeget_ro_edge_base (int slot)
 Get a reference to a read only edge.
 
const IEdgeget_ro_edge_base (int slot) const
 
IEdgeget_rw_edge_base (int slot)
 Get a reference to a read write edge and cast it to the type IEdge.
 
const IEdgeget_rw_edge_base (int slot) const
 
void evaluate ()
 Evaluate the node.
 
std::string get_dot_graph ()
 Get the dot graph of the node (Currently only an alias to get_dot_graph_partial)
 
std::string get_dot_graph_partial ()
 Get the dot graph of the subgraph corresponding to the node.
 
std::string get_dot_graph_node_start ()
 Get the id of the node start in the dot graph.
 
std::string get_dot_graph_node_end ()
 Get the id of the node end in the dot graph.
 
std::string get_tex ()
 Get the TeX of the node.
 
std::string get_tex_partial ()
 Get the TeX of the node partial.
 
virtual std::string print_node_info () const
 print the node info
 
- Public Member Functions inherited from shambase::WithUUID< INode, u64 >
u64 get_uuid () const
 Get the uuid of the class.
 
 WithUUID ()
 Constructor of the class.
 

Additional Inherited Members

- Protected Member Functions inherited from shamrock::solvergraph::INode
virtual std::string _impl_get_dot_graph_partial () const
 get the dot graph of the node partial
 
virtual std::string _impl_get_dot_graph_node_start () const
 get the dot graph of the node start
 
virtual std::string _impl_get_dot_graph_node_end () const
 get the dot graph of the node end
 
- Protected Attributes inherited from shambase::WithUUID< INode, u64 >
u64 uuid
 The unique identifier of the class.
 

Detailed Description

template<class Tvec, class TgridVec>
class shammodels::basegodunov::modules::InterpolateToFaceVelDust< Tvec, TgridVec >

Definition at line 458 of file InterpolateToFace.hpp.

Constructor & Destructor Documentation

◆ InterpolateToFaceVelDust()

template<class Tvec , class TgridVec >
shammodels::basegodunov::modules::InterpolateToFaceVelDust< Tvec, TgridVec >::InterpolateToFaceVelDust ( u32  block_size,
u32  ndust 
)
inline

Definition at line 467 of file InterpolateToFace.hpp.

Member Function Documentation

◆ _impl_evaluate_internal()

template<class Tvec , class TgridVec >
void shammodels::basegodunov::modules::InterpolateToFaceVelDust< Tvec, TgridVec >::_impl_evaluate_internal ( )
virtual

evaluate the node

Implements shamrock::solvergraph::INode.

Definition at line 1303 of file InterpolateToFace.cpp.

+ Here is the call graph for this function:

◆ _impl_get_label()

template<class Tvec , class TgridVec >
virtual std::string shammodels::basegodunov::modules::InterpolateToFaceVelDust< Tvec, TgridVec >::_impl_get_label ( ) const
inlinevirtual

get the label of the node

Implements shamrock::solvergraph::INode.

Definition at line 557 of file InterpolateToFace.hpp.

◆ _impl_get_tex()

template<class Tvec , class TgridVec >
std::string shammodels::basegodunov::modules::InterpolateToFaceVelDust< Tvec, TgridVec >::_impl_get_tex ( ) const
virtual

get the tex of the node

Implements shamrock::solvergraph::INode.

Definition at line 1475 of file InterpolateToFace.cpp.

◆ get_edges()

template<class Tvec , class TgridVec >
Edges shammodels::basegodunov::modules::InterpolateToFaceVelDust< Tvec, TgridVec >::get_edges ( )
inline

Definition at line 535 of file InterpolateToFace.hpp.

◆ set_edges()

template<class Tvec , class TgridVec >
void shammodels::basegodunov::modules::InterpolateToFaceVelDust< Tvec, TgridVec >::set_edges ( std::shared_ptr< shamrock::solvergraph::ScalarEdge< Tscal > >  dt_interp,
std::shared_ptr< solvergraph::OrientedAMRGraphEdge< Tvec, TgridVec > >  cell_neigh_graph,
std::shared_ptr< shamrock::solvergraph::IFieldSpan< Tscal > >  spans_block_cell_sizes,
std::shared_ptr< shamrock::solvergraph::IFieldSpan< Tvec > >  spans_cell0block_aabb_lower,
std::shared_ptr< shamrock::solvergraph::IFieldSpan< Tscal > >  spans_rhos_dust,
std::shared_ptr< shamrock::solvergraph::IFieldSpan< Tvec > >  spans_vel_dust,
std::shared_ptr< shamrock::solvergraph::IFieldSpan< Tvec > >  spans_dx_vel_dust,
std::shared_ptr< shamrock::solvergraph::IFieldSpan< Tvec > >  spans_dy_vel_dust,
std::shared_ptr< shamrock::solvergraph::IFieldSpan< Tvec > >  spans_dz_vel_dust,
std::shared_ptr< solvergraph::NeighGraphLinkFieldEdge< std::array< Tvec, 2 > > > &  vel_dust_face_xp,
std::shared_ptr< solvergraph::NeighGraphLinkFieldEdge< std::array< Tvec, 2 > > > &  vel_dust_face_xm,
std::shared_ptr< solvergraph::NeighGraphLinkFieldEdge< std::array< Tvec, 2 > > > &  vel_dust_face_yp,
std::shared_ptr< solvergraph::NeighGraphLinkFieldEdge< std::array< Tvec, 2 > > > &  vel_dust_face_ym,
std::shared_ptr< solvergraph::NeighGraphLinkFieldEdge< std::array< Tvec, 2 > > > &  vel_dust_face_zp,
std::shared_ptr< solvergraph::NeighGraphLinkFieldEdge< std::array< Tvec, 2 > > > &  vel_dust_face_zm 
)
inline

Definition at line 491 of file InterpolateToFace.hpp.


The documentation for this class was generated from the following files: