Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
shamrock::solvergraph::DistributedBuffers< T > Class Template Reference

Interface for a solver graph edge representing a field as spans. More...

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

+ Inheritance diagram for shamrock::solvergraph::DistributedBuffers< T >:
+ Collaboration diagram for shamrock::solvergraph::DistributedBuffers< T >:

Public Member Functions

virtual void free_alloc ()
 Free allocated memory.
 
virtual void check_allocated (const std::vector< u64 > &ids) const
 
virtual void ensure_allocated (const std::vector< u64 > &ids)
 
 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
 
- 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

DDDeviceBuffer< T > buffers
 

Additional Inherited Members

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

Detailed Description

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

Interface for a solver graph edge representing a field as spans.

Here a field refer to a field that is distributed over several patches.

Template Parameters
TThe primitive type of the field

Definition at line 39 of file DistributedBuffers.hpp.

Member Function Documentation

◆ check_allocated()

template<class T >
virtual void shamrock::solvergraph::DistributedBuffers< T >::check_allocated ( const std::vector< u64 > &  ids) const
inlinevirtual

Definition at line 47 of file DistributedBuffers.hpp.

◆ ensure_allocated()

template<class T >
virtual void shamrock::solvergraph::DistributedBuffers< T >::ensure_allocated ( const std::vector< u64 > &  ids)
inlinevirtual

Definition at line 63 of file DistributedBuffers.hpp.

◆ free_alloc()

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

Free allocated memory.

Implements shamrock::solvergraph::IFreeable.

Definition at line 45 of file DistributedBuffers.hpp.

◆ 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

◆ buffers

template<class T >
DDDeviceBuffer<T> shamrock::solvergraph::DistributedBuffers< T >::buffers

Definition at line 43 of file DistributedBuffers.hpp.


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