Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
shamrock::solvergraph::PatchtreeFieldEdge< T > Class Template Reference

Edge holding a value per node of the serial patch tree (e.g. a max reduction of a per patch value over the tree hierarchy). More...

#include <shamrock/include/shamrock/solvergraph/PatchtreeFieldEdge.hpp>

Inheritance diagram for shamrock::solvergraph::PatchtreeFieldEdge< T >:
Collaboration diagram for shamrock::solvergraph::PatchtreeFieldEdge< T >:

Public Member Functions

sycl::buffer< T > & get_buf () const
 Get the underlying tree field buffer, throws if it is not allocated.
void free_alloc ()
 Free allocated memory.
 IEdgeNamed (std::string name, std::string texsymbol)
Public Member Functions inherited from shamrock::solvergraph::IEdgeNamed
 IEdgeNamed (std::string name, std::string texsymbol)
virtual std::string _impl_get_dot_label () const
virtual std::string _impl_get_tex_symbol () const
virtual std::string get_raw_tex_symbol () const
Public Member Functions inherited from shamrock::solvergraph::IEdge
 IEdge (const IEdge &)=delete
IEdge & operator= (const IEdge &)=delete
 would duplicate the uuid
 IEdge (IEdge &&) noexcept=default
 would duplicate the uuid
IEdge & operator= (IEdge &&) noexcept=default
std::string get_label () const
std::string get_tex_symbol () const
u64 get_uuid () const
 Get the UUID of the edge.
Public Member Functions inherited from shamrock::solvergraph::IFreeable
virtual ~IFreeable ()
 Virtual destructor.

Public Attributes

shamrock::patch::PatchtreeField< T > patchtree_field
 The field on the patch tree nodes.

Detailed Description

template<class T>
class shamrock::solvergraph::PatchtreeFieldEdge< T >

Edge holding a value per node of the serial patch tree (e.g. a max reduction of a per patch value over the tree hierarchy).

Template Parameters
Ttype of the value stored on each tree node

Definition at line 33 of file PatchtreeFieldEdge.hpp.

Member Function Documentation

◆ free_alloc()

template<class T>
void shamrock::solvergraph::PatchtreeFieldEdge< T >::free_alloc ( )
inlinevirtual

Free allocated memory.

Implements shamrock::solvergraph::IFreeable.

Definition at line 48 of file PatchtreeFieldEdge.hpp.

◆ get_buf()

template<class T>
sycl::buffer< T > & shamrock::solvergraph::PatchtreeFieldEdge< T >::get_buf ( ) const
inline

Get the underlying tree field buffer, throws if it is not allocated.

Definition at line 41 of file PatchtreeFieldEdge.hpp.

Here is the call graph for this function:

◆ IEdgeNamed()

template<class T>
shamrock::solvergraph::IEdgeNamed::IEdgeNamed ( std::string name,
std::string texsymbol )
inline

Definition at line 28 of file IEdgeNamed.hpp.

Member Data Documentation

◆ patchtree_field

The field on the patch tree nodes.

Definition at line 38 of file PatchtreeFieldEdge.hpp.


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