![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Interface for a solver graph edge representing a field as references to the underlying patch fields. More...
#include <shamrock/include/shamrock/solvergraph/IFieldRefs.hpp>
Public Member Functions | |
| virtual DDPatchDataFieldRef< T > & | get_refs ()=0 |
| Get the DistributedData of PatchDataFieldRefs. | |
| virtual const DDPatchDataFieldRef< T > & | get_refs () const =0 |
| Const variant of get_refs. | |
| PatchDataField< T > & | get_field (u64 id) const |
| Get the underlying PatchDataField at the given id. | |
| Public Member Functions inherited from shamrock::solvergraph::IFieldSpan< T > | |
| virtual DDPatchDataFieldSpanPointer< T > & | get_spans ()=0 |
| Get the DistributedData of spans attached to the underlying field. | |
| virtual const DDPatchDataFieldSpanPointer< T > & | get_spans () const =0 |
| Const variant of get_spans. | |
| virtual void | check_sizes (const shambase::DistributedData< u32 > &sizes) const =0 |
| Check that the sizes of the patches in the field match the given sizes. | |
| virtual void | ensure_sizes (const shambase::DistributedData< u32 > &sizes)=0 |
| Ensure that the sizes of the patches in the field match the given sizes (Can resize the underlying fields). | |
| 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 void | free_alloc ()=0 |
| Free allocated memory. | |
| virtual | ~IFreeable () |
| Virtual destructor. | |
Interface for a solver graph edge representing a field as references to the underlying patch fields.
A field refer to a field that is distributed over several patches.
| T | The primitive type of the field |
Definition at line 43 of file IFieldRefs.hpp.
|
inline |
Get the underlying PatchDataField at the given id.
Definition at line 54 of file IFieldRefs.hpp.
|
pure virtual |
Const variant of get_refs.
Implemented in shamrock::solvergraph::Field< T >, and shamrock::solvergraph::FieldRefs< T >.
|
pure virtual |
Get the DistributedData of PatchDataFieldRefs.
Implemented in shamrock::solvergraph::Field< T >, shamrock::solvergraph::FieldRefs< T >, and shamrock::solvergraph::FieldRefs< TgridVec >.