Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
shammodels::gsph::solvergraph::GhostHandlerEdge< Tvec > Class Template Reference

SolverGraph edge for GSPH ghost handler. More...

#include <shammodels/gsph/include/shammodels/gsph/solvergraph/GhostHandlerEdge.hpp>

+ Inheritance diagram for shammodels::gsph::solvergraph::GhostHandlerEdge< Tvec >:
+ Collaboration diagram for shammodels::gsph::solvergraph::GhostHandlerEdge< Tvec >:

Public Types

using GhostHandle = GSPHGhostHandler< Tvec >
 

Public Member Functions

GhostHandleget ()
 
const GhostHandleget () const
 
bool has_value () const
 
void set (GhostHandle &&h)
 
virtual void free_alloc () override
 Free the allocated handler.
 
- 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
 
- Public Member Functions inherited from shamrock::solvergraph::IEdge
std::string get_label () const
 
std::string get_tex_symbol () const
 
- Public Member Functions inherited from shambase::WithUUID< IEdge, u64 >
u64 get_uuid () const
 Get the uuid of the class.
 
 WithUUID ()
 Constructor of the class.
 
- Public Member Functions inherited from shamrock::solvergraph::IFreeable
virtual ~IFreeable ()
 Virtual destructor.
 

Public Attributes

std::optional< GhostHandlehandler
 

Additional Inherited Members

- Protected Attributes inherited from shambase::WithUUID< IEdge, u64 >
u64 uuid
 The unique identifier of the class.
 

Detailed Description

template<class Tvec>
class shammodels::gsph::solvergraph::GhostHandlerEdge< Tvec >

SolverGraph edge for GSPH ghost handler.

Definition at line 28 of file GhostHandlerEdge.hpp.

Member Typedef Documentation

◆ GhostHandle

template<class Tvec >
using shammodels::gsph::solvergraph::GhostHandlerEdge< Tvec >::GhostHandle = GSPHGhostHandler<Tvec>

Definition at line 31 of file GhostHandlerEdge.hpp.

Member Function Documentation

◆ free_alloc()

template<class Tvec >
virtual void shammodels::gsph::solvergraph::GhostHandlerEdge< Tvec >::free_alloc ( )
inlineoverridevirtual

Free the allocated handler.

Implements shamrock::solvergraph::IFreeable.

Definition at line 57 of file GhostHandlerEdge.hpp.

◆ get() [1/2]

template<class Tvec >
GhostHandle & shammodels::gsph::solvergraph::GhostHandlerEdge< Tvec >::get ( )
inline

Definition at line 35 of file GhostHandlerEdge.hpp.

◆ get() [2/2]

template<class Tvec >
const GhostHandle & shammodels::gsph::solvergraph::GhostHandlerEdge< Tvec >::get ( ) const
inline

Definition at line 42 of file GhostHandlerEdge.hpp.

◆ has_value()

template<class Tvec >
bool shammodels::gsph::solvergraph::GhostHandlerEdge< Tvec >::has_value ( ) const
inline

Definition at line 49 of file GhostHandlerEdge.hpp.

◆ set()

template<class Tvec >
void shammodels::gsph::solvergraph::GhostHandlerEdge< Tvec >::set ( GhostHandle &&  h)
inline

Definition at line 51 of file GhostHandlerEdge.hpp.

Member Data Documentation

◆ handler

template<class Tvec >
std::optional<GhostHandle> shammodels::gsph::solvergraph::GhostHandlerEdge< Tvec >::handler

Definition at line 33 of file GhostHandlerEdge.hpp.


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