![]() |
Shamrock 2025.10.0
Astrophysical Code
|
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>
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. | |
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).
| T | type of the value stored on each tree node |
Definition at line 33 of file PatchtreeFieldEdge.hpp.
|
inlinevirtual |
Free allocated memory.
Implements shamrock::solvergraph::IFreeable.
Definition at line 48 of file PatchtreeFieldEdge.hpp.
|
inline |
Get the underlying tree field buffer, throws if it is not allocated.
Definition at line 41 of file PatchtreeFieldEdge.hpp.
|
inline |
Definition at line 28 of file IEdgeNamed.hpp.
| shamrock::patch::PatchtreeField<T> shamrock::solvergraph::PatchtreeFieldEdge< T >::patchtree_field |
The field on the patch tree nodes.
Definition at line 38 of file PatchtreeFieldEdge.hpp.